# HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Size: px
Start display at page:

Download "HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as..."

Transcription

1 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1 PREVIOUSLY used confidence intervals to answer questions such as... You know that 0.25% of women have red/green color blindness. You conduct a study of men and find that of 80 men tested, 7 have red/green color blindness. Based on the above information, do men have a higher percentage of red/green color blindness than women? Why or why not? question is whether a sample proportion differs from a population proportion

2 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 2 You measure body mass index (BMI) for 25 men and 25 women and calculate the following statistics... gender mean standard deviation women 25 6 men 26 3 The upper-limit for a NORMAL BMI for adults is 23. Based on the above information, can you say that either the group of women or group of men have 'above normal' BMIs? Why or why not? question is whether sample means differ from a population mean

3 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 3 confidence interval approach... X ± ME s X ± ( t ) 24,. 025 n 6 women: 25 ± ( ) = 25± = ( ,. ) 25 3 men: 26 ± ( = 26 ± = ( , ) 25) women's 95% confidence interval includes not different men's 95% confidence interval above above normal

4 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 4 You conduct health exams on samples of 25 men and 25 women. One measurement you make is systolic blood pressure (SBP) and you calculate the following statistics... gender mean standard deviation women men Do you think that men have a higher mean SBP than women? Why or why not? question is whether sample means differ from each other

5 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 5 confidence interval approach... X ± ME s X ± ( t ) 24,. 025 n 15 women: 120 ± ( ) = 120 ± = ( , ) men: 130 ± ( = 130 ± = ( , ) 25) confidence intervals overlap... not different

6 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 6 ANOTHER APPROACH TO SUCH QUESTIONS hypothesis testing (almost always results in the same answer as confidence intervals - exception possible with proportions due to difference in how standard errors are calculated in hypothesis testing versus confidence intervals) one sample hypothesis testing does a sample value differ from a population value two sample hypothesis testing do two sample values differ from each other

7 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 7 DEFINITIONS Triola hypothesis is a claim or statement about a property of a population Daniel hypothesis is a statement about one or more populations Rosner no explicit definition, but... preconceived ideas as to what population parameters might be...

8 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 8 Triola hypothesis test is a standard procedure for testing a claim about a property of a population Daniel no definition Rosner no explicit definition, but... hypothesis testing provides an objective framework for making decisions using probabilistic methods rather than relying on subjective impressions

9 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 9 COMPONENTS OF HYPOTHESIS TEST... a problem with CONTINUOUS data... same problem... you measure body mass index (BMI) for 25 men and 25 women and calculate the following statistics... gender mean standard deviation women 25 6 men 26 3 The upper-limit for a NORMAL BMI for adults is 23. Based on the above information, can you say that either the group of women or group of men have 'above normal' BMIs? Why or why not?

10 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 10 start with women given a claim... women have above normal BMIs (above 23) identify the null hypothesis... the BMI of women is equal to 23 identify the alternative hypothesis... the BMI of women is greater than 23 express the null and alternative hypothesis is symbolic form... H 0 : µ = 23 H 1 : µ > 23

11 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 11 given a claim and sample data, calculate the value of the test statistic... t = X µ = =. S / N 6/ given a significance level, identify the critical value(s)... t-distribution with 24 degrees of freedom, α =.05, 1-tail test from table 5 in Rosner, critical value = critical value method... test statistic < critical value conclusion... no evidence to say women are greater than the population value of 23

12 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 12 given a value of the test statistic, identify the P-value... in the t-distribution, what is the probability of obtaining the value of the test statistic (1.67) with 24 degrees of freedom interpolate in table 5 in Rosner, look on the line with 24 degrees of freedom and see that 1.67 lies between 0.90 and 0.95 for the area in one-tail, between the values ( α = 0. 05) > 167. > ( α = 010. ) or use STATCRUNCH to get an exact value... P = P-value method... P > 0.05 conclusion... no evidence to say women are greater than the population value of 23

13 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 13 state the conclusion of the hypothesis is simple, non-technical terms... there is no evidence to conclude that the BMI of women is not equal to 23 identify the type I and type II errors that can be made when testing a given claim... type I error determined by choice of α (in this case, 0.05) type II error is a function of... sample size variability (standard deviation) difference worth detecting size of chosen level of type I error

14 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 14 calculate type II error (formulas, SAS, web, etc.) from a web site... on class web site, the link is... Rollin Brant's Sample Size/Power Calculators (University of Calgary) or Rosner equation Φ( z + µ µ n / σ) = Φ( / 6) 1 α 0 1 Φ( ) = Φ( ) from table 5 in Rosner, column A when z (or x in table) = 0.02 is approximately a 50% chance of detecting a difference of 2 given the sample size, variability, and type I error (type II error = \$ = 1-power = 0.492) more about POWER and Type II error later...

15 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 15 same methodology for men... H 0 : µ = 23 H 1 : µ > 23 t = X µ = S / N 3/ 25 = 5 from table 5 in Rosner, critical value = critical value method... test statistic > critical value conclusion... men have a BMI greater than the population value of 23

16 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 16 given a value of the test statistic, identify the P-value... in the t-distribution, what is the probability of obtaining the value of the test statistic (5) with 24 degrees of freedom in table 5 in Rosner, look on the line with 24 degrees of freedom and see that 5 is to the right of the value (3.745) for "= ( in the table)... the P-value is less than or use STATCRUNCH to get an exact value... P = E-5 P-value method... P < 0.05 conclusion... men have a BMI greater than the population value of 23

17 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 17 state the conclusion of the hypothesis is simple, non-technical terms... the BMI of men is greater than 23 identify the type I and type II errors that can be made when testing a given claim... type I error determined by choice of α (in this case, 0.05) type II error is a function of... sample size variability (standard deviation) difference worth detecting size of chosen level of type I error

