stats 7 Flashcards
first step of hypothesis testing
State the null hypothesis
second step of hypothesis testing
Set a critical value
third step of hypothesis testing
Calculate a test statistic.
fourth step of hypothesis testing
Compare the test statistic to the critical value
fifth step of hypothesis testing
Find the p-value
sixth step of hypothesis testing
Compare the p-value of your data to the critical value’s significance
level.
Choose a difference in means test: 1. when testing 2 variables, if
the independent variable is categorical and the dependent variable is
numeric,
3. the numeric dependent variable is normally distributed, and
4. you are interested in the difference in the average values of the dependent variable across the categories of independent variable
significance level, alpha (a)
the probability of rejecting the null hypothesis when its actually true, representing the threshold for statistical significance
difference in means testing relies on the student’s
t-distribution
The student’s t distribution is
the distribution of the values that the differences in sample means can take.
The Student’s t distribution is generally
bell-shaped, like the normal
distribution
However, when the sample size is small (less than 30 observations), the Student’s t-distribution shows
increased variability (i.e., is
flatter) than the normal distribution.
Independent sample t-test
a statistical test that compares the means of two independent groups to see if there is a significant difference
Paired Samples t-test (Dependent t-test)
a statistical test that compares the means of two related groups or matched pairs.
One-Sample t-test
a statistical test that compares the mean of a
single sample to a known value (often the population mean)
Each of these tests can be
one- or two-tailed
One-tailed t-test
a statistical test used to determine if there is a significant difference in the means of two groups, with a specific directional hypothesis.
The one-tailed t-test only looks at
one end (tail) of the distribution
Two-tailed t-test
a statistical test used to determine if there is a
significant difference in the means of two groups, without specifying a direction
The two-tailed t-test looks at
both ends (tails) of the
distribution
Normality
he data in each group should be approximately
normally distributed
-* This assumption is particularly important when sample sizes are small
(typically n < 30).
* For larger sample sizes, the t-test is robust to violations of normality
due to the Central Limit Theorem
Homogeneity of Variances
the variances of the two groups should be equal (or approximately equal
* Homogeneity can be tested using Levene’s test or Bartlett’s test.
* If the variances are significantly different, you may need to use a
Welch’s t-test, which does not assume equal variances.
test of significance
asking whether the difference between populations
difference between means
if we compare an infinite number of pairs of reasonably large samples from this population, we could form a frequency distribution of the differences between pairs of sample means