BINF 702 SPRING Chapter 8 Hypothesis Testing: Two-Sample Inference. BINF702 SPRING 2014 Chapter 8 Hypothesis Testing: Two- Sample Inference 1

Size: px
Start display at page:

Download "BINF 702 SPRING Chapter 8 Hypothesis Testing: Two-Sample Inference. BINF702 SPRING 2014 Chapter 8 Hypothesis Testing: Two- Sample Inference 1"

Transcription

1 BINF 702 SPRING 2014 Chapter 8 Hypothesis Testing: Two-Sample Inference Two- Sample Inference 1

2 A Poster Child for two-sample hypothesis testing Ex 8.1 Obstetrics In the birthweight data in Example 7.2, the underlying mean birthweight in one hospital was compared with the underlying mean birthweight in the United States, whose value was assumed known Def. 8.1 In a two-sample hypothesis testing problem, the underlying parameters of two different populations, neither of whose values is assumed known, are compared. Ex. 8.2 Cardiovascular Disease, Hypertension We might be interested in the relationship between the use of oral contraceptives (OC) and the level of blood pressure (BP) in women. Two-Sample Inference 2

3 Equation 8.1 Longitudinal Study 1. Identify a group of nonpregnant, premenenopausal women of childbearing age (16-49) who are not currently OC users, and measure their blood pressure (BP), which will be referred to as baseline blood pressure. 2. Rescreen these women 1 year later to ascertain a subgroup who have remained nonpregnant throughout the year and have become OC users. This subgroup will be the study population. 3. Measure the BP of the study population at the follow-up visit. 4. Compare the baseline and the follow-up BP of the women in the study population to determine the difference between the BP of women when they were using the pill at follow-up and when they were not using the pill at baseline. Two-Sample Inference 3

4 Equation 8.2 Cross-Sectional Study 1. Identify both a group of OC users and a group of non-oc users among non-pregnant, premenopausal women of childbearing age (16-49), and measure their BP. 2. Compare the BP of the OC users and nonusers. Two-Sample Inference 4

5 Paired-Sample Design Def Two samples are said to be paired when each data point of the first sample is matched and is related to a unique data point of the second sample. The longitudinal study described earlier represents a paired sample where each women is being used as her own control. Two-Sample Inference 5

6 Independent Samples The samples in the cross-sectional study are said to be independent because the data points in the first sample are not related to the data points in the second sample. Two-Sample Inference 6

7 Longitudinal or Cross-sectional? Twenty volunteers adopt a low-cholesterol diet for 3 months. The mean +- 1 sd of changes (baseline 3 months) in serum cholesterol over the 3-month period was (mg/dl). Two-Sample Inference 7

8 Longitudinal or Cross-sectional? Severe anxiety often occurs in patients who must undergo chronic hemodialysis. A set of progressive relaxation exercises was shown on a videotape to a group of 38 experimental subjects, while a set of neutral videotapes was shown to a control group of 23 patients who were also on chronic hemodialysis. A psychiatric questionnaire was administered to each patient. Two-Sample Inference 8

9 Longitudinal or Cross-sectional? A new sleeping pill was being tested on a number of volunteers. It was predicted that it would have a differential effect on men and women. There were six men and eight women who agreed to take part in the experiment. Over a two week period they took either a placebo or the sleeping pill. Participants were not aware of which pill they were taking each night. The number of extra hours slept during the seven pill night compared to the seven placebo nights was calculated. The men slept 4, 6, 5, 4, 5 and 6 extra hours and the women slept 3, 8, 7, 6, 7, 6, 7, and 6 extra hours. Is the prediction supported? Two-Sample Inference 9

10 Longitudinal or Cross-sectional? A teacher believed that the children in her class were better at their work in the morning than in the afternoon. She decided to test this out by using a mathematics test as this required the children to concentrate. If there was a post-lunch dip in performance the test should pick it up. She chose a random sample of 8 children from the class and gave them two tests matched on their difficulty. The samples were balanced on the two versions of the test, and what time they were tested first, to control carry-over effects. The tests gave a score out of 10, the higher the score the better the performance. Two-Sample Inference 10

11 Section 8.2 The Paired t Test Equation 8.4 (Paired t Test) Denote the test statistic by t, where s d is the sample standard deviation of the observed differences: s n n 2 i i1 i1 where n = number of matched pairs d 2 d di / n ( n 1) s d d / n If t > t n-1,1-a/2 or t < -t n-1,1-a/2 Then H 0 is rejected. If t t t n1,1 a/ 2 n1,1 a/ 2 then H 0 is accepted. Two-Sample Inference 11

12 Equation 8.5 Computation of the p-value for the Paired t Test If t < 0, If t>=0, d p 2 x[ the area to the left of t under a tn 1 distribution] s / n d d p 2 x[ the area to the right of t under a tn 1 distribution] s / n d Two-Sample Inference 12

13 t test in R Description: Performs one and two sample t-tests on vectors of data. Usage: t.test(x, y = NULL, alternative = c("two.sided", "less", "greater"),mu = 0, paired = FALSE, var.equal = FALSE,conf.level = 0.95,...) Two-Sample Inference 13

14 Paired t-test Example A teacher believed that the children in her class were better at their work in the morning than in the afternoon. She decided to test this out by using a mathematics test as this required the children to concentrate. If there was a post-lunch dip in performance the test should pick it up. She chose a random sample of 8 children from the class and gave them two tests matched on their difficulty. The samples were balanced on the two versions of the test, and what time they were tested first, to control carry-over effects. The tests gave a score out of 10, the higher the score the better the performance. Participant Morning Afternoon Two-Sample Inference 14

15 Paired t test Example (Continued) Two-Sample Inference 15

16 Paired t Test Ex. 8.5 Can you perform the paired t test for example 8.5 in R? Two-Sample Inference 16

17 Section 8.3 Interval Estimation for the Comparison of Means from Two Paired Samples Equation 8.6 (Confidence Interval for the True Difference (D) Between the Underlying Means of Two Paired Samples (Two-Sided)) A two-sided 100% x (1- a) confidence interval for the true mean difference (D) between two paired samples is given by ( d t s / n, d t s / n) n1,1 a/ 2 d n1,1 a/ 2 d Can you duplicate Example 8.7 in R? Two-Sample Inference 17

