qm2 better

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/180

encourage image

There's no tags or description

Looks like no tags are added yet.

181 Terms

1
New cards

[W1-4] What does 'random sample of independent observations' mean?

Each observation is chosen at

random and no observation influences another. Almost every test in this course assumes this.

2
New cards

[W1-4] What does 'quantitative, continuous variable' mean?

A numerical variable measured on an interval or

ratio scale, so it can take any value in a range (for example weight, time or price). Categories and ranks do not

count.

3
New cards

[W1-4] What does 'scale at least ordinal' mean?

The data can at least be put in order, for example a

satisfaction rating from 1 to 5. Ordinal, interval and ratio data qualify. Nominal data (plain categories) do not.

4
New cards

[W1-4] What does 'population approximately normal' mean?

The values in the whole population follow a

roughly bell-shaped, symmetric distribution.

5
New cards

[W1-4] What are the three ways to check whether data are normal?

Graphs (a histogram with a normal curve,

and a Q-Q plot), numbers (mean versus median, skewness and kurtosis), and a formal test (the Shapiro-Wilk

test).

6
New cards

[W1-4] Why should you never rely on just one normality check?

Each check can mislead on its own. Combine

them, and if most of them cast doubt, treat the data as not normal.

7
New cards

[W1-4] On a Q-Q plot, what do the points look like if the data are normal?

They lie close to a straight line.

Curved or S-shaped patterns suggest skewness or heavy tails.

8
New cards

[W1-4] How do the mean and median show skewness?

Symmetric data: mean equals median. Right-skewed:

the median is smaller than the mean. Left-skewed: the mean is smaller than the median.

9
New cards

[W1-4] What is the rule for the skewness and kurtosis checks (skew.2SE and kurt.2SE in R)?

If the absolute

value is greater than 1, doubt normality (the data are likely not normal at the 5% level).

10
New cards

[W1-4] What are the hypotheses and decision rule of the Shapiro-Wilk test?

Null hypothesis: the data come

from a normal population. Alternative: they do not. Reject the null (conclude not normal) if the p-value is below the

significance level alpha.

11
New cards

[W1-4] What are the limitations of the Shapiro-Wilk test?

With a small sample (under 20) it has low power and

often misses non-normality. With a large sample (over 100) it is oversensitive and rejects for trivial departures

from normality.

12
New cards

[W1-4] What should you do if you are unsure whether the data are normal?

Run both the parametric test and

its nonparametric counterpart. If they give the same answer, you can be confident.

13
New cards

[W1-4] What should you do if normality is clearly violated?

Use the nonparametric test only.

14
New cards

[W1-4] How does ordinal data affect the normality checks?

Skip the normality questions and go straight to the

nonparametric tests.

15
New cards

[W1-4] Can you test a mean or median with nominal data?

No. Nominal data (plain categories) have no mean

or median, so test a proportion instead.

16
New cards

[W1-4] What does the central limit theorem say (rule of thumb)?

With a sample size of 30 or more, the sample

mean is approximately normal even if the population is not.

17
New cards

[W1-4] When does the t-test fail because of non-normality?

Only when the sample is small (under 30) AND the

population is strongly skewed. Otherwise it is fairly robust.

18
New cards

[W1-4] What is the trade-off between parametric and nonparametric tests?

Nonparametric tests need weaker

assumptions but are less powerful when the parametric assumptions actually hold.

19
New cards

[W1-4] How should you word the conclusion of a hypothesis test?

Say 'fail to reject the null hypothesis', never

'accept' it. State the conclusion in context, about the population.

20
New cards

[W1-4] What should hypotheses be written in terms of?

Population parameters (such as the population mean,

variance, proportion or median), never sample statistics.

21
New cards

[W1-4] What are the six steps expected in every hypothesis test?

1) State the hypotheses. 2) Name the test

statistic and its distribution. 3) Choose the significance level. 4) State the decision rule. 5) Calculate. 6) Decide

and conclude in context.

22
New cards

[W1-4] What are the assumptions of the Z-test and confidence interval for a population mean?

Random

sample of independent observations, quantitative continuous variable, population standard deviation (sigma)

KNOWN, and the sample mean is normal (normal population, or a large sample of 30 or more by the central limit

theorem).

23
New cards

[W1-4] What do you do if the Z-test for a mean cannot be used because sigma is unknown?

Use the t-test

instead.

24
New cards

[W1-4] What are the assumptions of the t-test and confidence interval for a population mean?

Random sample

of independent observations, quantitative continuous variable, population standard deviation unknown, and the

population approximately normal.

