10 - One and Two Sample Non-Parametric Tests Flashcards

(16 cards)

1
Q

What is a non-parametric test?

A

A hypothesis test that doesn’t require knowledge or assumption that the data is normally distributed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Sign Test used for?

A

One Sample: To test if the median of a population takes a specific value.
Two Samples: To test for preferences or differences between two populations (paired data).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What distribution is used in conjunction with the Sign Test? What is the p value?

A

Binomial Model with p = 0.5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Paired Sign Test?

A

A sign test used for paired values to test whether there is a difference in the medians of two populations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Wilcoxon Signed-Rank Test?

A

A non-parametric test that considers the SIZE of the differences between data and the mean/median, making it more accurate than the Sign Test.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the assumptions for the Wilcoxon Signed-Rank Test?

A

Data are paired and come from the same population.
Each pair is chosen randomly and independently.
Data follows a symmetrical distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you calculate the test statistic in a Wilcoxon Signed-Rank Test?

A

Find the difference between each value and the mean/median.
Rank the absolute values of the differences (ignoring zeros), using tied ranks where necessary.
Sum the ranks of the positive differences (T+).
Sum the ranks of the negative differences (T-).
Choose T+ or T- depending on the inequality, or the smallest total for a two-tailed test.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Paired Wilcoxon Signed-Rank Test?

A

A Wilcoxon Signed-Rank Test used for paired values to test whether there is a difference in the mean/medians of two populations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When do you use the Wilcoxon Rank-Sum Test (Mann-Whitney U Test)?

A

When you have unpaired data and cannot assume the data is normally distributed, and you want to test for differences between the populations from which two samples are taken.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you calculate the test statistic (U) for the Wilcoxon Rank-Sum Test?

A

Rank all the data together.
Calculate T for each sample (sum of ranks).
Calculate π‘ˆ = 𝑇 βˆ’ (𝑛(𝑛 + 1))/2 for each sample.
The test statistic is the smaller of the two U values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can you check your calculated U values for the Wilcoxon Rank-Sum Test?

A

π‘ˆπ΄ + π‘ˆπ΅ = π‘š Γ— 𝑛 (where m and n are the sample sizes of each group)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Hypotheses for a Wilcoxon test

A

Null Hypothesis (H0): Always state your null hypothesis clearly. For example, in a sign test, H0 might be: β€œThe median is equal to [specific value].” In a Wilcoxon test, it might be: β€œThere is no difference in the medians/means of the two populations.”

Alternative Hypothesis (H1): Make sure your alternative hypothesis reflects the question you’re trying to answer. Is it one-tailed (greater than or less than) or two-tailed (different from)? This will determine how you interpret your results and find the critical value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where to find the critical values and how to make your decision at the end of the test

A

Critical Values and Decision Rule:

Using Tables: The PDF mentions using tables in the formula booklet to find critical values. Make sure you know how to use these tables correctly, paying attention to the significance level, whether the test is one-tailed or two-tailed, and the sample size(s).

Decision Rule: The decision rule is based on comparing your test statistic to the critical value.
If the test statistic falls within the critical region (beyond the critical value), you reject the null hypothesis.
If the test statistic does not fall within the critical region, you fail to reject the null hypothesis. (Important: β€œFail to reject” is not the same as β€œaccept.”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Types of Errors:

A

Type I Error (False Positive): Rejecting the null hypothesis when it is true. The probability of a Type I error is equal to the significance level (Ξ±).

Type II Error (False Negative): Failing to reject the null hypothesis when it is false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When to use each Wilcoxon and signed test

A

Sign Test: Use when you have very little information about the data and need a quick and simple test. It’s good for paired data or testing a single median.

Wilcoxon Signed-Rank Test: Use when you have paired data and want to take into account the magnitude of the differences. It’s more powerful than the sign test when its assumptions are met (especially symmetry).

Wilcoxon Rank-Sum Test (Mann-Whitney U Test): Use when you have two independent samples (unpaired data) and cannot assume normality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Practical Considerations:

A

Tied Ranks: Understand how to handle tied ranks in both the Wilcoxon Signed-Rank and Rank-Sum tests.
Zero Differences: In the Wilcoxon Signed-Rank test, you discard zero differences and adjust your sample size accordingly.