18 Section 8.4 Two-sample t Test for Independent Samples with Equal Variances Equation 8.11 (Two-Sample t Test for Independent Samples with Equal Variances) Suppose that we wish to test the hypothesis H 0 : m 1 = m 2 versus H 1 :m 1 not equal m 2 with a significance level of a for two normally distributed populations, where s 2 is assumed to be the same for each population. Compute the test statistic: t s s x x n n 1 2 where 1 1 n n 2 n s n s If t > t n1 + n 2-2, 1-a/2 or t < -t n1 + n 2-2, 1-a/2 then H 0 is rejected. If t n1 + n 2 2, BINF702 1 a/2 <= SPRING t <= 2014 t n1 Chapter + n 2-2, 81 Hypothesis a/2 then Testing: H 0 is accepted. Two-Sample Inference 18

19 Equation 8.12 Computation of the p-value for the Two-Sample t Test for Independent Samples with Equal Variances Compute the test statistic. x1 x2 t where 1 1 s n1 n2 n s n s s 1 1 n n If t <= 0, p = 2 x (area to the left of t under a t n1 + n 2 2 distribution) If t > 0, p = 2 x (area to the right of t under a t n1 + n 2 2 distribution) Two-Sample Inference 19

20 An Example of Computation of the p-value for the Two-Sample t Test for Independent Samples with Equal Variances A new sleeping pill was being tested on a number of volunteers. It was predicted that it would have a differential effect on men and women. There were six men and eight women who agreed to take part in the experiment. Over a two week period they took either a placebo or the sleeping pill. Participants were not aware of which pill they were taking each night. The number of extra hours slept during the seven pill night compared to the seven placebo nights was calculated. The men slept 4, 6, 5, 4, 5 and 6 extra hours and the women slept 3, 8, 7, 6, 7, 6, 7, and 6 extra hours. Is the prediction supported? Two-Sample Inference 20

21 Another Example of Computation of the p-value for the Two- Sample t Test for Independent Samples with Equal Variances 18 elastic bands were divided into 9 pairs, with bands of similar stretchiness placed in the same pair. One member of each pair was placed in ot water (60-65 C) for 4 minutes, while the other was left at ambient temperature. After a wait of abut ten minutes, the amounts of stretch, under a 1.35 kg weight, were recorded Heated Ambient Two-Sample Inference 21

22 Another Example of Computation of the p-value for the Two-Sample t Test for Independent Samples with Equal Variances Assuming equal variance test for the equality of the means in R. Two-Sample Inference 22

23 Section 8.5 Interval Estimation for the Comparison of Means from Two Independent Samples (Equal Variance Case) Equation 8.13 Confidence Interval for the Underlying Mean Difference (m 1 m 2 ) Between Two Groups (Two-Sided) (s 1 2 = s 22 ) A two-sided 100% x (1-a) confidence interval for the true mean difference m 1 - m 2 based on two independent samples is given by x x t, x x t 1 2 n1 n2 2,1 a/ n1 n2 2,1 a/ 2 n1 n2 n1 n2 Two-Sample Inference 23

24 Section 8.6 Testing for the Equality of Two Variances Equation 8.15 F-test for the Equability of two variances Suppose we wish to conduct a test of the hypothesis H 0 : s 1 2 = s 2 2 versus H 1 : s 1 2 not equal s 2 2 with significance level a. Compute the test statistic F = s 12 /s 22. If F F or F F n 1, n 1,1 a/ 2 n 1, n 1,1 a/ Then H 0 is rejected. If F F F n 1, n 1, a/ 2 n 1, n 1,1 a/ H 0 is accepted. Two-Sample Inference 24

25 Section 8.6 Testing for the Equality of Two Variances Equation 8.16 Computation of the p-value for the F test for the Equality of Two Variances Compute the test statistic F = s 12 /s 2 2 If F >= 1, then p 2*Pr Fn 1, n 1 F 1 2 If F < 1, then p 2*Pr Fn 1, n 1 F 1 2 Two-Sample Inference 25

26 Testing the Equality of Variances in R var.test In library STATS Description Performs an F test to compare the variances of two samples from normal populations. Usage var.test(x, y, ratio = 1, alternative = c("two.sided", "less", "greater"), conf.level = 0.95,...) var.test(formula, data, subset, na.action,...) Two-Sample Inference 26

27 A Pedagogical Example (Testing the Equality of Two Variances) Consider the following heart weight data Obs. # THW (disease) THW(normal) Two-Sample Inference Test for the equality of variances. 27

28 Our Pedagogical Example Continued Two-Sample Inference 28

29 Section 8.7 Two-Sample t Test for Independent Samples with Unequal Variances Equation 8.21 Two-Sample t Test for Independent Samples with Unequal Variances (Satterthwaite s Method) Compute the test statistic t x x s1 s2 ( ) n n 1 2 Compute the approximate degree of freedom d, where d ' s1 / n1 s2 / n2 2 2 s / n1 / n1 1 s2 / n2 / n2 1 Round d down to the nearest integer d 1. If t > y d,1-a/2 or t < -t d,1-a/2 then reject H If t d,1-a/2 <=t<= td,1-a/2 then accept H 0 Two-Sample Inference 29

30 Section 8.7 Two-Sample t Test for Independent Samples with Unequal Variances Equation 8.22 Computation of the p-value for the Two-Sample Test for Independent Samples with Unequal Variances (Satterthwaite Approximation) Compute the test statistic x1 x2 t 2 2 s1 s2 ( ) n n 1 2 If t <= 0, p = 2 * (area to the left of t under a t d distribution) If t > 0, then p = 2 * (area to the right of t under a t d distribution) Where d is as defined in equation Two-Sample Inference 30

31 Two-Sample Inference First column is patient id. Second column is mean hospital stay in days Third column is antibiotic code, 1 = yes, 2 = no. Compare the mean hospital stay between antibiotic patients and non-antibiotic patients 31

