The Z-test, t-test, chi-square test, and ANOVA are statistical tests used to
analyze data and draw conclusions about populations based on
samples. Z-tests are used when the population standard deviation is
known, t-tests are used when it's not, and chi-square tests are used for
categorical data. ANOVA is used to compare the means of two or more
groups.
Z-test:
Purpose: Used to determine if there's a statistically significant difference between a
sample mean and a known population mean when the population standard deviation
is known or the sample size is large.
Assumptions: The sample is normally distributed, and the population standard
deviation is known.
Key points: Z-tests are often used when working with large sample sizes (n ≥ 30).
T-test:
Purpose:
Used to compare the means of two groups when the population standard deviation
is unknown.
Assumptions:
The data is normally distributed within each group and the variances of the groups
are equal.
Key points:
T-tests are used when sample sizes are small or when the population standard
deviation is unknown.
hi-square test:
Purpose:
Used to test associations between categorical variables or to determine if observed
frequencies match expected frequencies.
Assumptions:
The data is categorical and the expected frequencies are sufficiently large (usually
at least 5).
Key points:
Chi-square tests are non-parametric, meaning they don't assume the data is
normally distributed.
ANOVA (Analysis of Variance):
Purpose: Used to compare the means of two or more groups.
Assumptions: The data is normally distributed within each group, the variances of
the groups are equal, and the observations are independent.
Key points: ANOVA determines if there's a significant difference between the group
means by examining the ratio of variance between groups to variance within groups.
T-Test: Used for comparing the means of two groups, particularly
with small sample sizes and unknown population variances. Z-Test:
Used for comparing means when the population variance is known
or with large sample sizes. Chi-Square Test: Used for testing
associations between categorical variables.