18 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 18 calculate type II error (formulas, SAS, web, etc.) from a web site... on class web site, the link is... Rollin Brant's Sample Size/Power Calculators (University of Calgary) or Rosner equation Φ( z + µ µ n / σ) = Φ( / 3) 1 α 0 1 Φ( ) = Φ( ) from table 5 in Rosner, column A when z (or x in table) = 3.36 is a 100% chance of detecting a difference of 3 given the sample size, variability, and type I error (type II error = \$ = 1-power = 0.004) more about POWER and Type II error later...

19 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 19 using Statcrunch... confidence interval and hypothesis test women... men...

20 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 20 confidence interval approach should use a one-sided rather than a two-sided interval... it should be an upper one-sided interval X ME s X t 24,. 05 n 6 women = = ( , ) 25 3 men = = ( , ) 25 women's 95% confidence interval includes not different men's 95% confidence interval above above normal still the same conclusion as critical and P-value methods

21 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER a problem with DISCRETE data... Mendel's genetics experiment... given 580 offspring peas and 26.2% (N=152) with yellow pods... what should one conclude about Mendel's theory that 25% of peas will have yellow pods NPQ = 580(0.25)(0.75) = 109 (note: previously, check of NPQ used SAMPLE PROPORTION... check of NPQ now uses POPULATION PROPORTION since population proportion is assumed to be known... discussed on bottom of page 205 in Rosner) express the null and alternative hypothesis is symbolic form... H 0 : p = 0.25 H 1 : p 0.25

22 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 22 given a claim and sample data, calculate the value of the test statistic... z = p\$ p0 pq / n 0 0 = )(. 075)/ 580 = 067. given a significance level, identify the critical value(s)... normal distribution (z), α =.05, 2-tail test from table 5 in Rosner, critical value = 1.96 critical value method... test statistic < critical value conclusion... there is no evidence to conclude that the proportion of yellow pods is different from 0.25

23 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 23 given a value of the test statistic, identify the P-value... in the normal (z) distribution, what is the probability of obtaining the value of the test statistic (0.67) use table 3 in Rosner, find the value of the test statistic in column x, then look in column B and see that the area in the tail distribution is you can use STATCRUNCH to get the figure on the right P-value method... P > 0.05 conclusion... there is no evidence to conclude that the proportion of yellow pods is different from 0.25

24 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 24 state the conclusion of the hypothesis is simple, non-technical terms... there is no evidence to conclude that the proportion of yellow peas is different from 25% identify the type I and type II errors that can be made when testing a given claim... type I error determined by choice of α (in this case, 0.05) type II error is a function of... sample size variability (standard deviation) difference worth detecting size of chosen level of type I error

25 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 25 calculate type II error (formulas, SAS, web, etc.) from a web site... on class web site, the link is... Rollin Brant's Sample Size/Power Calculators (University of Calgary) or Rosner equation pq 0 0 Φ Φ Φ pq z p0 p1 n (. 25)(. 75) α / 2 + = 196. ( ) 1 1 pq (. 262)(. 738) (. 25)(. 75) = from table 5 in Rosner, column B when z (or x in table) = 1.25 is a 10% chance of detecting a difference of given the sample size, variability, and type I error (type II error = \$ = 1-power = ) more about POWER and Type II error later...

26 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 26 there is no evidence to conclude that the proportion of yellow pods is different from 0.25 why is the power so low? to detect a difference of with power = 0.80, n=10,316

27 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 27 confidence interval approach... two-sided interval since the alternative hypothesis is two-sided NPQ = 580(0.262)(0.738) = 112 (note: check of NPQ uses SAMPLE PROPORTION since population proportion is assumed to be unknown... discussed on bottom of page 205 in Rosner) standard error = pq \$\$. (. ) n = = % confidence interval, Z = 1.96 margin of error, E = 1.96 * = P - E = = P+ E = = % confidence interval < P < conclusion... no evidence to say that the population proportion is different from 0.25 since it is within the confidence interval

28 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 28 COMPONENTS OF HYPOTHESIS TESTING before... what are the null and alternative hypotheses (what is your claim about your data) what is the appropriate test statistic what is (are) the critical value(s) (type I error, type II error, power) after... what is the P-value (what is/are the confidence interval(s)) what is the decision (conclusion)... critical value, P-value (confidence interval)

29 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 29 null and alternative hypotheses the null hypothesis for a one sample test ALWAYS contains a statement that the value of a population parameter is EQUAL to some claimed value the alternative hypothesis can contain a statement that a the value of a population is either NOT EQUAL to, LESS than, or GREATER than some claimed value (two-tailed and one-tailed hypothesis tests) implication of above on your own claim... your claim might be the null or it might be the alternative hypothesis... a product called "Gender Choice" increases the probability of a female infant, or... P(female) > 0.50 H 0 : p = 0.50 H 1 : p > 0.50

30 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 30 test statistic proportion z = ( p\$ p )/ p q / n ALWAYS Z (note: POPULATION PROPORTIONS) mean z = ( x µ )/( σ / n) t = ( x µ )/( s/ n) variance χ 2 = ( n 1) 2 / σ 2 Z OR t DEPENDS ON WHETHER POPULATION VARIANCE IS KNOWN (Z), UNKNOWN (t) ALWAYS CHI-SQUARE

31 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 31 critical values any value that separates the critical region (where the null hypothesis is rejected) from values that do not lead to rejection of the null hypothesis depends on alternative hypothesis and selected level of type I error not equal - two-tail test, 50% of area in each tail of the distribution greater or less than - one-tail test, 100% of area in one tail of the distribution two-tail test, test statistic is z, α = 005., critical value ±1.96 one-tail test, test statistic is z, α = 005., critical value ±1.645

