Presentation is loading. Please wait.

Presentation is loading. Please wait.

STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214)768-2457 URL: URL: faculty.smu.edu/waynew.

Similar presentations


Presentation on theme: "STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214)768-2457 URL: URL: faculty.smu.edu/waynew."— Presentation transcript:

1 STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214)768-2457 e-mail: e-mail: waynew@smu.edu URL: URL: faculty.smu.edu/waynew Hours: Hours: 2:00 - 3:00 MWF 3:00 - 4:00 Th - others by appointment

2 2 Name Major (undergraduate/graduate) Previous stat courses: –STAT 5371? –STAT/CSE/EMIS 4340? –other – describe briefly Have you used SAS? On a sheet of paper:

3 3 Review Sampling Distributions Statistical Inference –Confidence Intervals –Hypothesis Tests

4 4 Sampling / Sampling Distributions Population -- totality of all observations of interest Random Variable (rv) -- a characteristic that can take on different values from object to object Sample -- subset of a population –random sample: –random sample: observations made independently and at random  Parameter – a characteristic of a population Y 1, Y 2, …, Y n – typical notation for a random sample -- population mean (  ), standard deviation (  ), …

5 5 Discrete – you can count the possible outcomes –Discrete distributions:  binomial, Poisson, … Continuous – possible values fall along a continuum –Continuous distributions:  normal (Gaussian), chi-square, t, F, … Random Variables

6 6 Normal Curve: -- symmetric, bell-shaped -- for this particular distribution: - data concentrated about 60 - very few data values above 100 or less than 20

7 7 Standard Normal Standard Normal (Z-score)  Normal table gives P[Z ≤ z]  Has mean zero and standard deviation 1  Graph of standard normal is symmetric about 0

8 8

9 9

10 10 Find: P[Z≤ 2.5] Suppose  = 50 and  = 10. Find: P[X≤ 45] P[Z > 1.6] P[X > 70]

11 11 Examples of Statistics: sample mean sample variance Statistic - function of random variables - typically used to estimate parameters

12 12 Statistics are random variables and have their own distributions Key Concept - called sampling distributions

13 13 Sampling Distribution of the Sample Mean IF: Data are Normally distributed Observations are independent Then: The Sample Mean has a Normal Probability Distribution with -- Mean  -- Standard Error  n has a standard normal distribution

14 14 Suppose  = 50 and  = 10 for a normal population and suppose further that a random sample of size n = 25 is taken. Find:

15 15 Central Limit Theorem IF: Independent Observations Sample Size is Sufficiently Large Then: approximate has a an approximate Standard Normal distribution

16 16 Suppose  = 50 and  = 10 for a non-normal population and suppose further that a random sample of size n = 50 is taken. Find:

17 17 Distribution of Sample Mean -  Unknown IF: Data Values are Normally Distributed Observations are Independent Then: Student’s t has a Student’s t distribution with n - 1 df

18 18 t-distribution -- Figure 5.16, page 229

19 19

20 20 tt  t   Notation z  is obtained from bottom (inf.) row of t-table

21 21 (1-  )x100% Confidence Intervals for  Setting: Data are Normally Distributed Observations are Independent We want an interval that probably contains the population mean  Case 1:  known Case 2:  unknown