32 Pedagogical Example Continued (Setting up the data and testing for equality of variances) Two-Sample Inference 32

33 Pedagogical Example (cont.) Running the t Test Two-Sample Inference 33

34 A Simple Strategy for Testing the Equality of Means in Two Independent Normally Distributed Samples Significant Test for equality of variance with var.test Not significant Run t-test with t.test(x,y) Run t-test with t.test(x,y,var.equal=t ) Two-Sample Inference 34

35 Section 8.7 Two-Sample t Test for Independent Samples with Unequal Variances Equation 8.23 Two-Sided 100% x (1-a) Confidence Interval for m 1 m 2 (s 1 2 not equal s 22 ) 2 / 2 /, 2 / 2 / 1 2 d'',1 a/ d'',1 a/ x x t s n s n x x t s n s n Two-Sample Inference 35

36 Section 8.9 on the Treatment of Outliers Is Being Skipped Two- Sample Inference 36

37 Section 8.10 Estimation of Sample Size and Power for Comparing Two Means Equation 8.26 Sample Size Needed for Comparing the Means of Two Normally Distributed Samples of Equal Size Using a Two-Sided Test with Significance Level a and Power 1-b n 2 2 s 2 1 s2 z1 a/ 2 z1 b m m The means and variances of the two respective groups are (m 1, s 12 ) and (m 2, s 22 ). Two-Sample Inference 37

38 Equation 8.26 Example Blood flow is known to be very reduced in certain parts of the brain in people watching WWF television programs. Suppose we plan a n observational study to compare cerebral blood flow in stroke-prone people (with transient ischemic attacks, or TIAs, where neurological function is temporarily lost) vs stroke-age normal controls (age 50-70). We will use mean blood flow over the entire brain as an outcome variable. How many subjects do we need per group to have a 90% chance of finding a significant difference, if we plan to enroll an equal number of subjects per group? Write an R function to calculate this in general. Mean Sd Stoke prone Normal Two-Sample Inference 38

39 Our R function for Equation 8.26 Two-Sample Inference 39

40 Section 8.10 Estimation of Sample Size and Power for Comparing Two Means Equation 8.27 Sample Size Needed for Comparing the Means of Two Normally Distributed Samples of Unequal Size Using a Two-Sided Test with Significance Level a and Power 1-b 2 2 s1 s2 / k z1 a/ 2 z1 n 2 b 1 2 m m 2 1 k n n 2 1 n ks s2 z1 a/ 2 z1 b 2 2 m m 2 1 Two-Sample Inference 40

41 Section 8.10 Estimation of Sample Size and Power for Comparing Two Means Equation 8.28 Power for Comparing the Means of Two Normally Distributed Samples Using a Two-Sided Test with Significance Level a To test the hypothesis H 0 :m 1 = m 2 versus H 1 :m 1 not equal m 2 for the specific alternative m 1 m 2 = D with significance level a Power z 1 a / 2 D s / n s / n Where (m 1, s 12 ), (m 2, s 22 ) are the means and the variances of the two respective groups and n 1, n 2 are the two sample sizes. Two-Sample Inference 41

42 Write a function to calculate power using Eq Two-Sample Inference 42

43 Using Our Function to Plot a Power Curve Our Power Plot Two-Sample Inference 43

44 What if we have one-sided rather than two-sided tests? It is important to note that if we wish to compute sample sizes in the case of a one-sided test rather than a two-sided test one can merely replace a/2 by a in Equations 8.26 and It is important to note that to calculate power for a one-sided rather than a two-sided test, we can simply substitute a for a/2 in Equation 8.28 Two-Sample Inference 44

45 Section 8.11 Sample-Size Estimation for Longitudinal Studies Equation 8.30 Sample Size Needed for Longitudinal Studies Comparing Mean Change in Two Normally Distributed Samples with Two Time Points Suppose we are planning a longitudinal study with an equal number of subjects (n) in each of two groups. We wish to test the hypothesis H 0 :m 1 = m 2 versus H 1 :m 1 not equal m 2, where m 1 is the mean change over time t in group 1 and m 2 = mean change over time t in group 2. We will consider a two-sided test at level a and wish to have a power 1-b of detecting a significant difference m 1 m 2 = d under H 1. The require sample size per group is z 2 1 a/ 2 z1 b 2 2s d n 2 d s s s 2rs s d s 2 1 is the variance of baseline values within the treatment group, s 2 2 is the variance of follow-up values, and r is the correlation coefficient between baseline and follow-up values within a treatment group Two-Sample Inference 45

46 Section 8.11 Sample-Size Estimation for Longitudinal Studies Equation 8.31 Power of a Longitudinal Study Comparing Mean Change Between Two Normally Distributed Samples with Two Time Points To test the hypothesis H 0 :m 1 = m 2 versus H 1 :m 1 not equal m 2, where m 1 is the mean change over time t in group 1 and m 2 = mean change over time t in group 2 for the specific alternative m 1 m 2 = d under H 1 with a two-sided significance level a, and sample size n in each group, the power is given by nd Power z1 a / 2 s d 2 s s s 2rs s d s 1 2 is the variance of baseline values within the treatment group, s 2 2 is the variance of follow-up values, and r is the correlation coefficient between baseline and follow-up values within a treatment group Two-Sample Inference 46

47 Challenge Problems Two- Sample Inference 47

48 Challenge Problem #1 A study in Pittsburg looked at various cardiovascular risk factors in children, as measured at birth and during their first five years of life. In particular, heart rate was assessed at birth, 5 months, 15 months, 24 months, and annually thereafter until 5 years of age. Heart rate was related to age, sex, race, and socioeconomic status. The data in the table below presents heart rate to race among new-borns. Test for a statistically significant mean heart rate between white and black newborns. Mean Race (beats per minute) Sd N White Black 133 BINF SPRING Chapter 8 Hypothesis Testing: Two-Sample Inference 48

49 Challenge Problem # 1 Solution Two-Sample Inference 49

