Lecture 13: Handling Violation of Assumptions

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

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

7 Terms

1
New cards

How can we assess normality in our data?

  • Review prior data.

  • Make histograms for each group and watch for skew or outliers.

  • Make a Q-Q plot and check data against the reference line.

    • Points are close to the line → Normal.

    • Points are far away from the line → Not normal.

  • Conduct Shapiro-Wilk test.

    • p > 0.05 → Normal.

    • p ≤ 0.05 → Not normal.


2
New cards

When and how do we transform our data?

We use transformations to improve normality in our data by applying a reversible mathematical operation to every data point. The goal is to improve normality, not to obtain the lowest p-value, as doing so increases the risk of Type I error.

knowt flashcard image

Note: Once the confidence interval is calculated, back-transform the lower and upper limits to interpret them on the original scale.

3
New cards

What is the difference between parametric and nonparametric tests?

The main difference is that parametric tests assume your data follows a specific probability distribution (like a normal or bell curve), while nonparametric tests make little to no assumptions about the data’s distribution.

knowt flashcard image


4
New cards

What is the nonparametric alternative to a one-sample t-test?

The sign test, which tests whether the median equals a hypothesized value (m0).

H0: Median = m0

HA: Median ≠ m0.

  1. Compare each observation with m0.

  2. Assign “+” if above m0, and “−” if below.

  3. Discard any observations that are equal to m0.

  4. Count the positive and negative signs, then perform a binomial test using p = 0.5, where X represents the number of either positive or negative signs and n is the total number of non-tied observations.


5
New cards

What is the non-parametric alternative to the paired t-test?

The Wilcoxon signed-rank test.

1) Calculate the differences between pairs.

2) Subtract the hypothesized median difference () from each difference, then remove any resulting differences equal to zero.

3) Rank the absolute differences from smallest to largest, ignoring their signs (rank 1 = smallest). Assign average ranks to ties.

4) Assign the original signs (+ or −) back to their corresponding ranks.

5) Calculate the rank sums:

  • W+ = Sum of positive ranks.

  • W− = Sum of negative ranks.

6) Determine the test statistic by taking the smaller rank sum: W = min(W+, W−)

7) Find the critical value from the Wilcoxon signed-rank table using the number of nonzero differences (n) and chosen significance level for a two-tailed test.

8) Make a decision:

  • If W ≤ W* → Reject H0.

  • If W > W* → Fail to reject H0.

knowt flashcard image


6
New cards

What is the nonparametric alternative to the independent two-sample t-test?

The Mann-Whitney U-test.

1) Combine all observations from both groups.

2) Order them from smallest to largest.

3) Assign ranks, with the smallest = 1.

4) Calculate each group’s rank sum. Only one rank sum (R1) is needed for these formulas:

knowt flashcard image

5) Use U = max(U1, U2) as the test statistic and compare it to the critical value on the U table.

6) Make a decision:

  • If U ≤ Ucritical → reject H0.

  • If U > Ucritical → fail to reject H0.


7
New cards

What are permutation tests, and how do they work?

Permutation tests are a type of non-parametric, computer-intensive test that build a “custom” null distribution by shuffling the data thousands of times to determine how likely your result is to occur by chance. They are especially useful when data are non-normal and data transformations fail to address violations of parametric test assumptions.