Exam 2 Flashcards

1
Q

t distribution

A
  • we use a sample standard deviation s instead of population standard deviation
  • used when you don’t know population sd
  • similar to normal but “thicker tails
  • shape depends on sample size: df = n-1
  • the bigger the sample size, the closer to normal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

95% Confidence interval

A

x - tcrit (s/sqrtn) < u < x + tcrit (s/sqrtn)

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

conditions/assumptions of t test

A
  • random sample
  • observations should be independent of each other
  • population should be normal or n >25
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

steps to hypothesis testing

A
  1. hypothesize: state null and alternative
  2. prepare: set sig level at 0.05, select test, check assumptions, find critical value
  3. compare: compute test statistic and compare to critical value or example 95% CI
  4. interpret
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

p-value

A

the probability of observing a t-statistic at least as extreme as the one you calculated, assuming your hypothesis is true

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

one sample t test

A

compares 1 sample mean to a comparison value of interest

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

independent samples t-test

A

-compares samples from two different groups to see if the means are significantly different

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

paired (or dependent-samples) t-test

A

-comparing one sample to another related sample to see if there are differences within pairs

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

one-tailed test

A

non-directional

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

two-tailed

A

directional

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

Chi-Squared Goodness of Fit

A

-test if one categorical variable matches the expected distribution

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

test of independence

A

-test whether there is an association between two categorical variables

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

conditions/assumptions of chi-squared

A
  • random sample, independent observations
  • sample size: at least 1 of each expected count
  • 80% of expected counts should be >5
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

chi-square

A

sum (((observed-expected)^2)/expected)

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

expected count (for chi squared)

A

(row total x column total)/grand total

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

df for chi-square of independence

A

df = (rows-1)(columns-1)

17
Q

df for chi-squared goodness of fit

A

df = #groups - 1

18
Q

odds ratio

A
  • odds of X happening in the presence of Y divided by the odds of x happening without the presence of Y
  • (p1/(1-p1))/(p2/(1-p2))
19
Q

relative risk

A
  • compare the probability of x happening in the presence of y and not in the presence of y
  • (a/(a+b))/(c/(c+d))
20
Q

when the disease is rare

A

OR = RR

21
Q

when the disease is common

A

OR&raquo_space; RR

22
Q

options for violation of assumptions for OR or RR

A
  • ignore the violation
  • transform the day to avoid violations: apply a function y= f(y); neg skewed? try power transforms
  • use a nonparametric method
  • use a permutation test
23
Q

detecting violations

A
  • when sample sizes are very small (n<15) it is very difficult
  • use nonparametric test
24
Q

Wilcox-mann-whitney U test

A
  • non-parametric alternative to independent samples t-test
  • compares distributions of two groups
  • hypothesize, rank all data from least to greater, take sum of ranks for R1
25
Q

U statistic

A

U1 = n1n2 + (ni(ni+1))/2 - R1
U2 = n1n2 - U1
U = Max (U1, U2)
-if U > Ucrit, reject null hypothesis