32 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 32 P-value the probability of obtaining a value of the test statistic that is at least as extreme as the one calculated using sample data given that the null hypothesis is true calculation of an exact P-value depends on the alternative hypothesis not equal - two-tail test, double value found in appropriate table greater or less than - one-tail test, value found in appropriate table

33 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 33 figure from Triola... how to determine P-values

34 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 34 decisions and conclusions Critical Value Method reject H 0 if the test statistic falls within the critical region, fail to reject H 0 if the test statistic does not fall within the critical region P-Value Method reject H 0 if P-value α fail to reject H 0 if P-value > α (or report the P-value and leave the decision to the reader)

35 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 35 Confidence Interval if the confidence interval contains the likely value of the population parameter, reject the claim that the population parameter has a value that is not included in the confidence interval Rosner - if testing H 0 : µ = µ 0 versus the alternative hypothesis H 1 : µ µ 0, H 0 is rejected if and only if a two-sided confidence interval for µ does not contain µ 0 Rosner - significance levels and confidence limits provide complimentary information and both should be reported where possible

36 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 36 figure from Triola... wording a conclusion based on a hypothesis test

37 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 37 two types of error TYPE I AND TYPE II ERRORS type I error - reject the null when it is actually true ( α ) type II error - fail to reject the null when it is actually false ( β ) power = 1 - β (the probability of rejecting a false H 0 )

38 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 38 a look at power...

39 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 39 how does this diagram relate to the question about women's BMI... the UPPER DIAGRAM --- given a hypothesized mean of 23, a standard deviation of 6, a sample size of 25, and a one-tail test with alpha=0.05, any value greater than would be called "significantly greater" than 23 (would fall in the critical region)... ( )/( 6 / 25) = consider ~ 25, therefore, you would not reject the null hypothesis given any sample mean less than 25 the LOWER DIAGRAM --- if "reality" was a mean of 25, what portion of the area of a standard normal distribution would lie to the right of 25 (or ), answer is 50%, so the power ~ 0.50

40 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 40 another look at the same problem... one-tail test, "=0.05 curve on left represents null hypothesis... :=23 curve on right represents :=25 dark shaded area represents 5% of the area of the left curve, or z= area where you reject H 0 : :=23 lighter shaded area represents approximately 51% of the area of the right curve therefore... if "reality" is really the curve on the right, :=25, and you conduct an experiment with N=25, F=6, and "= you only have a 51% chance of rejecting the null, your hypothesized "reality" of :=23

