Send a link to your students to track their progress
17 Terms
1
New cards
What goes into qchisq() and what comes out?
qchisq(1-alpha, df) = critical value
2
New cards
What goes into 1 - pchisq() and what comes out?
1 - pchisq(test statistic, degrees of freedom) = p-value
3
New cards
What R command do you use to find the critical value in a chi-squared test?
qchisq(1 - alpha, df)
4
New cards
What R command do you use to find the p-value in a chi-squared test?
1 - pchisq(test statistic, df)
5
New cards
What are the three assumptions of a binomial distribution?
(1) All trials are independent, (2) the probability of success is fixed, (3) the number of trials is fixed.
6
New cards
How do you find the p-value in a test of a single proportion?
Find binomial probabilities of getting values as extreme or more extreme than the test statistic in whichever direction the question specifies and add them up.
7
New cards
How can you graph expected vs observed values on a graph?
bars = observed, line = expected
8
New cards
When the variance is greater than the mean, the data have a (clumped/dispersed) distribution.
clumped
9
New cards
When the variance is less than the mean, the data have a (clumped/dispersed) distribution.
dispersed
10
New cards
When putting a test statistic chi squared value on a chi-squared null distribution, which side do you shade?
right
11
New cards
What is the TEA for determining if an observed percentage matches an expected percentage?
T: test of a single proportion, test statistic = # successes
E: p-value = add up binomial probabilities in whichever direction is specified in the alternative hypothesis
A: assess
12
New cards
What is the TEA for determining if an observed distribution matches an expected distribution?
T: goodness-of-fit test, test statistic = chi sq
E: (1) compare test stat to chi-squared from null distribution (if test stat is greater than chi sq, reject the null) (can also be calculated using qchisq(1-alpha, df)), (2) find range for p-value by looking for your test stat on the chi sq table, compare to alpha level
A: assess
13
New cards
What is the TEA for determining if two categorical variables are significantly different (difference of two proportions)?
T: test of association, test stat = chi sq
E: (1) compare test stat to chi-squared from null distribution (if test stat is greater than chi sq, reject the null) (can also be calculated from qchisq(1-alpha, df)), (2) find p-value range from table
A: assess
14
New cards
What is the test statistic in a test of a single proportion?
# of successes
15
New cards
What is the test statistic in a goodness-of-fit test?
chi sq
16
New cards
What is the test statistic in a test of association?
chi sq
17
New cards
What are the three assumptions for a binomial distribution? *Note: different from sample size assumptions!
(1) Number of trials is fixed, (2) individual trials are independent, (3) probability of success is the same for each trial.