50 Homework HW 8.2, 8.3, 8.4, 8.5, 8.6, 8.19, 8.20, 8.21, 8.22, 8.25, 8.26, 8.27, 8.28, 8.29, 8.30 Two-Sample Inference 50

Two sample hypothesis testing

Two sample hypothesis testing Statistics February 26, 2014 Debdeep Pati Two sample hypothesis testing 1. Suppose we want to study the relationship between use of oral contraceptives (OC) and level of blood pressure (BP) in women. 2.

More information

BINF702 SPRING 2015 Chapter 7 Hypothesis Testing: One-Sample Inference

BINF702 SPRING 2015 Chapter 7 Hypothesis Testing: One-Sample Inference BINF702 SPRING 2015 Chapter 7 Hypothesis Testing: One-Sample Inference BINF702 SPRING 2014 Chapter 7 Hypothesis Testing 1 Section 7.9 One-Sample c 2 Test for the Variance of a Normal Distribution Eq. 7.40

More information

T test for two Independent Samples. Raja, BSc.N, DCHN, RN Nursing Instructor Acknowledgement: Ms. Saima Hirani June 07, 2016

T test for two Independent Samples. Raja, BSc.N, DCHN, RN Nursing Instructor Acknowledgement: Ms. Saima Hirani June 07, 2016 T test for two Independent Samples Raja, BSc.N, DCHN, RN Nursing Instructor Acknowledgement: Ms. Saima Hirani June 07, 2016 Q1. The mean serum creatinine level is measured in 36 patients after they received

More information

MAT 2379, Introduction to Biostatistics, Sample Calculator Questions 1. MAT 2379, Introduction to Biostatistics

MAT 2379, Introduction to Biostatistics, Sample Calculator Questions 1. MAT 2379, Introduction to Biostatistics MAT 2379, Introduction to Biostatistics, Sample Calculator Questions 1 MAT 2379, Introduction to Biostatistics Sample Calculator Problems for the Final Exam Note: The exam will also contain some problems

More information

Answer keys for Assignment 10: Measurement of study variables (The correct answer is underlined in bold text)

Answer keys for Assignment 10: Measurement of study variables (The correct answer is underlined in bold text) Answer keys for Assignment 10: Measurement of study variables (The correct answer is underlined in bold text) 1. A quick and easy indicator of dispersion is a. Arithmetic mean b. Variance c. Standard deviation

More information

Power of a test. Hypothesis testing

Power of a test. Hypothesis testing Hypothesis testing February 11, 2014 Debdeep Pati Power of a test 1. Assuming standard deviation is known. Calculate power based on one-sample z test. A new drug is proposed for people with high intraocular

More information

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings Yujin Chung October 4th, 2016 Fall 2016 Yujin Chung Lec6: Statistical hypothesis testings Fall 2016 1/30 Previous Two types of statistical

More information

Announcements. Topics: To Do:

Announcements. Topics: To Do: Announcements Topics: In the Probability and Statistics module: - Sections 1 + 2: Introduction to Stochastic Models - Section 3: Basics of Probability Theory - Section 4: Conditional Probability; Law of

More information

Welcome! Webinar Biostatistics: sample size & power. Thursday, April 26, 12:30 1:30 pm (NDT)

Welcome! Webinar Biostatistics: sample size & power. Thursday, April 26, 12:30 1:30 pm (NDT) . Welcome! Webinar Biostatistics: sample size & power Thursday, April 26, 12:30 1:30 pm (NDT) Get started now: Please check if your speakers are working and mute your audio. Please use the chat box to

More information

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users BIOSTATS 640 Spring 2017 Review of Introductory Biostatistics STATA solutions Page 1 of 16 Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users #1. The following table lists length of

More information

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples Objective Section 9.4 Inferences About Two Means (Matched Pairs) Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means

More information

E509A: Principle of Biostatistics. GY Zou

E509A: Principle of Biostatistics. GY Zou E509A: Principle of Biostatistics (Week 4: Inference for a single mean ) GY Zou gzou@srobarts.ca Example 5.4. (p. 183). A random sample of n =16, Mean I.Q is 106 with standard deviation S =12.4. What

More information

DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions.

DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions. Section 0. Comparing Two Proportions Learning Objectives After this section, you should be able to DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence

More information

Inference for Distributions Inference for the Mean of a Population

Inference for Distributions Inference for the Mean of a Population Inference for Distributions Inference for the Mean of a Population PBS Chapter 7.1 009 W.H Freeman and Company Objectives (PBS Chapter 7.1) Inference for the mean of a population The t distributions The

More information

10.1. Comparing Two Proportions. Section 10.1

10.1. Comparing Two Proportions. Section 10.1 /6/04 0. Comparing Two Proportions Sectio0. Comparing Two Proportions After this section, you should be able to DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET

More information

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability and Probability Distributions. Dr. Mohammed Alahmed Probability and Probability Distributions 1 Probability and Probability Distributions Usually we want to do more with data than just describing them! We might want to test certain specific inferences about

More information

Sampling Distributions: Central Limit Theorem

Sampling Distributions: Central Limit Theorem Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)

More information

Confidence Intervals with σ unknown

Confidence Intervals with σ unknown STAT 141 Confidence Intervals and Hypothesis Testing 10/26/04 Today (Chapter 7): CI with σ unknown, t-distribution CI for proportions Two sample CI with σ known or unknown Hypothesis Testing, z-test Confidence

More information

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015 AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking

More information

Unit 9 ONE Sample Inference SOLUTIONS

Unit 9 ONE Sample Inference SOLUTIONS BIOSTATS 540 Fall 017 Introductory Biostatistics Solutions Unit 9 ONE Sample Inference SOLUTIONS 1. This exercise gives you practice calculating a confidence interval for the mean of a Normal distribution

More information

# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance

# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance Practice Final Exam Statistical Methods and Models - Math 410, Fall 2011 December 4, 2011 You may use a calculator, and you may bring in one sheet (8.5 by 11 or A4) of notes. Otherwise closed book. The

More information

Chapter 11. Correlation and Regression