41 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 41 RELATIONSHIPS type I error (") increase - increase power (decrease type II error, \$) sample size (n) increase - increase power difference worth detecting ( µ µ 0 ) increase - increase power variability (F) increase - decrease power ", \$, n are all related fix any two, the third is determined

42 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 42 formula from Rosner - given a two-sided test, sample size for a given " and \$ n= σ ( z + z ) /( µ µ ) 1 β 1 α/ problem 7.9 from Rosner... plasma glucose level among sedentary people (check for diabetes)... is their level higher or lower than the general population among year olds, µ = 4.86 (mg/dl), F = 0.54 if a difference of 0.10 is worth detecting, with "=0.05, what sample size is needed to have 80% power (\$=0.20) 2 n= 054. ( z + z ) /( 010. ) n = ( ) = ~ 229

43 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 43 from SAS... Distribution Normal Method Exact Number of Sides 2 Null Mean 4.96 Alpha 0.05 Mean 4.86 Standard Deviation 0.54 Nominal Power 0.8 Computed N Total Actual N Power Total

44 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 44 from a web site...

45 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 45 same data, different problem... problem 7.9 from Rosner... plasma glucose level among sedentary people (check for diabetes)... is their level higher or lower than the general population among year olds, µ = 4.86 (mg/dl), F = 0.54 if a difference of 0.10 is worth detecting, with "=0.05, with a sample size of 100, what is the power

46 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 46 same approach as the BMI problem... given a hypothesized mean of 4.86, a standard deviation of 0.54, a sample size of 100, and a two-tail test with alpha=0.05, any value greater than (or less than 4.754) would be called "significantly different" from 4.86 (would fall in the critical region)... ( )/( 054. / 100) = 196. ( )/( 054. / 100) = 196. if "reality" was a mean of 4.96, what portion of the area of a standard normal distribution would lie to the right of 4.966, answer is ~46%, so the power ~0.46

47 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 47 another look at the same problem illustration... shaded area on the right is power... you find a value greater than

48 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 48 another look at the same problem illustration... shaded area on the left is power... you find a value less than

49 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 49 WHAT SHOULD YOU KNOW NOT formulas!!! what is power (from Rosner... the probability of detecting a significant difference... or the probability of rejecting H 0 when H 1 is true) how to illustrate the concept of power (two normal curves drawn using information about the null hypothesis, ", sample size, F, difference worth detecting) what are Type I and Type II error the relationships among ", \$, n, F, µ µ 0

50 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 50 PROPORTION all the previous comments about the importance of proper sampling (random, representative) all conditions for a binomial distribution are met (fixed n of independent trials with constant p and only two possible outcomes for each trial) NPQ \$ 5 (note: P and Q are POPULATION values)

51 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 51 test statistics is ALWAYS z... z = p\$ p / p q / n example 7.26 from Rosner study guide... area of current interest in cancer epidemiology is the possible role of oral contraceptives (OC s) in the development of breast cancer... in a group of 1000 premenopausal women ages who are current users of OC s, 15 subsequently develop breast cancer over the next 5 years... if the expected 5-year incidence rate of breast cancer in this group is 1.2% based on national incidence rates, then test the hypothesis that there is an association between current OC use and the subsequent development of breast cancer

52 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 52 claim... there is an association between OC use and subsequent development of breast cancer NPQ (.012)(.988) = > 5 null and alternative hypothesis... H0: p= H: p calculate the test statistic... note that POPULATION values are used in the denominator... z = ( p\$ p0)/ p0q0 / n = ( )/ ( )( )/ 1000 z = / = 087.

53 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 53 given a significance level, identify the critical value... "=0.05, z = 1.96 (two-tail test) critical value method... test statistic (0.87) < critical value identify the P-value... from table 3 in Rosner... what is area in tails of normal curve with z=0.87, P= (from column B) from figure page 271 in Rosner7.6, two-sided test, double the P- value, P=0.38 (> 0.05) conclusion... no evidence to reject the null hypothesis

54 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 54 what is the confidence interval... note that SAMPLE VALUES are used to compute the confidence interval... CI = µ ± z( pq \$\$/ n) = ± 196. ( )( )/ 1000 CI = ± (0.011, 0.019) same conclusion since null hypothesis value of is within the confidence interval

55 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 55 from Triola... a problem where a hypothesis test and confidence intervals give different results given... n=1000, k=119, and null value of p= H : p= H: p hypothesis test, z > critical value of 1.96 and P-value < 0.05 however, confidence interval includes the null value of P = 0.10 critical value method and P-value results not the same as the confidence interval results... why?

56 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 56 can also calculate the exact P-value using the binomial distribution... this is the equivalent of a hypothesis test with an alternative hypothesis of... H : p > H : p therefore..., not P-value=2(P)= what is the 'exact' conclusion?

57 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 57 MEAN: F KNOWN all the previous comments about the importance of proper sampling (random, representative) the value of the population standard deviation is known the population is normally distributed or n > 30 (Central Limit Theorem)

58 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 58 test statistic WITH F KNOWN is z... z = ( x µ )/( σ / n) example 7.24 from Rosner... want to compare the serum cholesterol levels among recent Asian immigrants to the United States to that of the general US population... the mean of serum cholesterol in the US population is known to be 190 with a standard deviation of we have serum cholesterol results on a sample of 200 recent immigrants and the mean value is

59 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 59 claim... the serum cholesterol of recent Asian immigrants differs from that in the US population null and alternative hypotheses... H H 0 1 : µ = : µ calculate the test statistic... z = ( )/( 40 / 200) = / = 3. 00

60 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 60 given a significance level, identify the critical value... "=0.05, z=1.96 (two-tail test) critical value method... test statistic (-3) less that critical value (-1.96) identify the P-value... from table 3... what is area in tails of normal curve with z=2.12, P= two-sided test, double the P-value, P=0.034 conclusion... reject the null hypothesis

61 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 61 what is the confidence interval... CI = x ± z( σ / n) = ± 196. ( 40 / 200) = ± 554. (175.98, ) same conclusion since 190 is not within the confidence interval

62 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 62 MEAN: F UNKNOWN all the previous comments about the importance of proper sampling (random, representative) the value of the population standard deviation is unknown the population is normally distributed or n > 30 (Central Limit Theorem)

63 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 63 test statistic WITH F UNKNOWN... t = ( x µ )/( s/ n) example 7.3 from Rosner study guide... as part of a dietary-instruction program, eight year-old females report an average daily intake of saturated fat of 11 g with standard deviation of 11 g while on a vegetarian diet... if the average daily intake of saturated fat among year-old females in the general population is 24 g, then, using a significance level of.01, test the hypothesis that the intake of saturated fat in this group is lower than that in the general population

64 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 64 claim... the daily intake of saturated fat of a group of females on a vegetarian diet is lower than that among females in the general population null and alternative hypotheses... H H 0 1 : µ = : µ < calculate the test statistic... t = ( 11 24)/( 11/ 8) = 13/ 389. = 3. 34

65 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 65 given a significance level, identify the critical value... "=0.01, 7 DF, t= (one-tail test) critical value method... test statistic (-3.34) less than critical value identify the P-value... from table 3... what is area in the tail of a t-distribution with 7 DF, t= it is between (t=2.998) and (t=3.499) from Statcrunch (an exact value) P= conclusion... reject the null hypothesis

66 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 66 VARIANCE (OR STANDARD DEVIATION) all the previous comments about the importance of proper sampling (random, representative) the population is normally distributed (Central Limit theorem does not apply here)

67 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 67 test statistic... χ = ( n 1) s / σ example 7.30 from Rosner study guide... in a sample of 15 analgesic drug abusers, the standard deviation of serum creatinine is found to be the standard deviation of serum creatinine in the general population is compare the variance of serum creatinine among analgesic abusers versus the variance of serum creatinine in the general population

68 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 68 claim...the variability of serum creatinine among analgesic drug users differs from that in the general population null and alternative hypotheses... H H χ χ 0 1 : σ = 040. : σ 040. calculate the test statistic = ( n 1) s / σ = ( 15 1)( ) / = 1656.

69 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 69 given a significance level, identify the critical values... "=0.05, χ χ 2 14, = , = 563. critical value method... test statistic (16.56) is between the critical values identify the P-value... from table 6... what is area in the tails of a P 2 distribution with 14 DF when P 2 = it is between 0.50 (P 2 =13.34) and 0.75 (P 2 =17.12)... closer to 17.12, so about 25% of the area in one-tail exact value from Statcrunch... P= tail test, P=0.56 conclusion... accept the null hypothesis

70 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 70 ***** EXTRA MATERIAL *****

71 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 71 EXACT BINOMIAL METHOD FOR PROPORTION TEST when NPQ < 5, the Normal-Theory Method for a one sample test of a proportion is not valid... must use exact methods you are back to material you learned in chapter 4 example 7.49 in Rosner... based on vital statistics, 20% of all deaths can be attributed to some form of cancer... of the 13 deaths occurring among year old males in a nuclear power plant, 5 are from cancer... is their death rate different from the expected rate

72 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 72 NPQ... 13(0.2)(0.8) = 2.1 < 5, must use exact methods still a hypothesis test, therefore... H 0 : :=0.20 H 1 : : 0.20 what would you do in chapter 4... N=13, P= so the question is... what is P(X\$5) can use table 1 in Rosner or Statcrunch... P(X\$5) = sided test, double P... P-value = (same answer in Rosner)

73 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 73 POISSON DISTRIBUTION sometimes, all you have is an expected count in a given time period... if the event is rare, can use the Poisson distribution LARGE SAMPLE METHOD when... : 0 \$10... test statistic is... χ ( x µ ) = µ critical value... P 2 with 1 degree of freedom

74 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 74 example 7.56 in Rosner bladder cancer deaths observed among rubber workers... the expected number is 18.1 H 0 : :=18.1 H 1 : : 18.1 test statistic... χ 2 ( x µ ) ( ) = = µ = 046. critical value... from table 6 in Rosner, with "=0.05, P 2 with 1 degree of freedom = 3.84 critical value method... test statistic (0.46) < critical value, do not reject the null hypothesis

75 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 75 P-value method... identify the P-value... from table 6... with 1 degree of freedom, the value of the test statistic is between 0.50 (P 2 =0.45) and 0.75 (P 2 =1.32) the P-value is between 0.50 and since the test statistic 0.46 is closer to the value of P 2 of 0.45 at P=0.50, about 50% of the area in one-tail... the exact value from Statcrunch is (in the figure on the right) same conclusion as critical value method... no evidence to reject the null hypothesis confidence interval... x± ME = x± z1 α / 2 x = 21± 196. ( 21) = 21± 9 (12,30) includes null value of same conclusion as critical value and P-value methods

76 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 76 POISSON DISTRIBUTION - EXACT METHOD same problem... example 7.56 in Rosner bladder cancer deaths observed among rubber workers... the expected number is 18.1 H 0 : :=18.1 H 1 : : 18.1 use table 8 in Rosner... exact Poisson confidence intervals... with 21 cancer deaths, exact 95% confidence interval is (13.0, 32.1)... since it does not include the null value of 18.1, same conclusion as the large sample method... no evidence to reject the null hypothesis also, exact P-value from Statcrunch is two-sided test, double that value P-value = 0.55 (same as Rosner)

77 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 77 SCIENTIFIC (PRACTICAL) SIGNIFICANCE AND STATISTICAL SIGNIFICANCE discussed in Rosner, page 235, only one paragraph, but the distinction between scientific and statistical significance is IMPORTANT collect enough data (large N) and you can find statistically significant results that have no scientific value for example... study enough people and any loss of weight due to some weight loss regimen will be statistically significant... what is a scientific (practical) value of weight loss.. a value that is actually meaningful in affecting ones health what about studies with small N that do not find statistical differences... maybe not enough power good chart on next page for looking at study results... also expands on Rosner discussion on pages regarding confidence intervals

78 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 78 from... BMJ VOLUME FEBRUARY Absence of evidence is not evidence of absence (We need to report uncertain results and do it clearly) when is it reasonable to claim that a study has proved that no effect or no difference exists? correct answer is "never"... some uncertainty will always exist need to have some rules for deciding when we are fairly sure that we have excluded an important benefit or harm implies that some threshold must be decided, in advance, for what size of effect is clinically important in that situation

### HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1 PREVIOUSLY used confidence intervals to answer questions such as... You know that 0.25% of women have red/green color blindness. You conduct a study of men

### An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 130) Spring Semester 011 Chapter 10- TWO-SAMPLE TESTS Practice

### HYPOTHESIS TESTING: POWER OF THE TEST

HYPOTHESIS TESTING: POWER OF THE TEST The first 6 steps of the 9-step test of hypothesis are called "the test". These steps are not dependent on the observed data values. When planning a research project,

### THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

THERE ARE TWO WAYS TO DO HYPOTHESIS TESTING WITH STATCRUNCH: WITH SUMMARY DATA (AS IN EXAMPLE 7.17, PAGE 236, IN ROSNER); WITH THE ORIGINAL DATA (AS IN EXAMPLE 8.5, PAGE 301 IN ROSNER THAT USES DATA FROM

### Introduction to Hypothesis Testing

I. Terms, Concepts. Introduction to Hypothesis Testing A. In general, we do not know the true value of population parameters - they must be estimated. However, we do have hypotheses about what the true

### Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Chapter 8 Hypothesis Testing 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim About a Proportion 8-5 Testing a Claim About a Mean: s Not Known 8-6 Testing

### BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420 1. Which of the following will increase the value of the power in a statistical test

### Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Section 7.1 Introduction to Hypothesis Testing Schrodinger s cat quantum mechanics thought experiment (1935) Statistical Hypotheses A statistical hypothesis is a claim about a population. Null hypothesis

### Hypothesis testing - Steps

Hypothesis testing - Steps Steps to do a two-tailed test of the hypothesis that β 1 0: 1. Set up the hypotheses: H 0 : β 1 = 0 H a : β 1 0. 2. Compute the test statistic: t = b 1 0 Std. error of b 1 =

### 3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

### C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

Sample Multiple Choice Questions for the material since Midterm 2. Sample questions from Midterms and 2 are also representative of questions that may appear on the final exam.. A randomly selected sample

### Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Introduction Hypothesis Testing Mark Lunt Arthritis Research UK Centre for Ecellence in Epidemiology University of Manchester 13/10/2015 We saw last week that we can never know the population parameters

### Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Chapter 7 Notes - Inference for Single Samples You know already for a large sample, you can invoke the CLT so: X N(µ, ). Also for a large sample, you can replace an unknown σ by s. You know how to do a

### NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

NONPARAMETRIC STATISTICS 1 PREVIOUSLY parametric statistics in estimation and hypothesis testing... construction of confidence intervals computing of p-values classical significance testing depend on assumptions

### Math 108 Exam 3 Solutions Spring 00

Math 108 Exam 3 Solutions Spring 00 1. An ecologist studying acid rain takes measurements of the ph in 12 randomly selected Adirondack lakes. The results are as follows: 3.0 6.5 5.0 4.2 5.5 4.7 3.4 6.8

### General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

General Method: Difference of Means 1. Calculate x 1, x 2, SE 1, SE 2. 2. Combined SE = SE1 2 + SE2 2. ASSUMES INDEPENDENT SAMPLES. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n

### Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Introduction to Hypothesis Testing 1 Hypothesis Testing A hypothesis test is a statistical procedure that uses sample data to evaluate a hypothesis about a population Hypothesis is stated in terms of the

### 1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

### Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

### BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp. 380-394

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp. 380-394 1. Does vigorous exercise affect concentration? In general, the time needed for people to complete

### 5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

C H 8A P T E R Outline 8 1 Steps in Traditional Method 8 2 z Test for a Mean 8 3 t Test for a Mean 8 4 z Test for a Proportion 8 6 Confidence Intervals and Copyright 2013 The McGraw Hill Companies, Inc.

### Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

Experimental Design Power and Sample Size Determination Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 3 8, 2011 To this point in the semester, we have largely

### Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Spring 204 Class 9: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.) Big Picture: More than Two Samples In Chapter 7: We looked at quantitative variables and compared the

### Study Guide for the Final Exam

Study Guide for the Final Exam When studying, remember that the computational portion of the exam will only involve new material (covered after the second midterm), that material from Exam 1 will make

### Name: Date: Use the following to answer questions 3-4:

Name: Date: 1. Determine whether each of the following statements is true or false. A) The margin of error for a 95% confidence interval for the mean increases as the sample size increases. B) The margin

### Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Comparing Two Groups Chapter 7 describes two ways to compare two populations on the basis of independent samples: a confidence interval for the difference in population means and a hypothesis test. The

### Mind on Statistics. Chapter 12

Mind on Statistics Chapter 12 Sections 12.1 Questions 1 to 6: For each statement, determine if the statement is a typical null hypothesis (H 0 ) or alternative hypothesis (H a ). 1. There is no difference

### Confidence Intervals for the Difference Between Two Means

Chapter 47 Confidence Intervals for the Difference Between Two Means Introduction This procedure calculates the sample size necessary to achieve a specified distance from the difference in sample means

### Principles of Hypothesis Testing for Public Health

Principles of Hypothesis Testing for Public Health Laura Lee Johnson, Ph.D. Statistician National Center for Complementary and Alternative Medicine johnslau@mail.nih.gov Fall 2011 Answers to Questions

### Regression Analysis: A Complete Example

Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

### Estimation of σ 2, the variance of ɛ

Estimation of σ 2, the variance of ɛ The variance of the errors σ 2 indicates how much observations deviate from the fitted surface. If σ 2 is small, parameters β 0, β 1,..., β k will be reliably estimated

### StatCrunch and Nonparametric Statistics

StatCrunch and Nonparametric Statistics You can use StatCrunch to calculate the values of nonparametric statistics. It may not be obvious how to enter the data in StatCrunch for various data sets that

### 22. HYPOTHESIS TESTING

22. HYPOTHESIS TESTING Often, we need to make decisions based on incomplete information. Do the data support some belief ( hypothesis ) about the value of a population parameter? Is OJ Simpson guilty?

### STATISTICS 8, FINAL EXAM. Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4

STATISTICS 8, FINAL EXAM NAME: KEY Seat Number: Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4 Make sure you have 8 pages. You will be provided with a table as well, as a separate

### How To Test For Significance On A Data Set

Non-Parametric Univariate Tests: 1 Sample Sign Test 1 1 SAMPLE SIGN TEST A non-parametric equivalent of the 1 SAMPLE T-TEST. ASSUMPTIONS: Data is non-normally distributed, even after log transforming.

### Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

### Unit 26 Estimation with Confidence Intervals

Unit 26 Estimation with Confidence Intervals Objectives: To see how confidence intervals are used to estimate a population proportion, a population mean, a difference in population proportions, or a difference

### Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume

### Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Opgaven Onderzoeksmethoden, Onderdeel Statistiek 1. What is the measurement scale of the following variables? a Shoe size b Religion c Car brand d Score in a tennis game e Number of work hours per week

### Lecture 8. Confidence intervals and the central limit theorem

Lecture 8. Confidence intervals and the central limit theorem Mathematical Statistics and Discrete Mathematics November 25th, 2015 1 / 15 Central limit theorem Let X 1, X 2,... X n be a random sample of

### LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.

### Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck! Name: 1. The basic idea behind hypothesis testing: A. is important only if you want to compare two populations. B. depends on

### Point Biserial Correlation Tests

Chapter 807 Point Biserial Correlation Tests Introduction The point biserial correlation coefficient (ρ in this chapter) is the product-moment correlation calculated between a continuous random variable

### Tests for One Proportion

Chapter 100 Tests for One Proportion Introduction The One-Sample Proportion Test is used to assess whether a population proportion (P1) is significantly different from a hypothesized value (P0). This is

### Confidence Intervals for Cp

Chapter 296 Confidence Intervals for Cp Introduction This routine calculates the sample size needed to obtain a specified width of a Cp confidence interval at a stated confidence level. Cp is a process

### Chapter 2. Hypothesis testing in one population

Chapter 2. Hypothesis testing in one population Contents Introduction, the null and alternative hypotheses Hypothesis testing process Type I and Type II errors, power Test statistic, level of significance

### Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Chapter 4 Two-Sample T-Tests Assuming Equal Variance (Enter Means) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when the variances of

### Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table

ANALYSIS OF DISCRT VARIABLS / 5 CHAPTR FIV ANALYSIS OF DISCRT VARIABLS Discrete variables are those which can only assume certain fixed values. xamples include outcome variables with results such as live

### Hypothesis Testing: Two Means, Paired Data, Two Proportions

Chapter 10 Hypothesis Testing: Two Means, Paired Data, Two Proportions 10.1 Hypothesis Testing: Two Population Means and Two Population Proportions 1 10.1.1 Student Learning Objectives By the end of this

### Chi Square Tests. Chapter 10. 10.1 Introduction

Contents 10 Chi Square Tests 703 10.1 Introduction............................ 703 10.2 The Chi Square Distribution.................. 704 10.3 Goodness of Fit Test....................... 709 10.4 Chi Square

### 6: Introduction to Hypothesis Testing

6: Introduction to Hypothesis Testing Significance testing is used to help make a judgment about a claim by addressing the question, Can the observed difference be attributed to chance? We break up significance

### Testing a claim about a population mean

Introductory Statistics Lectures Testing a claim about a population mean One sample hypothesis test of the mean Department of Mathematics Pima Community College Redistribution of this material is prohibited

### Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

Chapter 45 Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when no assumption

### STAT 350 Practice Final Exam Solution (Spring 2015)

PART 1: Multiple Choice Questions: 1) A study was conducted to compare five different training programs for improving endurance. Forty subjects were randomly divided into five groups of eight subjects

### Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative

### Hypothesis Testing --- One Mean

Hypothesis Testing --- One Mean A hypothesis is simply a statement that something is true. Typically, there are two hypotheses in a hypothesis test: the null, and the alternative. Null Hypothesis The hypothesis

### Difference of Means and ANOVA Problems

Difference of Means and Problems Dr. Tom Ilvento FREC 408 Accounting Firm Study An accounting firm specializes in auditing the financial records of large firm It is interested in evaluating its fee structure,particularly

### SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

SCHOOL OF HEALTH AND HUMAN SCIENCES Using SPSS Topics addressed today: 1. Differences between groups 2. Graphing Use the s4data.sav file for the first part of this session. DON T FORGET TO RECODE YOUR

### t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

t-tests in Excel By Mark Harmon Copyright 2011 Mark Harmon No part of this publication may be reproduced or distributed without the express permission of the author. mark@excelmasterseries.com www.excelmasterseries.com

### Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

Statistics I for QBIC Text Book: Biostatistics, 10 th edition, by Daniel & Cross Contents and Objectives Chapters 1 7 Revised: August 2013 Chapter 1: Nature of Statistics (sections 1.1-1.6) Objectives

### Final Exam Practice Problem Answers

Final Exam Practice Problem Answers The following data set consists of data gathered from 77 popular breakfast cereals. The variables in the data set are as follows: Brand: The brand name of the cereal

