Download presentation
Presentation is loading. Please wait.
Published byAlexander Rodgers Modified over 8 years ago
1
Sampling and Inference September 23, 2011
2
Web Address https://webdisk.ucalgary.ca/~swinters/public_html/lingstats/index.html
3
Let’s Try an Experiment! First: how do we take a sample of a population in R? Let’s try it with the VOT data: VOTdata <- read.table("http://www.basesproduced.com/R/classdata. txt",header=T,row.names=1) Here’s how to grab a sample of 5 rows from the VOT database: VOTdata[sample(nrow(VOTdata),5),] Note: nrow(VOTdata) is just the number of rows in the dataframe Here’s how you can randomize the entire data set: VOTdata[sample(nrow(VOTdata),nrow(VOTdata)),]
4
More Sampling You can store a sample in a vector, “s”, this way: s <- VOTdata[sample(nrow(VOTdata),5),] Determine the mean of a sample: mean(VOTdata[sample(nrow(VOTdata),5),7]) Let’s generate a bunch of samples with a for loop, and then store the mean of each sample in a vector called "means"-- First: declare that the means vector exists: means = vector()
5
Looping Then set up the for loop: for (i in 1:20) { Store the mean of each sample in the new vector: means[i] = mean(VOTdata[sample(nrow(VOTdata),10),7]) Close off the for loop: } Now check out the new means vector: means mean(means) hist(means)
6
Parameter Playtime Tweak two parameters: the number of items you select in the sample (from, say, 10 to 100) the number of samples you take (and store) How does this change the resulting distribution of sample means?
7
What is a sampling distribution? The sampling distribution of a statistic is the distribution of all possible values taken by the statistic when all possible samples of a fixed size n are taken from the population. It is a theoretical idea—we do not actually build it. The sampling distribution of a statistic is the probability distribution of that statistic.
8
Sampling distribution of the sample mean We take many random samples of a given size n from a population with mean and standard deviation Some sample means will be above the population mean and some will be below, making up the sampling distribution. Sampling distribution of “x bar” Histogram of some sample averages
9
Sampling distribution of x bar √n√n For any population with mean and standard deviation : The mean, or center of the sampling distribution of, is equal to the population mean . The standard deviation of the sampling distribution is /√n, where n is the sample size : . This is also known as the Standard Error.
10
Mean of a sampling distribution of There is no tendency for a sample mean to fall systematically above or below even if the distribution of the raw data is skewed. Thus, the mean of the sampling distribution is an unbiased estimate of the population mean — it will be “correct on average” in many samples. Standard deviation of a sampling distribution of The standard deviation of the sampling distribution measures how much the sample statistic varies from sample to sample. It is smaller than the standard deviation of the population by a factor of √n. Averages are less variable than individual observations.
11
For normally distributed populations When a variable in a population is normally distributed, the sampling distribution of for all possible samples of size n is also normally distributed. If the population is N( ) then the sample means distribution is N( /√n). Population Sampling distribution
12
The central limit theorem Central Limit Theorem: When randomly sampling from any population with mean and standard deviation , when n is large enough, the sampling distribution of is approximately normal: ~ N( /√n). Population with strongly skewed distribution Sampling distribution of for n = 2 observations Sampling distribution of for n = 10 observations Sampling distribution of for n = 25 observations
13
Income distribution Let’s consider the very large database of individual incomes from the Bureau of Labor Statistics as our population. It is strongly right skewed. – We take 1000 SRSs of 100 incomes, calculate the sample mean for each, and make a histogram of these 1000 means. – We also take 1000 SRSs of 25 incomes, calculate the sample mean for each, and make a histogram of these 1000 means. Which histogram corresponds to samples of size 100? 25?
14
In many cases, n = 25 isn’t a huge sample. Thus, even for strange population distributions we can assume a normal sampling distribution of the mean and work with it to solve problems. How large a sample size? It depends on the population distribution. More observations are required if the population distribution is far from normal. – A sample size of 25 is generally enough to obtain a normal sampling distribution from a strong skewness or even mild outliers. – A sample size of 40 will typically be good enough to overcome extreme skewness and outliers.
15
Any linear combination of independent normal random variables is also normally distributed. More generally, the central limit theorem is valid as long as we are sampling many small random events, even if the events have different distributions (as long as no one random event dominates the others). Why is this cool? It explains why the normal distribution is so common. Further properties Example: Height seems to be determined by a large number of genetic and environmental factors, like nutrition. The “individuals” are genes and environmental factors. Your height is a mean.
16
Overview of Inference Methods for drawing conclusions about a population from sample data are called statistical inference Methods Confidence Intervals - estimating a value of a population parameter Tests of significance - assess evidence for a claim about a population Inference is appropriate when data are produced by either a random sample or a randomized experiment
17
Statistical confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get a different sample mean. In fact, you could get many different values for the sample mean, and virtually none of them would actually equal the true population mean, . x
18
But the sample distribution is narrower than the population distribution, by a factor of √n. Thus, the estimates gained from our samples are always relatively close to the population parameter µ. n Sample means, n subjects Population, x individual subjects If the population is normally distributed N(µ,σ), so will the sampling distribution N(µ,σ/√n),
19
Red dot: mean value of individual sample 95% of all sample means will be within roughly 2 standard deviations (2* /√n) of the population parameter Distances are symmetrical which implies that the population parameter must be within roughly 2 standard deviations from the sample average, in 95% of all samples. This reasoning is the essence of statistical inference.
20
Experiment #2! Let’s test out the confidence interval approach with our VOT data. Take a sample of 9 elements from the data set: s9 <- VOTdata[sample(nrow(VOTdata),9),] Calculate the mean and standard deviation: mean(s9[,7]) sd(s9[,7]) Note that with this sample, we’re estimating the population mean. …so the standard error is the standard deviation of the sample divided by the square root of n In this case: se <- sd(s9[,7])/sqrt(9)
21
Determining the Interval The theory of inference says: There is a 95% chance that the population mean ( = 49.4) will be within mean + 1.96 * standard error This range = the 95% confidence interval Calculate the confidence interval for your sample. Upper limit = mean + 1.96 * standard error Lower limit = mean - 1.96 * standard error Does your confidence interval include the population mean?
22
The Properties of Confidence We can increase or decrease the confidence interval however we see fit. 80% confidence interval 99% confidence interval Q1: Will the estimated range of the mean (= the “margin of error”) be larger or smaller when the confidence % is smaller? Q2: How does sample size affect the margin of error?
23
Confidence intervals The confidence interval is a range of values with an associated probability or confidence level C. The probability quantifies the chance that the interval contains the true population parameter. ± 4.2 is a 95% confidence interval for the population parameter . This equation says that in 95% of the cases, the actual value of will be within 4.2 units of the value of.
24
Implications We don’t need to take a lot of random samples to “rebuild” the sampling distribution and find at its center. n n Sample Population All we need is one SRS of size n and rely on the properties of the sample means distribution to infer the population mean .
25
Reworded With 95% confidence, we can say that µ should be within roughly 2 standard deviations (2* /√n) from our sample mean. – In 95% of all possible samples of this size n, µ will indeed fall in our confidence interval. – In only 5% of samples would be farther from µ.
26
A confidence interval can be expressed as: Mean ± m m is called the margin of error within ± m Example: 120 ± 6 Two endpoints of an interval within ( − m) to ( + m) ex. 114 to 126 A confidence level C (in %) indicates the probability that the µ falls within the interval. It represents the area under the normal curve within ± m of the center of the curve. mm
27
Review: standardizing the normal curve using z N(0,1) N(64.5, 2.5) N(µ, σ/√n) Standardized height (no units) Here, we work with the sampling distribution, and /√n is its standard deviation (spread). Remember that is the standard deviation of the original population.
28
Confidence intervals contain the population mean in C% of samples. Different areas under the curve give different confidence levels C. Example: For an 80% confidence level C, 80% of the normal curve’s area is contained in the interval. C z*z*−z*−z* Varying confidence levels Practical use of z: z* z* is related to the chosen confidence level C. C is the area under the standard normal curve between −z* and z*. The confidence interval is thus:
29
Link between confidence level and margin of error The confidence level C determines the value of z* (in table C). The margin of error also depends on z*. C z*z*−z* m Higher confidence C implies a larger margin of error m (thus less precision in our estimates). A lower confidence level C produces a smaller margin of error m (thus better precision in our estimates).
30
Sample size and experimental design You may need a certain margin of error (e.g., drug trial, manufacturing specs). In many cases, the population variability ( is fixed, but we can choose the number of measurements (n). So plan ahead what sample size to use to achieve that margin of error. Remember, though, that sample size is not always stretchable at will. There are typically costs and constraints associated with large samples. The best approach is to use the smallest sample size that can give you useful results.
31
Cautions about using Data must be a SRS from the population. Formula is not correct for other sampling designs. Inference cannot rescue badly produced data. Confidence intervals are not resistant to outliers. If n is small (<15) and the population is not normal, the true confidence level will be different from C. The standard deviation of the population must be known. The margin of error in a confidence interval covers only random sampling errors!
32
Interpretation of Confidence Intervals Conditions under which an inference method is valid are never fully met in practice. Exploratory data analysis and judgment should be used when deciding whether or not to use a statistical procedure. Any individual confidence interval either will or will not contain the true population mean. It is wrong to say that the probability is 95% that the true mean falls in the confidence interval. The correct interpretation of a 95% confidence interval is that we are 95% confident that the true mean falls within the interval. The confidence interval was calculated by a method that gives correct results in 95% of all possible samples. In other words, if many such confidence intervals were constructed, 95% of these intervals would contain the true mean.
33
Stating hypotheses A test of statistical significance tests a specific hypothesis using sample data to decide on the validity of the hypothesis. In statistics, a hypothesis is an assumption or a theory about the characteristics of one or more variables in one or more populations. What you want to know: Does the calibrating machine that sorts cherry tomatoes into packs need revision? The same question reframed statistically: Is the population mean µ for the distribution of weights of cherry tomato packages equal to 227 g (i.e., half a pound)?
34
The null hypothesis is a very specific statement about a parameter of the population(s). It is labeled H 0. The alternative hypothesis is a more general statement about a parameter of the population(s) that is exclusive of the null hypothesis. It is labeled H a. Weight of cherry tomato packs: H 0 : µ = 227 g (µ is the average weight of the population of packs) H a : µ ≠ 227 g (µ is either larger or smaller)
35
One-sided and two-sided tests A two-tail or two-sided test of the population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ [a specific number] A one-tail or one-sided test of a population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ < [a specific number] OR H 0 : µ = [a specific number] H a : µ > [a specific number] The FDA tests whether a generic drug has an absorption extent similar to the known absorption extent of the brand-name drug it is copying. Higher or lower absorption would both be problematic, thus we test: H 0 : µ generic = µ brand H a : µ generic µ brand two-sided
36
How to choose? What determines the choice of a one-sided versus a two- sided test is what we know about the problem before we perform a test of statistical significance. A health advocacy group tests whether the mean nicotine content of a brand of cigarettes is greater than the advertised value of 1.4 mg. Here, the health advocacy group suspects that cigarette manufacturers sell cigarettes with a nicotine content higher than what they advertise in order to better addict consumers to their products and maintain revenues. Thus, this is a one-sided test:H 0 : µ = 1.4 mgH a : µ > 1.4 mg It is important to make that choice before performing the test or else you could make a choice of “convenience” or fall into circular logic.
37
The P-value The packaging process has a known standard deviation = 5 g. H 0 : µ = 227 g versus H a : µ ≠ 227 g The average weight from your four random boxes is 222 g. What is the probability of drawing a random sample such as yours if H 0 is true? Tests of statistical significance quantify the chance of obtaining a particular random sample result if the null hypothesis were true. This quantity is the P- value. This is a way of assessing the “believability” of the null hypothesis, given the evidence provided by a random sample.
38
Interpreting a P-value Could random variation alone account for the difference between the null hypothesis and observations from a random sample? – A small P-value implies that random variation due to the sampling process alone is not likely to account for the observed difference. – With a small p-value we reject H 0. The true property of the population is significantly different from what was stated in H 0. Thus, small P-values are strong evidence AGAINST H 0. But how small is small…?
39
P = 0.1711 P = 0.2758 P = 0.0892 P = 0.0735 P = 0.01 P = 0.05 When the shaded area becomes very small, the probability of drawing such a sample at random gets very slim. Oftentimes, a P-value of 0.05 or less is considered significant: The phenomenon observed is unlikely to be entirely due to chance event from the random sampling. Significant P-value ???
40
Tests for a population mean µ defined by H 0 Sampling distribution σ/√n To test the hypothesis H 0 : µ = µ 0 based on an SRS of size n from a Normal population with unknown mean µ and known standard deviation σ, we rely on the properties of the sampling distribution N(µ, σ/√n). The P-value is the area under the sampling distribution for values at least as extreme, in the direction of H a, as that of our random sample. Again, we first calculate a z-value and then use Table A.
41
P-value in one-sided and two-sided tests To calculate the P-value for a two-sided test, use the symmetry of the normal curve. Find the P-value for a one-sided test and double it. One-sided (one- tailed) test Two-sided (two- tailed) test
42
Does the packaging machine need revision? – H 0 : µ = 227 g versus H a : µ ≠ 227 g – What is the probability of drawing a random sample such as yours if H 0 is true? From table A, the area under the standard normal curve to the left of z is 0.0228. Thus, P-value = 2*0.0228 = 4.56%. 2.28% Sampling distribution σ/√n = 2.5 g µ ( H 0 ) The probability of getting a random sample average so different from µ is so low that we reject H 0. The machine does need recalibration.
43
Steps for Tests of Significance 1.State the null hypotheses H o and the alternative hypothesis H a. 2.Calculate value of the test statistic. 3.Determine the P-value for the observed data. 4.State a conclusion.
44
The significance level: The significance level, α, is the largest P-value tolerated for rejecting a true null hypothesis (how much evidence against H 0 we require). This value is decided arbitrarily before conducting the test. – If the P-value is equal to or less than α (P ≤ α), then we reject H 0. – If the P-value is greater than α (P > α), then we fail to reject H 0. Does the packaging machine need revision? Two-sided test. The P - value is 4.56%. * If α had been set to 5%, then the P-value would be significant. * If α had been set to 1%, then the P-value would not be significant.
45
When the z score falls within the rejection region (shaded area on the tail-side), the p-value is smaller than α and you have shown statistical significance. z = -1.645 Z One-sided test, α = 5% Two-sided test, α = 1%
46
Rejection region for a two-tail test of µ with α = 0.05 (5%) A two-sided test means that α is spread between both tails of the curve, thus: -A middle area C of 1 − α = 95%, and -An upper tail area of α /2 = 0.025. Table C 0.025
47
Confidence intervals to test hypotheses Because a two-sided test is symmetrical, you can also use a confidence interval to test a two-sided hypothesis. α / 2 In a two-sided test, C = 1 – α. C confidence level α significance level Packs of cherry tomatoes (σ = 5 g): H 0 : µ = 227 g versus H a : µ ≠ 227 g Sample average 222 g. 95% CI for µ = 222 ± 1.96*5/√4 = 222 g ± 4.9 g 227 g does not belong to the 95% CI (217.1 to 226.9 g). Thus, we reject H 0.
48
Ex: Your sample gives a 99% confidence interval of. With 99% confidence, could samples be from populations with µ = 0.86? µ = 0.85? 99% C.I. Logic of confidence interval test Cannot reject H 0 : = 0.85 Reject H 0 : = 0.86 A confidence interval gives a black and white answer: Reject or don't reject H 0. But it also estimates a range of likely values for the true population mean µ. A P-value quantifies how strong the evidence is against the H 0. But if you reject H 0, it doesn’t provide any information about the true population mean µ.
50
Reasoning of Significance Tests We have seen that the properties of the sampling distribution of help us estimate a range of likely values for population mean . We can also rely on the properties of the sample distribution to test hypotheses. Example: You are in charge of quality control in your food company. You sample randomly four packs of cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight from your four boxes is 222 g. Obviously, we cannot expect boxes filled with whole tomatoes to all weigh exactly half a pound. Thus, – Is the somewhat smaller weight simply due to chance variation? – Is it evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision?
51
Stating hypotheses A test of statistical significance tests a specific hypothesis using sample data to decide on the validity of the hypothesis. In statistics, a hypothesis is an assumption or a theory about the characteristics of one or more variables in one or more populations. What you want to know: Does the calibrating machine that sorts cherry tomatoes into packs need revision? The same question reframed statistically: Is the population mean µ for the distribution of weights of cherry tomato packages equal to 227 g (i.e., half a pound)?
52
The null hypothesis is a very specific statement about a parameter of the population(s). It is labeled H 0. The alternative hypothesis is a more general statement about a parameter of the population(s) that is exclusive of the null hypothesis. It is labeled H a. Weight of cherry tomato packs: H 0 : µ = 227 g (µ is the average weight of the population of packs) H a : µ ≠ 227 g (µ is either larger or smaller)
53
One-sided and two-sided tests A two-tail or two-sided test of the population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ [a specific number] A one-tail or one-sided test of a population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ < [a specific number] OR H 0 : µ = [a specific number] H a : µ > [a specific number] The FDA tests whether a generic drug has an absorption extent similar to the known absorption extent of the brand-name drug it is copying. Higher or lower absorption would both be problematic, thus we test: H 0 : µ generic = µ brand H a : µ generic µ brand two-sided
54
How to choose? What determines the choice of a one-sided versus a two- sided test is what we know about the problem before we perform a test of statistical significance. A health advocacy group tests whether the mean nicotine content of a brand of cigarettes is greater than the advertised value of 1.4 mg. Here, the health advocacy group suspects that cigarette manufacturers sell cigarettes with a nicotine content higher than what they advertise in order to better addict consumers to their products and maintain revenues. Thus, this is a one-sided test:H 0 : µ = 1.4 mgH a : µ > 1.4 mg It is important to make that choice before performing the test or else you could make a choice of “convenience” or fall into circular logic.
55
The P-value The packaging process has a known standard deviation = 5 g. H 0 : µ = 227 g versus H a : µ ≠ 227 g The average weight from your four random boxes is 222 g. What is the probability of drawing a random sample such as yours if H 0 is true? Tests of statistical significance quantify the chance of obtaining a particular random sample result if the null hypothesis were true. This quantity is the P- value. This is a way of assessing the “believability” of the null hypothesis, given the evidence provided by a random sample.
56
Interpreting a P-value Could random variation alone account for the difference between the null hypothesis and observations from a random sample? – A small P-value implies that random variation due to the sampling process alone is not likely to account for the observed difference. – With a small p-value we reject H 0. The true property of the population is significantly different from what was stated in H 0. Thus, small P-values are strong evidence AGAINST H 0. But how small is small…?
57
P = 0.1711 P = 0.2758 P = 0.0892 P = 0.0735 P = 0.01 P = 0.05 When the shaded area becomes very small, the probability of drawing such a sample at random gets very slim. Oftentimes, a P-value of 0.05 or less is considered significant: The phenomenon observed is unlikely to be entirely due to chance event from the random sampling. Significant P-value ???
58
Tests for a population mean µ defined by H 0 Sampling distribution σ/√n To test the hypothesis H 0 : µ = µ 0 based on an SRS of size n from a Normal population with unknown mean µ and known standard deviation σ, we rely on the properties of the sampling distribution N(µ, σ/√n). The P-value is the area under the sampling distribution for values at least as extreme, in the direction of H a, as that of our random sample. Again, we first calculate a z-value and then use Table A.
59
P-value in one-sided and two-sided tests To calculate the P-value for a two-sided test, use the symmetry of the normal curve. Find the P-value for a one-sided test and double it. One-sided (one- tailed) test Two-sided (two- tailed) test
60
Does the packaging machine need revision? – H 0 : µ = 227 g versus H a : µ ≠ 227 g – What is the probability of drawing a random sample such as yours if H 0 is true? From table A, the area under the standard normal curve to the left of z is 0.0228. Thus, P-value = 2*0.0228 = 4.56%. 2.28% Sampling distribution σ/√n = 2.5 g µ ( H 0 ) The probability of getting a random sample average so different from µ is so low that we reject H 0. The machine does need recalibration.
61
Steps for Tests of Significance 1.State the null hypotheses H o and the alternative hypothesis H a. 2.Calculate value of the test statistic. 3.Determine the P-value for the observed data. 4.State a conclusion.
62
The significance level: The significance level, α, is the largest P-value tolerated for rejecting a true null hypothesis (how much evidence against H 0 we require). This value is decided arbitrarily before conducting the test. – If the P-value is equal to or less than α (P ≤ α), then we reject H 0. – If the P-value is greater than α (P > α), then we fail to reject H 0. Does the packaging machine need revision? Two-sided test. The P - value is 4.56%. * If α had been set to 5%, then the P-value would be significant. * If α had been set to 1%, then the P-value would not be significant.
63
When the z score falls within the rejection region (shaded area on the tail-side), the p-value is smaller than α and you have shown statistical significance. z = -1.645 Z One-sided test, α = 5% Two-sided test, α = 1%
64
Rejection region for a two-tail test of µ with α = 0.05 (5%) A two-sided test means that α is spread between both tails of the curve, thus: -A middle area C of 1 − α = 95%, and -An upper tail area of α /2 = 0.025. Table C 0.025
65
Confidence intervals to test hypotheses Because a two-sided test is symmetrical, you can also use a confidence interval to test a two-sided hypothesis. α / 2 In a two-sided test, C = 1 – α. C confidence level α significance level Packs of cherry tomatoes (σ = 5 g): H 0 : µ = 227 g versus H a : µ ≠ 227 g Sample average 222 g. 95% CI for µ = 222 ± 1.96*5/√4 = 222 g ± 4.9 g 227 g does not belong to the 95% CI (217.1 to 226.9 g). Thus, we reject H 0.
66
Ex: Your sample gives a 99% confidence interval of. With 99% confidence, could samples be from populations with µ = 0.86? µ = 0.85? 99% C.I. Logic of confidence interval test Cannot reject H 0 : = 0.85 Reject H 0 : = 0.86 A confidence interval gives a black and white answer: Reject or don't reject H 0. But it also estimates a range of likely values for the true population mean µ. A P-value quantifies how strong the evidence is against the H 0. But if you reject H 0, it doesn’t provide any information about the true population mean µ.
68
The National Collegiate Athletic Association (NCAA) requires Division I athletes to score at least 820 on the combined math and verbal SAT exam to compete in their first college year. The SAT scores of 2003 were approximately normal with mean 1026 and standard deviation 209. What proportion of all students would be NCAA qualifiers (SAT ≥ 820)? Note: The actual data may contain students who scored exactly 820 on the SAT. However, the proportion of scores exactly equal to 820 is 0 for a normal distribution is a consequence of the idealized smoothing of density curves. area right of 820= total area - area left of 820 =1 - 0.1611 ≈ 84%
69
The NCAA defines a “partial qualifier” eligible to practice and receive an athletic scholarship, but not to compete, with a combined SAT score of at least 720. What proportion of all students who take the SAT would be partial qualifiers? That is, what proportion have scores between 720 and 820? About 9% of all students who take the SAT have scores between 720 and 820. area between = area left of 820 - area left of 720 720 and 820=0.1611 - 0.0721 ≈ 9%
70
IQ scores: population vs. sample In a large population of adults, the mean IQ is 112 with standard deviation 20. Suppose 200 adults are randomly selected for a market research campaign. The distribution of the sample mean IQ is: A) Exactly normal, mean 112, standard deviation 20 B) Approximately normal, mean 112, standard deviation 20 C) Approximately normal, mean 112, standard deviation 1.414 D) Approximately normal, mean 112, standard deviation 0.1 C) Approximately normal, mean 112, standard deviation 1.414 Population distribution : N( = 112; = 20) Sampling distribution for n = 200 is N( = 112; /√n = 1.414)
71
, P(z < −3) = 0.0013 ≈ 0.1% Note: Make sure to standardize (z) using the standard deviation for the sampling distribution. Application Hypokalemia is diagnosed when blood potassium levels are below 3.5mEq/dl. Let’s assume that we know a patient whose measured potassium levels vary daily according to a normal distribution N( = 3.8, = 0.2). If only one measurement is made, what is the probability that this patient will be misdiagnosed with Hypokalemia?, P(z < −1.5) = 0.0668 ≈ 7% Instead, if measurements are taken on 4 separate days, what is the probability of a misdiagnosis?
72
Practical note Large samples are not always attainable. – Sometimes the cost, difficulty, or preciousness of what is studied drastically limits any possible sample size. – Blood samples/biopsies: No more than a handful of repetitions are acceptable. Oftentimes, we even make do with just one. – Opinion polls have a limited sample size due to time and cost of operation. During election times, though, sample sizes are increased for better accuracy. Not all variables are normally distributed. – Income, for example, is typically strongly skewed. – Is still a good estimator of then?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.