25
New cards

[W1-4] How robust is the t-test for a mean to non-normality?

Fairly robust. It only fails if the sample is under 30

AND the population is strongly skewed.

26
New cards

[W1-4] What do you do if the population is not normal and you wanted a t-test for one mean?

Use the

Wilcoxon signed-rank test if the population is symmetric, or the sign test if it is skewed.

27
New cards

[W1-4] What are the assumptions of the sign test for a median?

Random sample of independent observations;

the variable can be qualitative or quantitative; scale at least ordinal; and NO assumption about the shape of the

distribution.

28
New cards

[W1-4] How does the sign test handle zero deviations and large samples?

Observations equal to the

hypothesised median (zero deviations) are dropped. If there are 10 or more non-zero deviations, a normal

approximation can be used.

29
New cards

[W1-4] What is the test statistic of the sign test?

S, the number of positive deviations from the hypothesised

median. Under the null it follows a binomial distribution with n trials (n = number of non-zero deviations) and

probability 0.5.

30
New cards

[W1-4] What can you fall back on if the sign test's assumptions fail?

Nothing. It is the most general test, with

no weaker test covered in this course.

31
New cards

[W1-4] What are the assumptions of the Wilcoxon signed-rank test for a median?

Random sample of

independent observations, quantitative continuous variable on an interval or ratio scale, and a SYMMETRIC

population (so the median equals the mean).

32
New cards

[W1-4] Which table or approximation does the Wilcoxon signed-rank test use?

Table 9 for sample sizes from 6

to 30. A normal approximation for sample sizes above 30.

33
New cards

[W1-4] What do you do if the Wilcoxon signed-rank test's symmetry assumption fails (skewed or ordinal

data)?

Use the sign test.

34
New cards

[W1-4] Skewed data and one median: sign test or Wilcoxon signed-rank?

The sign test, because the Wilcoxon

signed-rank test needs a symmetric population.

35
New cards

[W1-4] What are the assumptions of the paired t-test?

Random sample of independent pairs, quantitative

continuous variable, and the DIFFERENCES within each pair approximately normal.

36
New cards

[W1-4] What is a paired t-test really doing?

It is a one-sample t-test on the differences between the two

measurements in each pair, with n minus 1 degrees of freedom.

37
New cards

[W1-4] What do you do if the differences in a paired t-test are not normal?

Use the sign test, or the Wilcoxon

signed-rank test on the differences (which needs the differences to be symmetric).

38
New cards

[W1-4] What is the trade-off of a paired design versus independent samples?

Paired is more efficient (smaller

standard error) but has fewer degrees of freedom: n minus 1 instead of n1 plus n2 minus 2.

39
New cards

[W1-4] What are the assumptions of the two-sample Z-test for comparing two means?

Two independent

random samples, quantitative continuous variable, both population variances KNOWN, and both populations

normal or large samples (central limit theorem).

40
New cards

[W1-4] What do you do if the two population variances are unknown?

Use the pooled t-test (equal variances)

or the Welch t-test (unequal variances).

41
New cards

[W1-4] What are the assumptions of the pooled t-test?

Two independent random samples, quantitative

continuous variable, population standard deviations unknown, both populations approximately normal, AND equal

population variances (check with the F test).

42
New cards

[W1-4] How many degrees of freedom does the pooled t-test have?

n1 plus n2 minus 2, using the pooled

variance (a weighted average of the two sample variances).

43
New cards

[W1-4] What do you do if the pooled t-test's equal-variance assumption fails?

Use the Welch t-test.

44
New cards

[W1-4] What are the assumptions of the Welch t-test?

Two independent random samples, quantitative

continuous variable, population standard deviations unknown, and both populations approximately normal. It does

NOT assume equal variances.

45
New cards

[W1-4] When is the Welch t-test valid?

Whether or not the variances are equal, so many analysts simply use it

by default. Its degrees of freedom are fractional (Satterthwaite).

46
New cards

[W1-4] What do you do if the two populations are not normal for a t-test comparing means?

Use the Wilcoxon

rank-sum test.

47
New cards

[W1-4] What are the assumptions of the Wilcoxon rank-sum (Mann-Whitney U) test?

Two independent

random samples, quantitative continuous variable, scale at least ordinal, and the two populations have the

IDENTICAL shape and spread, differing at most in location.

48
New cards

[W1-4] Which table or approximation does the Wilcoxon rank-sum test use?

Table 8 if both sample sizes are

10 or fewer. A normal approximation if both are above 10.

49
New cards

[W1-4] What happens if the two populations have different shapes in the Wilcoxon rank-sum test?