Chapter 11. Correlation and Regression Chapter 11. Correlation and Regression The word correlation is used in everyday life to denote some form of association. We might say that we have noticed a correlation between foggy days and attacks of

More information

Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power)

Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power) Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power) 1. A researcher plans to do a two-tailed hypothesis test with a sample of n = 100 people and a

More information

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING LECTURE 1 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING INTERVAL ESTIMATION Point estimation of : The inference is a guess of a single value as the value of. No accuracy associated with it. Interval estimation

More information

Two Sample Problems. Two sample problems

Two Sample Problems. Two sample problems Two Sample Problems Two sample problems The goal of inference is to compare the responses in two groups. Each group is a sample from a different population. The responses in each group are independent

More information

Difference Between Pair Differences v. 2 Samples

Difference Between Pair Differences v. 2 Samples 1 Sectio1.1 Comparing Two Proportions Learning Objectives After this section, you should be able to DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence

More information

UNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S. Duration - 3 hours. Aids Allowed: Calculator

UNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S. Duration - 3 hours. Aids Allowed: Calculator UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S Duration - 3 hours Aids Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: There are 17 pages including

More information

Chapter 9. Hypothesis testing. 9.1 Introduction

Chapter 9. Hypothesis testing. 9.1 Introduction Chapter 9 Hypothesis testing 9.1 Introduction Confidence intervals are one of the two most common types of statistical inference. Use them when our goal is to estimate a population parameter. The second

More information

Testing a Claim about the Difference in 2 Population Means Independent Samples. (there is no difference in Population Means µ 1 µ 2 = 0) against

Testing a Claim about the Difference in 2 Population Means Independent Samples. (there is no difference in Population Means µ 1 µ 2 = 0) against Section 9 2A Lecture Testing a Claim about the Difference i Population Means Independent Samples Test H 0 : µ 1 = µ 2 (there is no difference in Population Means µ 1 µ 2 = 0) against H 1 : µ 1 > µ 2 or

More information

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1 PHP2510: Principles of Biostatistics & Data Analysis Lecture X: Hypothesis testing PHP 2510 Lec 10: Hypothesis testing 1 In previous lectures we have encountered problems of estimating an unknown population

More information

STA6938-Logistic Regression Model

STA6938-Logistic Regression Model Dr. Ying Zhang STA6938-Logistic Regression Model Topic 6-Logistic Regression for Case-Control Studies Outlines: 1. Biomedical Designs 2. Logistic Regression Models for Case-Control Studies 3. Logistic

More information

Classification & Regression. Multicollinearity Intro to Nominal Data

Classification & Regression. Multicollinearity Intro to Nominal Data Multicollinearity Intro to Nominal Let s Start With A Question y = β 0 + β 1 x 1 +β 2 x 2 y = Anxiety Level x 1 = heart rate x 2 = recorded pulse Since we can all agree heart rate and pulse are related,

More information

ST 732, Midterm Solutions Spring 2019

ST 732, Midterm Solutions Spring 2019 ST 732, Midterm Solutions Spring 2019 Please sign the following pledge certifying that the work on this test is your own: I have neither given nor received aid on this test. Signature: Printed Name: There

More information

STAT 201 Assignment 6

STAT 201 Assignment 6 STAT 201 Assignment 6 Partial Solutions 12.1 Research question: Do parents in the school district support the new education program? Parameter: p = proportion of all parents in the school district who

More information

An inferential procedure to use sample data to understand a population Procedures

An inferential procedure to use sample data to understand a population Procedures Hypothesis Test An inferential procedure to use sample data to understand a population Procedures Hypotheses, the alpha value, the critical region (z-scores), statistics, conclusion Two types of errors

More information

Chapter 20 Comparing Groups

Chapter 20 Comparing Groups Chapter 20 Comparing Groups Comparing Proportions Example Researchers want to test the effect of a new anti-anxiety medication. In clinical testing, 64 of 200 people taking the medicine reported symptoms

More information