### 2 GENETIC DATA ANALYSIS

2.1 Strategies for learning genetics 2 GENETIC DATA ANALYSIS We will begin this lecture by discussing some strategies for learning genetics. Genetics is different from most other biology courses you have

### Correlational Research

Correlational Research Chapter Fifteen Correlational Research Chapter Fifteen Bring folder of readings The Nature of Correlational Research Correlational Research is also known as Associational Research.

### Independent t- Test (Comparing Two Means)

Independent t- Test (Comparing Two Means) The objectives of this lesson are to learn: the definition/purpose of independent t-test when to use the independent t-test the use of SPSS to complete an independent

### Statistics 2014 Scoring Guidelines

AP Statistics 2014 Scoring Guidelines College Board, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks of the College Board. AP Central is the official online home

### Review #2. Statistics

Review #2 Statistics Find the mean of the given probability distribution. 1) x P(x) 0 0.19 1 0.37 2 0.16 3 0.26 4 0.02 A) 1.64 B) 1.45 C) 1.55 D) 1.74 2) The number of golf balls ordered by customers of

### How To Compare Birds To Other Birds

STT 430/630/ES 760 Lecture Notes: Chapter 7: Two-Sample Inference 1 February 27, 2009 Chapter 7: Two Sample Inference Chapter 6 introduced hypothesis testing in the one-sample setting: one sample is obtained