22 22 CI Example An insurance company is concerned about the number and magnitude of hail damage claims it received this year. A random sample 20 of the thousands of claims it received this year showed an average claim amount of $6,500 and a standard deviation of $1,500. (You can assume that claims have a normal distribution. Find a a 95% confidence interval on the mean claim damage amount. Suppose that company actuaries believe the company does not need to increase insurance rates for hail damage if the mean claim damage amount is no greater than $7,000. Use the above information to make a recommendation regarding whether rates should be raised.

23 23 Last time we found 95% CI to be: ($5798, $7202) What does this mean? “There is a.95 probability that the population mean (  is between $5798 and $7202”? Not exactly.

24 24 Interpretation of 95% Confidence Interval 100 different 95% CI plotted in the case for which true mean is 80 i.e. about 95% of these confidence intervals should “cover” the true mean

25 25 Last time we found 95% CI to be: ($5798, $7202) What does this mean? “There is a.95 probability that the population mean (  ) is between $5798 and $7202”? Not exactly. “About 95% of confidence intervals obtained in this manner will cover the true mean.” A better statement; We say: “we are 95% confident that the mean falls in the interval … ”

26 Concern has been mounting that SAT scores are falling. 3 years ago -- National AVG = 955 Random Sample of 200 graduating high school students this year (sample average = 935) (each year the standard deviation is about 100) Question: Have SAT scores dropped ? Procedure: Determine how “extreme” or “rare” our sample AVG of 935 is if population AVG really is 955.

27 27 If Population average = 955, what is the probability of getting a sample average (from a sample of size 200) that is less than or equal to 935?

28 We must decide: The sample came from population with population AVG = 955 and just by chance the sample AVG is “small.” OR We are not willing to believe that the pop. AVG this year is really 955. (Conclude SAT scores have fallen.)

29 29 Statistical Hypothesis - statement about the parameters of one or more populations Null Hypothesis ( H 0 Null Hypothesis ( H 0 ) - hypothesis to be “tested” (standard, traditional, claimed, etc.) - hypothesis of no change, effect, or difference (usually what the investigator wants to disprove) Alternative Hypothesis ( H a Alternative Hypothesis ( H a ) - null is not correct (usually what the hypothesis the investigator suspects or wants to show) Hypothesis Testing Terminology

30 30 Basic Hypothesis Testing Question: Do the Data provide sufficient evidence to refute the Null Hypothesis? Test Statistic - measures how far the observed statistic is from the hypothesized parameter (under H 0 ) Example: H 0 :  = 50 Test statistic:

31 31 Critical Region (Rejection Region) Critical Region (Rejection Region) - region of test statistic that leads to rejection of null (i.e. t > c, etc.) Critical Value - endpoint of critical region Significance Level - probability that the test statistic will be in the critical region if null is true - probability of rejecting H 0 when it is true Hypothesis Testing (cont.)

32 32 Types of Hypotheses One-Sided Tests Two-sided Tests

33 33 Rejection Regions for One- and Two-Sided Alternatives -t-t Critical Value 

34 34 A Standard Hypothesis Test Write-up 1. State the null and alternative 2. Give significance level, test statistic,and the rejection region 3. Show calculations 4. State the conclusion - statistical decision - give conclusion in language of the problem

35 35 Hypothesis Testing Example 1 A solar cell requires a special crystal. If properly manufactured, the mean weight of these crystals is.4g. Suppose that 25 crystals are selected at random from a batch of crystals and it is calculated that for these crystals, the average is.41g with a standard deviation of.02g. At the  =.01 level of significance, can we conclude that the batch is bad?

36 36 Hypothesis Testing Example 2 A box of detergent is designed to weigh on the average 3.25 lbs per box. A random sample of 18 boxes taken from the production line on a single day has a sample average of 3.238 lbs and a standard deviation of 0.037 lbs. Test whether the boxes seem to be underfilled.

37 37 Actual Situation Errors in Hypothesis Testing Null is TrueNull is False Do Not Reject H o Conclusion Correct Decision Correct Decision (  ) (  )( 1 -  ) ( 1 -  ) (Power) Type II Error Type I Error Power

38 38 Note: There are many ways that H 0 can be false Example: H 0 :  50 This null hypothesis is “false” if: (a)  (b)  (c)   If (c) is the actual situation, then the “power” of the test will probably be large  In the case of (a), the “power” will likely be small

39 39 p- Value (observed value of t) -2.39 p-value Suppose t = - 2.39 is observed from data for test above Note: “ Large negative values” of t make us believe alternative is true the probability of an observation as extreme or more extreme than the one observed when the null is true

40 40 Note: -- if p-value is less than or equal to  then we reject null at the  significance level -- the p-value is the smallest level of significance at which the null hypothesis would be rejected

41 41 Find the p-values for Examples 1 and 2


Download ppt "STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214)768-2457 URL: URL: faculty.smu.edu/waynew."

Similar presentations


Ads by Google