TA: Sheng Zhgang (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan (W 1:20) / 346 (Th 12:05) FINAL EXAM

TA: Sheng Zhgang (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan (W 1:20) / 346 (Th 12:05) FINAL EXAM STAT 301, Fall 2011 Name Lec 4: Ismor Fischer Discussion Section: Please circle one! TA: Sheng Zhgang... 341 (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan... 345 (W 1:20) / 346 (Th

More information

DISCRETE PROBABILITY DISTRIBUTIONS

DISCRETE PROBABILITY DISTRIBUTIONS DISCRETE PROBABILITY DISTRIBUTIONS REVIEW OF KEY CONCEPTS SECTION 41 Random Variable A random variable X is a numerically valued quantity that takes on specific values with different probabilities The

More information

S D / n t n 1 The paediatrician observes 3 =

S D / n t n 1 The paediatrician observes 3 = Non-parametric tests Paired t-test A paediatrician measured the blood cholesterol of her patients and was worried to note that some had levels over 00mg/100ml To investigate whether dietary regulation

More information

Chapter 10: Comparing Two Populations or Groups

Chapter 10: Comparing Two Populations or Groups Chapter 10: Comparing Two Populations or Groups Sectio0.1 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 10 Comparing Two Populations or Groups 10.1 10.2 Comparing Two Means

More information

Comparing Means from Two-Sample

Comparing Means from Two-Sample Comparing Means from Two-Sample Kwonsang Lee University of Pennsylvania kwonlee@wharton.upenn.edu April 3, 2015 Kwonsang Lee STAT111 April 3, 2015 1 / 22 Inference from One-Sample We have two options to

More information

Two-sample inference: Continuous Data

Two-sample inference: Continuous Data Two-sample inference: Continuous Data November 5 Diarrhea Diarrhea is a major health problem for babies, especially in underdeveloped countries Diarrhea leads to dehydration, which results in millions

More information

Fundamentals to Biostatistics. Prof. Chandan Chakraborty Associate Professor School of Medical Science & Technology IIT Kharagpur

Fundamentals to Biostatistics. Prof. Chandan Chakraborty Associate Professor School of Medical Science & Technology IIT Kharagpur Fundamentals to Biostatistics Prof. Chandan Chakraborty Associate Professor School of Medical Science & Technology IIT Kharagpur Statistics collection, analysis, interpretation of data development of new

More information

Chapter 10: Comparing Two Populations or Groups

Chapter 10: Comparing Two Populations or Groups Chapter 10: Comparing Two Populations or Groups Sectio0.1 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 10 Comparing Two Populations or Groups 10.1 10. Comparing Two Means

More information

= X+(z.95)SE(X) X-(z.95)SE(X)

= X+(z.95)SE(X) X-(z.95)SE(X) BIOSTATS 540 Fall 05 Introductory Biostatistics Page of 6 Unit 6 Estimation Homework #0 (Unit 6 Estimation, part of ) SOLUTIONS. Alzheimers disease has a poorer prognosis when it is diagnosed at a relatively

More information

Null Hypothesis Significance Testing p-values, significance level, power, t-tests

Null Hypothesis Significance Testing p-values, significance level, power, t-tests Null Hypothesis Significance Testing p-values, significance level, power, t-tests 18.05 Spring 2014 January 1, 2017 1 /22 Understand this figure f(x H 0 ) x reject H 0 don t reject H 0 reject H 0 x = test

More information

LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2

LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2 LAB 2. HYPOTHESIS TESTING IN THE BIOLOGICAL SCIENCES- Part 2 Data Analysis: The mean egg masses (g) of the two different types of eggs may be exactly the same, in which case you may be tempted to accept

More information

a Sample By:Dr.Hoseyn Falahzadeh 1

a Sample By:Dr.Hoseyn Falahzadeh 1 In the name of God Determining ee the esize eof a Sample By:Dr.Hoseyn Falahzadeh 1 Sample Accuracy Sample accuracy: refers to how close a random sample s statistic is to the true population s value it

More information

Tutorial 4: Power and Sample Size for the Two-sample t-test with Unequal Variances

Tutorial 4: Power and Sample Size for the Two-sample t-test with Unequal Variances Tutorial 4: Power and Sample Size for the Two-sample t-test with Unequal Variances Preface Power is the probability that a study will reject the null hypothesis. The estimated probability is a function

More information

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1 Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 9 1 This the last day the class meets before spring break starts. Please make sure to be present for the test or make appropriate

More information

Hypothesis testing: Steps

Hypothesis testing: Steps Review for Exam 2 Hypothesis testing: Steps Repeated-Measures ANOVA 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region

More information

Essential Question: How are the mean and the standard deviation determined from a discrete probability distribution?

Essential Question: How are the mean and the standard deviation determined from a discrete probability distribution? Probability and Statistics The Binomial Probability Distribution and Related Topics Chapter 5 Section 1 Introduction to Random Variables and Probability Distributions Essential Question: How are the mean

More information

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS In our work on hypothesis testing, we used the value of a sample statistic to challenge an accepted value of a population parameter. We focused only

More information

79 Wyner Math Academy I Spring 2016

79 Wyner Math Academy I Spring 2016 79 Wyner Math Academy I Spring 2016 CHAPTER NINE: HYPOTHESIS TESTING Review May 11 Test May 17 Research requires an understanding of underlying mathematical distributions as well as of the research methods

More information

Hypothesis Testing Chap 10p460

Hypothesis Testing Chap 10p460 Hypothesis Testing Chap 1p46 Elements of a statistical test p462 - Null hypothesis - Alternative hypothesis - Test Statistic - Rejection region Rejection Region p462 The rejection region (RR) specifies

More information

Solution E[sum of all eleven dice] = E[sum of ten d20] + E[one d6] = 10 * E[one d20] + E[one d6]

Solution E[sum of all eleven dice] = E[sum of ten d20] + E[one d6] = 10 * E[one d20] + E[one d6] Name: SOLUTIONS Midterm (take home version) To help you budget your time, questions are marked with *s. One * indicates a straight forward question testing foundational knowledge. Two ** indicate a more

More information

Hypothesis testing: Steps

Hypothesis testing: Steps Review for Exam 2 Hypothesis testing: Steps Exam 2 Review 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region 3. Compute

More information

Population 1 Population 2

Population 1 Population 2 Two Population Case Testing the Difference Between Two Population Means Sample of Size n _ Sample mean = x Sample s.d.=s x Sample of Size m _ Sample mean = y Sample s.d.=s y Pop n mean=μ x Pop n s.d.=

More information

= 1 i. normal approximation to χ 2 df > df

= 1 i. normal approximation to χ 2 df > df χ tests 1) 1 categorical variable χ test for goodness-of-fit ) categorical variables χ test for independence (association, contingency) 3) categorical variables McNemar's test for change χ df k (O i 1

More information

Basic Statistics and Probability Chapter 9: Inferences Based on Two Samples: Confidence Intervals and Tests of Hypotheses

Basic Statistics and Probability Chapter 9: Inferences Based on Two Samples: Confidence Intervals and Tests of Hypotheses Basic Statistics and Probability Chapter 9: Inferences Based on Two Samples: Confidence Intervals and Tests of Hypotheses Identifying the Target Parameter Comparing Two Population Means: Independent Sampling

More information

[ z = 1.48 ; accept H 0 ]

[ z = 1.48 ; accept H 0 ] CH 13 TESTING OF HYPOTHESIS EXAMPLES Example 13.1 Indicate the type of errors committed in the following cases: (i) H 0 : µ = 500; H 1 : µ 500. H 0 is rejected while H 0 is true (ii) H 0 : µ = 500; H 1

More information

Final Exam - Solutions

Final Exam - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis March 17, 2010 Instructor: John Parman Final Exam - Solutions You have until 12:30pm to complete this exam. Please remember to put your

More information

Comparison of Two Population Means

Comparison of Two Population Means Comparison of Two Population Means Esra Akdeniz March 15, 2015 Independent versus Dependent (paired) Samples We have independent samples if we perform an experiment in two unrelated populations. We have

More information

4 Hypothesis testing. 4.1 Types of hypothesis and types of error 4 HYPOTHESIS TESTING 49

4 Hypothesis testing. 4.1 Types of hypothesis and types of error 4 HYPOTHESIS TESTING 49 4 HYPOTHESIS TESTING 49 4 Hypothesis testing In sections 2 and 3 we considered the problem of estimating a single parameter of interest, θ. In this section we consider the related problem of testing whether

More information

1. What does the alternate hypothesis ask for a one-way between-subjects analysis of variance?

1. What does the alternate hypothesis ask for a one-way between-subjects analysis of variance? 1. What does the alternate hypothesis ask for a one-way between-subjects analysis of variance? 2. What is the difference between between-group variability and within-group variability? 3. What does between-group

More information

Sample Size. Vorasith Sornsrivichai, MD., FETP Epidemiology Unit, Faculty of Medicine Prince of Songkla University

Sample Size. Vorasith Sornsrivichai, MD., FETP Epidemiology Unit, Faculty of Medicine Prince of Songkla University Sample Size Vorasith Sornsrivichai, MD., FETP Epidemiology Unit, Faculty of Medicine Prince of Songkla University All nature is but art, unknown to thee; All chance, direction, which thou canst not see;

More information

Analysis of Longitudinal Data. Patrick J. Heagerty PhD Department of Biostatistics University of Washington

Analysis of Longitudinal Data. Patrick J. Heagerty PhD Department of Biostatistics University of Washington Analysis of Longitudinal Data Patrick J Heagerty PhD Department of Biostatistics University of Washington Auckland 8 Session One Outline Examples of longitudinal data Scientific motivation Opportunities

More information

COMPARING GROUPS PART 1CONTINUOUS DATA

COMPARING GROUPS PART 1CONTINUOUS DATA COMPARING GROUPS PART 1CONTINUOUS DATA Min Chen, Ph.D. Assistant Professor Quantitative Biomedical Research Center Department of Clinical Sciences Bioinformatics Shared Resource Simmons Comprehensive Cancer

More information

Treatment Intake Form

Treatment Intake Form Sally Valentine, PhD, LCSW 1 W. Camino Real, Suite 202, Boca Raton, FL 33432 drsallyvalentine@me.com 561.391.3305 Treatment Intake Form Please complete all information on this form and bring it to your

More information

Medical statistics part I, autumn 2010: One sample test of hypothesis

Medical statistics part I, autumn 2010: One sample test of hypothesis Medical statistics part I, autumn 2010: One sample test of hypothesis Eirik Skogvoll Consultant/ Professor Faculty of Medicine Dept. of Anaesthesiology and Emergency Medicine 1 What is a hypothesis test?

More information

Practice problems from chapters 2 and 3

Practice problems from chapters 2 and 3 Practice problems from chapters and 3 Question-1. For each of the following variables, indicate whether it is quantitative or qualitative and specify which of the four levels of measurement (nominal, ordinal,

More information

Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS

Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS Stat 135, Fall 2006 A. Adhikari HOMEWORK 10 SOLUTIONS 1a) The model is cw i = β 0 + β 1 el i + ɛ i, where cw i is the weight of the ith chick, el i the length of the egg from which it hatched, and ɛ i

More information

Aim #92: How do we interpret and calculate deviations from the mean? How do we calculate the standard deviation of a data set?

Aim #92: How do we interpret and calculate deviations from the mean? How do we calculate the standard deviation of a data set? Aim #92: How do we interpret and calculate deviations from the mean? How do we calculate the standard deviation of a data set? 5-1-17 Homework: handout Do Now: Using the graph below answer the following

More information

Chapter 7. Inference for Distributions. Introduction to the Practice of STATISTICS SEVENTH. Moore / McCabe / Craig. Lecture Presentation Slides

Chapter 7. Inference for Distributions. Introduction to the Practice of STATISTICS SEVENTH. Moore / McCabe / Craig. Lecture Presentation Slides Chapter 7 Inference for Distributions Introduction to the Practice of STATISTICS SEVENTH EDITION Moore / McCabe / Craig Lecture Presentation Slides Chapter 7 Inference for Distributions 7.1 Inference for

More information

Intro to Confidence Intervals: A estimate is a single statistic based on sample data to estimate a population parameter Simplest approach But not always very precise due to variation in the sampling distribution

More information

The Purpose of Hypothesis Testing

The Purpose of Hypothesis Testing Section 8 1A:! An Introduction to Hypothesis Testing The Purpose of Hypothesis Testing See s Candy states that a box of it s candy weighs 16 oz. They do not mean that every single box weights exactly 16

More information

Ron Heck, Fall Week 3: Notes Building a Two-Level Model

Ron Heck, Fall Week 3: Notes Building a Two-Level Model Ron Heck, Fall 2011 1 EDEP 768E: Seminar on Multilevel Modeling rev. 9/6/2011@11:27pm Week 3: Notes Building a Two-Level Model We will build a model to explain student math achievement using student-level

More information

Simple Linear Regression: One Qualitative IV

Simple Linear Regression: One Qualitative IV Simple Linear Regression: One Qualitative IV 1. Purpose As noted before regression is used both to explain and predict variation in DVs, and adding to the equation categorical variables extends regression

More information

Introduction to Statistics for the Social Sciences Review for Exam 4 Homework Assignment 27

Introduction to Statistics for the Social Sciences Review for Exam 4 Homework Assignment 27 Introduction to Statistics for the Social Sciences Review for Exam 4 Homework Assignment 27 Name: Lab: The purpose of this worksheet is to review the material to be represented in Exam 4. Please answer

More information

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01 An Analysis of College Algebra Exam s December, 000 James D Jones Math - Section 0 An Analysis of College Algebra Exam s Introduction Students often complain about a test being too difficult. Are there

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science

UNIVERSITY OF TORONTO Faculty of Arts and Science UNIVERSITY OF TORONTO Faculty of Arts and Science December 2013 Final Examination STA442H1F/2101HF Methods of Applied Statistics Jerry Brunner Duration - 3 hours Aids: Calculator Model(s): Any calculator

More information

Statistics 100 Exam 2 March 8, 2017

Statistics 100 Exam 2 March 8, 2017 STAT 100 EXAM 2 Spring 2017 (This page is worth 1 point. Graded on writing your name and net id clearly and circling section.) PRINT NAME (Last name) (First name) net ID CIRCLE SECTION please! L1 (MWF

More information

Introduction to Statistical Analysis. Cancer Research UK 12 th of February 2018 D.-L. Couturier / M. Eldridge / M. Fernandes [Bioinformatics core]

Introduction to Statistical Analysis. Cancer Research UK 12 th of February 2018 D.-L. Couturier / M. Eldridge / M. Fernandes [Bioinformatics core] Introduction to Statistical Analysis Cancer Research UK 12 th of February 2018 D.-L. Couturier / M. Eldridge / M. Fernandes [Bioinformatics core] 2 Timeline 9:30 Morning I I 45mn Lecture: data type, summary

More information

Chapter 22. Comparing Two Proportions 1 /29

Chapter 22. Comparing Two Proportions 1 /29 Chapter 22 Comparing Two Proportions 1 /29 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /29 Objective Students test null and alternate hypothesis about two population proportions. 3 /29 Comparing Two

More information

Tutorial 6: Tutorial on Translating between GLIMMPSE Power Analysis and Data Analysis. Acknowledgements:

Tutorial 6: Tutorial on Translating between GLIMMPSE Power Analysis and Data Analysis. Acknowledgements: Tutorial 6: Tutorial on Translating between GLIMMPSE Power Analysis and Data Analysis Anna E. Barón, Keith E. Muller, Sarah M. Kreidler, and Deborah H. Glueck Acknowledgements: The project was supported

More information

SMAM 314 Exam 42 Name

SMAM 314 Exam 42 Name SMAM 314 Exam 42 Name Mark the following statements True (T) or False (F) (10 points) 1. F A. The line that best fits points whose X and Y values are negatively correlated should have a positive slope.

More information

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses. 1 Review: Let X 1, X,..., X n denote n independent random variables sampled from some distribution might not be normal!) with mean µ) and standard deviation σ). Then X µ σ n In other words, X is approximately