The test is

no longer valid for comparing the two medians.

50
New cards

[W1-4] Which test compares two independent means?

Variances known: two-sample Z. Equal variances:

pooled t. Unequal variances: Welch t. Not normal: Wilcoxon rank-sum.

51
New cards

[W1-4] What are the assumptions of the chi-square test and confidence interval for one variance?

Random

sample of independent observations, quantitative continuous variable, and a NORMAL population. It is not robust

to non-normality.

52
New cards

[W1-4] What do you do if the population is not normal for a chi-square variance test?

Nothing: no alternative is

covered in this course.

53
New cards

[W1-4] What is the test statistic for one variance?

Chi-square equals (n minus 1) times the sample variance,

divided by the hypothesised variance. It follows a chi-square distribution with n minus 1 degrees of freedom.

54
New cards

[W1-4] What are the assumptions of the F test and confidence interval for comparing two variances?

Two

independent random samples, quantitative continuous variable, and BOTH populations normal. It is not robust to

non-normality.

55
New cards

[W1-4] What do you do if the populations are not normal for the F test of variances?

Nothing: no alternative is

covered in this course.

56
New cards

[W1-4] What is the F test statistic for two variances, and the manual shortcut?

F equals the first sample

variance divided by the second, with n1 minus 1 and n2 minus 1 degrees of freedom. Label the samples so the

larger variance is on top, so you only need right-tail critical values.

57
New cards

[W1-4] Which distribution goes with which test?

Chi-square: one variance. F: ratio of two variances. t: means

when sigma is unknown.

58
New cards

[W1-4] What are the assumptions of the Z-test and confidence interval for one proportion?

Random sample of

independent observations, and a qualitative variable with two exhaustive categories (success or failure).

59
New cards

[W1-4] What sample-size condition does the one-proportion Z-test need?

n times p0 is at least 5 AND n times

q0 is at least 5 (p0 is the hypothesised proportion, q0 is 1 minus p0). For a confidence interval, use the sample

proportion instead.

60
New cards

[W1-4] What do you do if the sample-size condition for the one-proportion Z-test fails?

Use the exact binomial

test.

61
New cards

[W1-4] Does a one-proportion Z-test use the hypothesised or sample proportion in the standard error?

The

test uses the hypothesised proportion p0. The confidence interval uses the sample proportion.

62
New cards

[W1-4] What are the assumptions of the exact binomial test for one proportion?

Random sample of

independent observations, a qualitative variable with two exhaustive categories (nominal or ordinal), and a

binomial population. No sample-size condition.

63
New cards

[W1-4] What are the assumptions of the two-proportion Z-test (first part)?

Two independent random samples

and a qualitative (binary) variable.

64
New cards

[W1-4] What sample-size condition does the two-proportion Z-test need?

In both samples, the number of

expected successes and the number of expected failures must each be at least 5 (all four counts).

65
New cards

[W1-4] What extra condition applies to the two-proportion Z-test if you sample without replacement?

Each

sample must be less than 5% of its population.

66
New cards

[W1-4] When should you pool the sample proportions in a two-proportion Z-test?

Only when the null

hypothesis says the difference is zero (the proportions are equal). Otherwise use separate estimates.

67
New cards

[W1-4] What do you do if the two-proportion Z-test's conditions fail?

Nothing: no alternative is covered in this

course.

68
New cards

[W5-6] What are the assumptions of one-way ANOVA (first part)?

k independent random samples of

independent observations from k populations, and a quantitative continuous variable.

69
New cards

[W5-6] What are the assumptions of one-way ANOVA (second part)?

Each population is normal, and all

populations have the SAME variance (equal variances, called homoskedasticity).

70
New cards

[W5-6] What are the hypotheses and tail of the one-way ANOVA F-test?

Null: all population means are equal.

Alternative: at least one mean differs. It is a right-tail test only.

71
New cards

[W5-6] What do you do if ANOVA's equal-variance assumption fails?

Use the Welch F-test (oneway.test in

R).

72
New cards

[W5-6] What do you do if ANOVA's normality assumption fails?

Use the Kruskal-Wallis test.

73
New cards

[W5-6] Why use ANOVA instead of many separate t-tests?

With many groups there are many pairs, and the

chance of at least one false rejection (Type I error) grows quickly. ANOVA keeps the overall Type I error at

alpha.

74
New cards

[W5-6] What are the assumptions of the Welch F-test?

The same as ANOVA EXCEPT it does not require

equal variances.

75
New cards

[W5-6] What is the remaining weakness of the Welch F-test?

