SE-3910 Real-time Systems Week 9, Classes 1 and 2 – Announcement* (regexp style) – Significance Testing – Failure statistics – Data flow diagrams SE-3910.

Slides:



Advertisements
Similar presentations
Sampling: Final and Initial Sample Size Determination
Advertisements

Hypothesis testing Week 10 Lecture 2.
ONE SAMPLE t-TEST FOR THE MEAN OF THE NORMAL DISTRIBUTION Let sample from N(μ, σ), μ and σ unknown, estimate σ using s. Let significance level =α. STEP.
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Sample size computations Petter Mostad
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing: Type II Error and Power.
Process Modeling Fundamentals. Three Ways to Understand a System By its processes What are the systems main processes? What are the systems main processes?
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Statistics 270– Lecture 25. Cautions about Z-Tests Data must be a random sample Outliers can distort results Shape of the population distribution matters.
AM Recitation 2/10/11.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
Structuring system requirements: process modeling Chapter 8.
SDLC Phase II: Structuring System Requirements IS 582 Dr. Dania Bilal Spring 2008.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
Dan Piett STAT West Virginia University
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Chapter 7 Estimation. Section 7.3 Estimating p in the Binomial Distribution.
Population: a data set representing the entire entity of interest - What is a population? Sample: a data set representing a portion of a population Population.
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
Chapter 9 Part C. III. One-Tailed Tests B. P-values Using p-values is another approach to conducting a hypothesis test, yielding the same result. In general:
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Review of the Binomial Distribution Completely determined by the number of trials (n) and the probability of success (p) in a single trial. q = 1 – p If.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
SE-1021 Software Engineering II Week 8, Class 1 Return Exam Producing UML diagrams automatically in EA Poll Everywhere Files Tomorrow Week 6 HW due (if.
SE-1021 Software Engineering II Week 5, Class 2 Why my computer crashed Layouts Multiple action listeners Single actionPerformed method – distinguishing.
SE-3910 Real-time Systems Week 5, Class 1 – Quick-Quiz (Ungraded) – Lab 4 turn-in up - due Tuesday, Week 5 – Select when to use Polling or Interrupts –
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Confidence Intervals Chapter 6. § 6.3 Confidence Intervals for Population Proportions.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
AP Statistics Section 11.1 B More on Significance Tests.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
SE-3910 Real-time Systems Week 9, Classes 1 and 2 – Announcement* (regexp style) – Significance Testing – Failure statistics – Structured Analysis & Design.
Structuring User Requirements IS 592 Dr. Dania Bilal Spring 2005.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Data Flow Diagrams Slide 1. Key Definitions Data flow diagramming shows business processes and the data that flows between them Slide 2.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
AP STATISTICS LESSON 11 – 1 (DAY 2) The t Confidence Intervals and Tests.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
SE3910 Week 8, Class 2 Week 4 Lab: Please return your graded Lab 4 to me so I can enter it in my gradebook Week 7, Class 2 (Wednesday) Half-Exam 2 Done.
CS-2852 Data Structures Week 5, Class 3 – Testing and Recursion Queue Implementing finite queues Binary Search Recursion Tomorrow – Quiz, Lab demos, Lab.
Chapter Eight Estimation.
Slide style: Dr. Hornick
SDLC Phase III: Structuring System Requirements
تحلیل سیستم‌ها مدل‌سازی پردازشی.
SE-1021 Software Engineering II
Problems: Q&A chapter 6, problems Chapter 6:
The Flow Model REVIEW : Every computer-based system is an
Statistical inference
Statistical Inference
Chapter 8: Estimating with Confidence
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Polling vs. Interrupts CS2852 4/9/2019
Presentation transcript:

SE-3910 Real-time Systems Week 9, Classes 1 and 2 – Announcement* (regexp style) – Significance Testing – Failure statistics – Data flow diagrams SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from Dr. Hornick, etc. 1

3-Question Review Quiz ZC-L5 ZC-L5 (See following slides for source material) SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 2

Normal Distribution SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 3

Normal Distribution (alternate) SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 4 examples-definition-characteristics.html#lesson

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 5

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 6 ble.pdf

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 7

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 8

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 9

Determining if two processes are “significantly” different SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 10

In-Class Example Suppose two processes have measured means of 12s and 13s runtime (measured from 8 samples each), and we know the standard deviation ACTUALLY IS 1 s. – Construct a statistic for determining if this is significant – Provide a confidence interval on said statistic with p=0.01 – What is the p-value for this result? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 11

Zoomed-in t table SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 12

Modified process (1) Suppose we don’t know what the standard deviation is… – What do we do? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 13

Modified process (2) What do we do? (if we don’t know the true std.) – Estimate it! – But there is a side-effect. Our estimate has some error as well. – This increases the size of our confidence interval. – By how much? Enter the t-test! 14

Modified process (3) SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 15

Zoomed-in t table SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 16

In-Class Activity Suppose two processes have a mean of 12.5 ms and 15ms runtime (with 5 samples for each), and we know the standard deviation ACTUALLY IS 2 ms Is this significant at the p = 0.01 level? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 17

Example An airplane software system has a failure probability of failures per hour. What is the probability of reliable operation for a 10 hour flight? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 18

Example An airplane software system has a failure probability of per hour. Supposing this failure will cause the plane to crash. What is the chance that the plane will crash within the year if it flies 2400 hours a year? Compute assuming both independent and dependent. SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 19

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 20

Data flow diagrams SE3910 Real Time Systems Entity – An entity is the source or destination of data. – The source in a DFD represents these entities that are outside the context of the system. – Entities either provide data to the system (referred to as a source) or receive data from it (referred to as a sink). Process – The process is the manipulation or work that transforms data, performing computations, making decisions (logic flow), or directing data flows based on business rules. Data Store Data Store – A data store is where a process stores data between processes for later usage by the same process or another process. Data Flow – Data flow is the movement of data between the entity, the process, and the data store. Data flow portrays the interface between the components of the DFD.

Data Flow Diagram Symbols SE3910 Real Time Systems

Case study: Traffic Control SE3910 Real Time Systems We are going to walk through the design of a Traffic Control System – Starting with the needs of the system. – We want to talk about how data flows through the system.

An Intersection System SE3910 Real Time Systems

Intersection Control Diagram SE3910 Real Time Systems

Dataflow diagram SE3910 Real Time Systems

Data Dictionary SE3910 Real Time Systems An essential aspect of a structured design – Includes entries for data flows, control flows, data stores, buffers, etc.

Data Dictionary Example SE3910 Real Time Systems

Discussion: Which software failure we have talked about should have been caught using this approach? SE3910 Real Time Systems

DFD – Practical Example Launched Dec. 11, 1998, the Climate Orbiter plunged too steeply into the Martian atmosphere Sept. 23, 1999, and either burned up or crashed. In an initial failure report released Oct. 15, 2000 the review board blamed the navigation error on a communications foul-up between NASA's Jet Propulsion Laboratory and prime contractor Lockheed Martin.