Presentation is loading. Please wait.

Presentation is loading. Please wait.

Determining Sample Size

Similar presentations


Presentation on theme: "Determining Sample Size"β€” Presentation transcript:

1 Determining Sample Size

2 Statistical Significance
What factors influence the probability of a statistical significance?

3 Statistical Significance
What factors influence the probability of a statistical significance? Alpha Sample Size Amount of variability in sample Magnitude of differences between groups/categories/intervals

4 Determining Sample size
𝑛= π‘‘βˆ—π‘  𝐸 2 Where n = sample size t = t score associated with desired significance level s is the estimated standard deviation E = the amount error that can be tolerated

5 Determining Sample size
𝑛= π‘‘βˆ—π‘  𝐸 2 Where n = sample size t = t score associated with desired significance level s is the estimated standard deviation E = the amount error that can be tolerated

6 Where to get s? If we don’t have population data, how do we know or even estimate s? One solution take a small sample Not always practical

7 Sample Size for Proportion
𝑛= π‘‘βˆ—π‘  𝐸 2 With a proportion the largest s is associated with a proportion of .5 Using .5 is thus a β€œprudent” assumption when choosing sample size

8 Example Example: How big should the NYS Housing and Community Renewal survey be? Want to be at least 90% confident Can tolerate a margin of error of plus or minus three percentage points 𝑛= π‘‘βˆ—π‘  𝐸 2

9 POWER

10 IS MY COIN FAKE? How many flips before you are confident coin is fake

11 IS MY COIN FAKE? How many flips before you are confident coin is fake?
Number of heads Probability 1 0.5 2 0.25 3 0.125 4 0.0625 5 6 7 8 9 10

12 Relationship between Power and hypothesis testing
Accept Null Hypothesis Reject Null Hypothesis Null Hypothesis is true Correct decision Type I error( alpha typically set to 5%) Null Hypothesis is False Type II error Correct decision: Probability of making this decision correctly is defined as Power Probability of making this correct inference

13 Requirements to estimate Power
Type of test (e.g. two-sample independent t-test, one tail) Alpha Effect size of interest How much accuracy is desirable Sample size Standard deviation of sample

14 Requirements to estimate Power
Type of test (e.g. two-sample independent t-test, one tail) Given

15 Requirements to estimate Power
Alpha Prefer to avoid Type I error-reject null hypothesis although null hypothesis is true (lower alpha (.01) Prefer to avoid Type II error –accept null hypothesis although null hypothesis is false (higher alpha (.05)

16 Requirements to estimate Power
Effect size of interest Determined by theory or intuition Are men heavier than women? What is an β€œimportant” difference? Two kilograms? Twenty kilograms?

17 Requirements to estimate Power
Effect size of interest Cohen’s D πΆπ‘œβ„Žπ‘’π‘› 𝑑 = 𝑀 𝑑 βˆ’ 𝑀 𝑐 𝑆𝐷 π‘π‘œπ‘œπ‘™π‘’π‘‘ Mt mean treatment or group 1 Mc mean control or group 2 Sdpooled= 𝑆𝐷 𝑑 2 𝑁 𝑑 βˆ’1 + 𝑆𝐷 𝑐 2 𝑁 𝑐 βˆ’1 𝑁 𝑐 + 𝑁 𝑑 βˆ’2

18 Requirements to estimate Power
Cohen’s D Tells us how big a difference is substantively important Expresses difference in standard deviation units Rules of thumb .2 small effect .5 moderate effect .8 large effect Consider using Cohen’s D if you have no intuition about effect size or what is an important difference

19 Stata Examples Class data 10.2 in text book
Are men heavier than women? 10.2 in text book Captain Beaver is warned by Colonel Verleaf that if the mean efficiency rating for the 150 platoons under Verleaf’s command falls below 80, Captain Beaver will be transferred to Minot Air Base (A base in the middle of nowhere). Beaver takes a sample of 20 platoos and finds the following: mean = 85; s=13.5 Null hypothesis Β΅ = 80 Alternative hypothesis Β΅ = 85 sd = 13.5 n = 20

20 Problem 10.2

21 Stata Example Power for Proportion 12.10 in Book
VISTA manager William suspects 50% of his volunteers are over 65 years old. A survey of 16 volunteers reveals 44% that are over age 65. How much power does he have?

22 Problem 12.10

23 Sample size and power

24 Effect Size and Power

25 Are incomes higher in Mixed Income Developments
NYSHCR survey of tenants 0=Not mixed income, 1 = mixed income

26 Are incomes higher in Mixed Income Developments

27 Are incomes higher in Mixed Income Developments


Download ppt "Determining Sample Size"

Similar presentations


Ads by Google