More information

1. Types of Biological Data 2. Summary Descriptive Statistics

1. Types of Biological Data 2. Summary Descriptive Statistics Lecture 1: Basic Descriptive Statistics 1. Types of Biological Data 2. Summary Descriptive Statistics Measures of Central Tendency Measures of Dispersion 3. Assignments 1. Types of Biological Data Scales

More information

MATH 227 CP 7 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

MATH 227 CP 7 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. MATH 227 CP 7 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Find the mean, µ, for the binomial distribution which has the stated values of n and p.

More information

The t-distribution. Patrick Breheny. October 13. z tests The χ 2 -distribution The t-distribution Summary

The t-distribution. Patrick Breheny. October 13. z tests The χ 2 -distribution The t-distribution Summary Patrick Breheny October 13 Patrick Breheny Biostatistical Methods I (BIOS 5710) 1/25 Introduction Introduction What s wrong with z-tests? So far we ve (thoroughly!) discussed how to carry out hypothesis

More information

Math 101: Elementary Statistics Tests of Hypothesis

Math 101: Elementary Statistics Tests of Hypothesis Tests of Hypothesis Department of Mathematics and Computer Science University of the Philippines Baguio November 15, 2018 Basic Concepts of Statistical Hypothesis Testing A statistical hypothesis is an