### " Y. Notation and Equations for Regression Lecture 11/4. Notation:

Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through

### EMPIRICAL FREQUENCY DISTRIBUTION

INTRODUCTION TO MEDICAL STATISTICS: Mirjana Kujundžić Tiljak EMPIRICAL FREQUENCY DISTRIBUTION observed data DISTRIBUTION - described by mathematical models 2 1 when some empirical distribution approximates

### Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Chi-square Goodness of Fit Test The chi-square test is designed to test differences whether one frequency is different from another frequency. The chi-square test is designed for use with data on a nominal

### Tests for Two Proportions

Chapter 200 Tests for Two Proportions Introduction This module computes power and sample size for hypothesis tests of the difference, ratio, or odds ratio of two independent proportions. The test statistics

### 5.1 Identifying the Target Parameter

University of California, Davis Department of Statistics Summer Session II Statistics 13 August 20, 2012 Date of latest update: August 20 Lecture 5: Estimation with Confidence intervals 5.1 Identifying

### Name: (b) Find the minimum sample size you should use in order for your estimate to be within 0.03 of p when the confidence level is 95%.

Chapter 7-8 Exam Name: Answer the questions in the spaces provided. If you run out of room, show your work on a separate paper clearly numbered and attached to this exam. Please indicate which program

### Section 12 Part 2. Chi-square test

