Estimation and significance tests and p values Flashcards
What are sampling errors?
Samples provide an incomplete picture of the population.
✓ Sample estimates (e.g.:means), calculated from multiple samples from the same population, will then have a distribution of differing values that is known as the ‘sampling distribution’.
✓ Different samples will give different estimates- called ‘sampling error’.
What is standard error?
Formula?
✓A standard error (SE) is an indication of the extent of the sampling error
✓For a sample mean it can be calculated from: standard deviation divided by the square root
of the sample size SE= SD / 𝑁
What is the important factors to a pricise result?
A: Bigger sample size, estimate closer to true mean
B: Smaller spread of data (standard deviation), estimate closer to true mean
What does the standard error?
✓Standard error tells us how much a sample mean tends to vary from the population mean (true mean). It provides an estimate of the precision of the sample mean.
What do SE?
What happens if you change the SD?
SE= SD/ 𝑁
* Changing SD or N increases or decreases the precision.
* Smaller variation (SD) or larger sample size (N) ֜——> smaller SE֜ —-> More precise estimate
Assumptions in calculating the confidence interval?
✓Normal data or large sample
✓the sample is chosen at random from the
population
✓the observations are independent of each other
✓the sample is not small (at least 60)
How do u calculate the standard error?
Standard error of mean (standard deviation divided by square root of the sample size) = 10.1/45.9 = 0.22
If the mean is 0.22 what is 95% confident?
95% confident that true mean is in the range: 15.6 – 1.96 x 0.22 to 15.6 + 1.96 x 0.22
Assumptions for the true mean?
✓the sample is chosen at random from the population
✓the observations are independent of each other
✓the proportion with the characteristic is not close to 0 or 1
✓np and n(1-p) are each greater than 5 (large sample)
How to calculate the standard error?
Define confidence interval and proportion of it?
✓ A confidence interval is a range in which we expect the true population value to lie
for the mean from a large sample the 95% confidence interval is:
sample mean -1.96 standard errors to
sample mean + 1.96 standard errors
for a proportion the 95% confidence interval is: sample proportion -1.96 standard errors
to
sample proportion + 1.96 standard errors
What is the aim of hypothesis testing?
Hypothesis testing is a procedure used to:
✓evaluate the strength of evidence from a
sample
✓and to assess how reliably one can extrapolate findings in a sample to the larger population from which the sample was drawn.
Steps to Hypothesis testing when testing. length of days suffered with headache?
1. Formulate a Null Hypothesis.
“In the population of patients studied with severe headache the proportion of days with headache is the same for analgesic and placebo”
2. Measure how far your sample data appear to
depart from the Null Hypothesis (test statistic). “Does our sample mean of 0.056 provide any
evidence that this is not true?”
3. Work out how unlikely a departure this big or bigger would be if the Null Hypothesis were true (p-value).
What does the null hypothesis state?
The NH states that “No relationship exists between the variables and outcomes of the a study”
What is the test statistic?
A statistical test compares what is observed (statistic) and what we would expect by chance alone (standard error (SE)).
Test statistic= 𝑂𝑏𝑠𝑒𝑟𝑣𝑎𝑡𝑖𝑜𝑛/𝐶h𝑎𝑛𝑐𝑒 𝑒𝑥𝑝𝑒𝑐𝑡𝑎𝑡𝑖𝑜𝑛 = 𝑂𝑏𝑠𝑒𝑟𝑣𝑒𝑑 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐/ 𝑆𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