week 9 - Nonparametric Tests for Two Means, Testing Regression Slopes, and the Normal Approximation to the Binomial Distribution

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

what is the difference between a parametric and a non-parametric test?

  • parametric - based on density distributions ie normal or t

  • non-parametric - do not have a formula or density function and use robust statistics

  • distribution-free” tests

2
New cards

why do non-parametric tests compare medians rather than mean?

medians are robust statistics

3
New cards

what type of data is the wilcoxon signed ranks test applicable to? is the response variable discrete or continuous?

  • paired data

  • continuous but can be ordinal

4
New cards

what are the null and alternative hypotheses for wilcoxon signed rank tests?

ie - 0 is the center of the dist

<p><span>ie - 0 is the center of the dist</span></p>
5
New cards

what are the steps in conducting a wilcoxon signed rank test?

knowt flashcard image
6
New cards

explain the table (columns) used to generate W- and W+

  • X-Y - find difference

  • abs - abs value of difference

  • X-Y - order the absolute value BUT include the sign

  • abs - abs value of X-Y

  • rank - incl averages

  • neg

  • pos

7
New cards

how do you average ranks?

if there are 2x number 1 and 1 is the smallest number, each number 1 is the average between rank 1 and 2, thus 1.5

8
New cards
<p>calculate W+ and W- for this data </p>

calculate W+ and W- for this data

knowt flashcard image
9
New cards

how can you check your W+ and W- ranked sums?

knowt flashcard image
10
New cards

how do you calculate the expectation and variance of ranked sums? what are the conditions for this?

condition - n must be AT LEAST 10

<p><span>condition - n must be AT LEAST 10</span></p>
11
New cards

how do you calculate the Z statistic for wilcoxon signed rank tests?

where sqrt of var = SD

<p>where sqrt of var = SD</p>
12
New cards

what is the p-value for a W- value of 13 and n=10?

knowt flashcard image
13
New cards

what are the distributions for wilcoxon statistics when n>10 and when n<10?

thus, we can use a Z procedure if n>10

<p>thus, we can use a Z procedure if n&gt;10</p>
14
New cards

using the table, what is the p-value for a W- of 13 and n=10. what conclusion can be made in this scenario for a 1 and 2 sided test?

  • 13 is btwn 14 and 10

  • for both 1 and 2 sided tests, p>0.05, thus we cannot reject H0, not a significant difference between the 2 medians

<ul><li><p>13 is btwn 14 and 10</p></li><li><p>for both 1 and 2 sided tests, p&gt;0.05, thus we cannot reject H0, not a significant difference between the 2 medians</p></li></ul>
15
New cards

do you use W- or W+ when using the table for wilcoxon tests?

whichever is the smaller rank sum

16
New cards

what type of data is the mann-whiteney test applicable to?

unpaired data

17
New cards

what are the null and alternative hypotheses for mann-whitney tests?

knowt flashcard image
18
New cards

what are the steps involved in the M-W test?

knowt flashcard image
19
New cards
<p>what do the rank sums indicate about the data?</p>

what do the rank sums indicate about the data?

larger rank sum indicates that the group is quite different, or further from the other group

20
New cards

how do you calculate the expectation and variance of Wx (or Wy) for MW tests?

knowt flashcard image
21
New cards

how do you calculate the Z-statistic for Wx (or Wy)?

where sqrt of var = SD

<p>where sqrt of var = SD</p>
22
New cards
term image

p-value >0.2

<p>p-value &gt;0.2</p>
23
New cards
term image

*P = 0.0041

<p>*P = 0.0041</p>
24
New cards

in regression, how are residuals distributed?

normally distributed about the mean

25
New cards

what are the null and alternative hypotheses for testing the slope of a regression line?

  • H0: slope =b

  • Ha: slope =! b

26
New cards

how do you calculate the SE of the slope?

knowt flashcard image
27
New cards

how do you calculate the test statistic for the slope? what are the degrees of freedom and why?

df = n-2 as we are estimating slope AND intercept

<p>df = n-2 as we are estimating slope AND intercept</p>
28
New cards

what is the structure of a 95% confidence interval for testing a slope?

knowt flashcard image
29
New cards

how can we approximate binomial distributions. what is this used to make inference on?

  • we can approximate the binomial using the CLT

  • approximations can be used to make inferences on proportions

30
New cards

how can we find the sum of successes of a random variable? what is this defined as?

sum = no of successes = Sn

<p><span>sum = no of successes = Sn</span></p>
31
New cards

how do you calculate the expectation and variance of Sn?

for bernouli, expectation, E(X), = p

<p>for bernouli, expectation, E(X), = p</p>
32
New cards

what is the distribution of Sn for a binomial rv?

knowt flashcard image
33
New cards

what are the steps in the normal approximation for a binomial?

calculate binomial as a sum, find expectation and variance, and apply CLT

34
New cards

what are the 2 versions of the CLT?

knowt flashcard image
35
New cards

how do we improve the accuracy of the normal approx to binomial?

binomial vs normal - binomial is a discrete dist, normal is continuous

<p><span>binomial vs normal - binomial is a discrete dist, normal is continuous</span></p>
36
New cards
<p>^use 26 for qd (or 25.5 for the correction)</p>

^use 26 for qd (or 25.5 for the correction)

knowt flashcard image