Section 12 Part 2 Chi-square test McNemar s Test Section 12 Part 2 Overview Section 12, Part 1 covered two inference methods for categorical data from 2 groups Confidence Intervals for the difference of

### In the general population of 0 to 4-year-olds, the annual incidence of asthma is 1.4%

Hypothesis Testing for a Proportion Example: We are interested in the probability of developing asthma over a given one-year period for children 0 to 4 years of age whose mothers smoke in the home In the

### Math 251, Review Questions for Test 3 Rough Answers

Math 251, Review Questions for Test 3 Rough Answers 1. (Review of some terminology from Section 7.1) In a state with 459,341 voters, a poll of 2300 voters finds that 45 percent support the Republican candidate,

### Introduction to Hypothesis Testing OPRE 6301

Introduction to Hypothesis Testing OPRE 6301 Motivation... The purpose of hypothesis testing is to determine whether there is enough statistical evidence in favor of a certain belief, or hypothesis, about

### "Statistical methods are objective methods by which group trends are abstracted from observations on many separate individuals." 1

BASIC STATISTICAL THEORY / 3 CHAPTER ONE BASIC STATISTICAL THEORY "Statistical methods are objective methods by which group trends are abstracted from observations on many separate individuals." 1 Medicine

### II. DISTRIBUTIONS distribution normal distribution. standard scores

Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,

### LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Period Date LAB : THE CHI-SQUARE TEST Probability, Random Chance, and Genetics Why do we study random chance and probability at the beginning of a unit on genetics? Genetics is the study of inheritance,

### Two Related Samples t Test

Two Related Samples t Test In this example 1 students saw five pictures of attractive people and five pictures of unattractive people. For each picture, the students rated the friendliness of the person

### A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

CHAPTER 5. A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 5.1 Concepts When a number of animals or plots are exposed to a certain treatment, we usually estimate the effect of the treatment

### statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

Summary sheet from last time: Confidence intervals Confidence intervals take on the usual form: parameter = statistic ± t crit SE(statistic) parameter SE a s e sqrt(1/n + m x 2 /ss xx ) b s e /sqrt(ss

### Odds ratio, Odds ratio test for independence, chi-squared statistic.

Odds ratio, Odds ratio test for independence, chi-squared statistic. Announcements: Assignment 5 is live on webpage. Due Wed Aug 1 at 4:30pm. (9 days, 1 hour, 58.5 minutes ) Final exam is Aug 9. Review

### CONTENTS OF DAY 2. II. Why Random Sampling is Important 9 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

1 2 CONTENTS OF DAY 2 I. More Precise Definition of Simple Random Sample 3 Connection with independent random variables 3 Problems with small populations 8 II. Why Random Sampling is Important 9 A myth,

### DATA INTERPRETATION AND STATISTICS

PholC60 September 001 DATA INTERPRETATION AND STATISTICS Books A easy and systematic introductory text is Essentials of Medical Statistics by Betty Kirkwood, published by Blackwell at about 14. DESCRIPTIVE

### Chapter 7 Section 7.1: Inference for the Mean of a Population

Chapter 7 Section 7.1: Inference for the Mean of a Population Now let s look at a similar situation Take an SRS of size n Normal Population : N(, ). Both and are unknown parameters. Unlike what we used

### In the past, the increase in the price of gasoline could be attributed to major national or global

Chapter 7 Testing Hypotheses Chapter Learning Objectives Understanding the assumptions of statistical hypothesis testing Defining and applying the components in hypothesis testing: the research and null

### 1. How different is the t distribution from the normal?

Statistics 101 106 Lecture 7 (20 October 98) c David Pollard Page 1 Read M&M 7.1 and 7.2, ignoring starred parts. Reread M&M 3.2. The effects of estimated variances on normal approximations. t-distributions.

### WISE Power Tutorial All Exercises

ame Date Class WISE Power Tutorial All Exercises Power: The B.E.A.. Mnemonic Four interrelated features of power can be summarized using BEA B Beta Error (Power = 1 Beta Error): Beta error (or Type II

### 4. Continuous Random Variables, the Pareto and Normal Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions A continuous random variable X can take any value in a given range (e.g. height, weight, age). The distribution of a continuous random

### CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS Hypothesis 1: People are resistant to the technological change in the security system of the organization. Hypothesis 2: information hacked and misused. Lack

### Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test Features Of The Chi-Square Statistic The chi-square test is non-parametric. That is, it makes no assumptions about the distribution

### How To Check For Differences In The One Way Anova

MINITAB ASSISTANT WHITE PAPER This paper explains the research conducted by Minitab statisticians to develop the methods and data checks used in the Assistant in Minitab 17 Statistical Software. One-Way

### Simple Linear Regression Inference

Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

### Week 4: Standard Error and Confidence Intervals

Health Sciences M.Sc. Programme Applied Biostatistics Week 4: Standard Error and Confidence Intervals Sampling Most research data come from subjects we think of as samples drawn from a larger population.

### CHI-SQUARE: TESTING FOR GOODNESS OF FIT

CHI-SQUARE: TESTING FOR GOODNESS OF FIT In the previous chapter we discussed procedures for fitting a hypothesized function to a set of experimental data points. Such procedures involve minimizing a quantity

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

STT315 Practice Ch 5-7 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Solve the problem. 1) The length of time a traffic signal stays green (nicknamed