It can still mislead if the populations are strongly

non-normal. In that case use Kruskal-Wallis.

76
New cards

[W5-6] What are the assumptions of the Kruskal-Wallis test (first part)?

k independent random samples,

quantitative continuous variable, scale at least ordinal.

77
New cards

[W5-6] What are the assumptions of the Kruskal-Wallis test (second part)?

The populations differ at most in

location (same shape and spread).

78
New cards

[W5-6] When is the chi-square approximation valid for Kruskal-Wallis?

Only when EVERY sample has at least

5 observations. Otherwise use the exact small-sample table.

79
New cards

[W5-6] Can you use Kruskal-Wallis with nominal data?

No. With nominal data there is no mean or median, so

no location test exists.

80
New cards

[W5-6] Is the Kruskal-Wallis test left-, right- or two-tailed?

Right-tail: reject the null if the test statistic H is

large.

81
New cards

[W5-6] What does a significant ANOVA result tell you?

Only that at least one mean differs, not which one.

82
New cards

[W5-6] What are the assumptions of the Pearson correlation test?

X and Y are quantitative and approximately

bivariate normal. The null is that the population correlation is zero, tested with a t statistic with n minus 2 degrees

of freedom.

83
New cards

[W5-6] What does the Pearson correlation measure, and what does it NOT tell you?

Only LINEAR

association. A correlation near zero does not mean 'no relationship', and correlation does not prove causation.

84
New cards

[W5-6] What do you do if Pearson's assumptions fail (non-normal or ordinal data)?

Use Spearman's rank

correlation (check the exact assumptions on the LMS).

85
New cards

[W5-6] How many degrees of freedom does the Pearson correlation t-test have?

n minus 2 (not n minus

1).

86
New cards

[W6-8] Linear regression assumption LR1: what does it say?

A random sample of n independent

observations, with n greater than k plus 1 (k is the number of regressors), that satisfy the population model, which

is linear in the parameters.

87
New cards

[W6-8] What breaks if LR1 fails?

The sample does not represent the population, or there are too few

observations to estimate the model.

88
New cards

[W6-8] Linear regression assumption LR2: what does it say?

The error term has an expected value of zero

given the regressors. In other words, the errors are unrelated to the regressors.

89
New cards

[W6-8] What breaks if LR2 fails?

Coefficients no longer measure the partial effect. For example, an omitted

variable makes ordinary least squares biased and inconsistent, standard errors biased and tests invalid.

90
New cards

[W6-8] What happens if you include an irrelevant variable?

Ordinary least squares stays unbiased and

consistent and tests stay valid. You only lose precision (larger variances) and one degree of freedom.

91
New cards

[W6-8] Which is worse: omitting an important variable or including an irrelevant one?

Omitting an important

variable is usually worse, because it causes bias and invalid inference. An irrelevant variable only costs

precision.

92
New cards

[W6-8] Linear regression assumption LR3: what does it say?

The variance of the error is constant

(homoskedasticity).

93
New cards

[W6-8] What breaks if LR3 fails (heteroskedasticity)?

Ordinary least squares is still unbiased and consistent

but no longer efficient, and the usual standard errors, t-tests and F-tests are misleading.

94
New cards

[W6-8] How do you detect and fix heteroskedasticity?

Detect with residual plots or the White test. Fix with

heteroskedasticity-consistent (White) standard errors, using the log of Y or ratios, or weighted least squares.

95
New cards

[W6-8] Linear regression assumption LR4: what does it say?

Errors are uncorrelated across observations (the

errors are unrelated to each other).

96
New cards

[W6-8] What replaces LR4 for time series?

TSLR4: errors in different time periods are uncorrelated (no

autocorrelation).

97
New cards

[W6-8] Linear regression assumption LR5: what does it say?

There is no exact linear relationship among the

regressors (no perfect multicollinearity).

98
New cards

[W6-8] What breaks if LR5 fails (perfect multicollinearity)?

Individual effects cannot be separated and the

model cannot be estimated. The dummy variable trap is an example.

99
New cards

[W6-8] What are the consequences of imperfect (strong but not exact) multicollinearity?

It is allowed: ordinary

least squares is still the best linear unbiased estimator. But standard errors are large, t-ratios small, estimates

unstable, and signs may look illogical.

100
New cards

[W6-8] What are the thresholds for judging multicollinearity?

Variance inflation factor below 5 is fine; above 5

is severe (equivalent to an R-squared of 0.8 or more from regressing that variable on the others). Pairwise

correlations above 0.8 in absolute value are a warning.