Final: Ch 11-20 Flashcards
(173 cards)
Numerical Variables from a Single Sample
When is Ȳ normally distributed?
whenever:
- Y is normally distributed, OR
- n is large
Numerical Variables from a Single Sample
If Ȳ is normally distributed, what can we convert its distribution to?
standard normal distribution
Numerical Variables from a Single Sample
What does a standard normal distribution do?
gives a probability distribution of the difference between a sample mean and the population mean
Numerical Variables from a Single Sample
What is used to calculate the confidence interval of the mean?
t-distribution
What does a one-sample t-test do?
compares the mean of a random sample from a normal population, with the population mean proposed in a null hypothesis
What are the hypotheses for a one-sample t-test?
H0: mean of the population is µ0
HA: mean of the population is not µ0
What is the degrees of freedom for a one-sample t-test?
df = n-1
What are the assumptions of a one-sample t-test? (2)
- variable is normally distributed
- sample is a random sample
Tests that compare means have what type of variables?
one categorical and one numerical variable
Paired vs. 2-sample t-tests
paired comparisons: allow us to account for a lot of extraneous variation
- ie. before and after treatment
- ie. upstream and downstream of power plant
- ie. identical twins – one with treatment, one without treatment
- ie. how to get earwigs in each ear out – compare tweezers to hot oil
2-sample comparisons: sometimes easier to collect data for
What are paired comparisons?
data from the two groups are paired
- each member of pair shares much in common with the other, except for the tested categorical variable
- there is one-to-one correspondence between the individuals in the two groups
- in each pair, there is one member that has one treatment/group and another who has another treatment/group
What do we used to compare two groups in paired comparisons?
use mean of the difference between the two members of each pair
What is a paired t-test?
one sample t-test on the differences
What does a paired t-test do?
compares mean of the differences to a value given in null hypothesis
for each pair, calculate the difference
What is the number of data points in a paired t-test?
number of pairs – NOT number of individuals
What is the degrees of freedom for a paired t-test?
df = number of pairs - 1
What are the assumptions of a paired t-test?
- pairs are chosen at random
- differences (NOT individuals) have normal distribution
What does a 2-sample t-test do?
compares means of numerical variable between two populations
What is the degrees of freedom for a 2-sample t-test?
df1 = n1 - 1 df2 = n2 - 1
What are the assumptions of a 2-sample t-test? (3)
- both samples are random samples
- both populations have normal distributions
- variance of both populations is equal
What does Welch’s t-test do?
compares means of two groups without requiring the assumption of equal variance
What is different about the degrees of freedom for Welch’s t-test compared to other tests?
degrees of freedom is not necessarily an integer
Wrong Way to Make Comparison of Two Groups
–
“Group 1 is significantly different from a constant, but Group 2 is not. Therefore Group 1 and Group 2 are different from each other.”
What does Levene’s test do?
compares variances of two (or more) groups
use R to calculate