More information

Chapter 2 Exercise Solutions. Chapter 2

Chapter 2 Exercise Solutions. Chapter 2 Chapter 2 Exercise Solutions Chapter 2 2.3.1. (a) Cumulative Class Cumulative Relative relative interval Frequency frequency frequency frequency 0-0.49 3 3 3.33 3.33.5-0.99 3 6 3.33 6.67 1.0-1.49 15 21

More information

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z). Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z). For example P(X.04) =.8508. For z < 0 subtract the value from,

More information

Two-sample inference: Continuous data

Two-sample inference: Continuous data Two-sample inference: Continuous data Patrick Breheny April 6 Patrick Breheny University of Iowa to Biostatistics (BIOS 4120) 1 / 36 Our next several lectures will deal with two-sample inference for continuous

More information

BIOE 198MI Biomedical Data Analysis. Spring Semester Lab 5: Introduction to Statistics

BIOE 198MI Biomedical Data Analysis. Spring Semester Lab 5: Introduction to Statistics BIOE 98MI Biomedical Data Analysis. Spring Semester 209. Lab 5: Introduction to Statistics A. Review: Ensemble and Sample Statistics The normal probability density function (pdf) from which random samples

More information

Two sided, two sample t-tests. a) IQ = 100 b) Average height for men = c) Average number of white blood cells per cubic millimeter is 7,000.

Two sided, two sample t-tests. a) IQ = 100 b) Average height for men = c) Average number of white blood cells per cubic millimeter is 7,000. Two sided, two sample t-tests. I. Brief review: 1) We are interested in how a sample compares to some pre-conceived notion. For example: a) IQ = 100 b) Average height for men = 5 10. c) Average number

More information

HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă

HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă HYPOTHESIS TESTING II TESTS ON MEANS Sorana D. Bolboacă OBJECTIVES Significance value vs p value Parametric vs non parametric tests Tests on means: 1 Dec 14 2 SIGNIFICANCE LEVEL VS. p VALUE Materials and

More information

Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam. June 8 th, 2016: 9am to 1pm

Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam. June 8 th, 2016: 9am to 1pm Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam June 8 th, 2016: 9am to 1pm Instructions: 1. This is exam is to be completed independently. Do not discuss your work with

More information

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2 Review 6 Use the traditional method to test the given hypothesis. Assume that the samples are independent and that they have been randomly selected ) A researcher finds that of,000 people who said that

More information

Lesson 19: Understanding Variability When Estimating a Population Proportion

Lesson 19: Understanding Variability When Estimating a Population Proportion Lesson 19: Understanding Variability When Estimating a Population Proportion Student Outcomes Students understand the term sampling variability in the context of estimating a population proportion. Students

More information