Biometry exam 2

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

1/47

flashcard set

Earn XP

Description and Tags

peace love 2 way anova

48 Terms

1
New cards

2 Sample T-test

  • requires samples with equal variance and normal distribution

  • tests the null hypothesis of the two means of populations are equal

  • non paired, independent samples

  • If the CI of one includes the mean of another, they are not significant


2
New cards

Welch’s approximate t test

  • compares mean of 2 normally distributed populations with unequal variances


<ul><li><p>compares mean of 2 normally distributed populations with <u>unequal variances</u></p></li></ul><p></p>
3
New cards

Mann whitney U test

  • non parametric t-test

  • deals with ranked values

  • assumes both samples are random and distributions are similar

  • for tied ranks, take the numbers they cover and divide by n


<ul><li><p>non parametric t-test</p></li><li><p>deals with ranked values</p></li><li><p>assumes both samples are random and distributions are similar</p></li><li><p>for tied ranks, take the numbers they cover and divide by n</p></li></ul><p></p>
4
New cards

Paired sample t

  • t test for samples that are paired, where you are interested in the difference between them

  • if the null hypoth is true, the difference between µ1 and µ2 is 0

  • n = # of pairs

  • groups must be balanced


5
New cards

the null hypoth is true, but you reject the null

  • type 1 error

  • prob = α (typically 0.05)


6
New cards

the null hypothesis is true, and you fail to reject the null

  • correct

  • prob = 1 - α


7
New cards

the null hypothesis is false, and you fail to reject the null

  • type 2 error

  • prob = β



8
New cards

the null hypothesis is false, and you reject the null

  • correct

  • prob = 1-β


9
New cards

statistical power

  • the probability of not making a type 2 error

  • 1 - β


10
New cards

Randomization / permutation

  • under the assumption of the null hypoth being true

  • mixes up real data randomly and makes new estimate from random data

  • randomization without replacement


11
New cards

jack-knifing

  • deterministic, always the same outcome

  • data must be separable into independent subunits

  • delete each observation 1 at a time and calculate pseudovalue for each observation

  • a way to put a CI on something with no simple formula for doing so


12
New cards

Bootstrapping

  • creates a random dataset by random sampling of the data with replacement of the original values

  • non replicable, different outcome every time


13
New cards

F ratio

  • ratio of variance estimates

  • F = s²1 / s²2

  • If null is true, F = 1 and will follow normal distribution

  • 1 DF each for numerator and denominator (total 2 df’s)

  • 2 sided test, compare against F.975 to get 5% confidence


14
New cards

types of factors

  • fixed and random


15
New cards

Yij = µ + αi + bij + eij

Yij = response

µ = mean

αi = affect of i level of factor

bij = effect of j individual in i level of factor

eij = error / residual variance

<p>Y<sub>ij</sub> = response</p><p>µ = mean</p><p>α<sub>i = </sub>affect of i level of factor</p><p>b<sub>ij</sub> = effect of j individual in i level of factor</p><p>e<sub>ij</sub> = error / residual variance</p>
16
New cards

Sum of Squares

  • derived from the mean

  • 3 types, SS total, SS within groups, and SS between groups (also referred to as SS group or SS factor)

  • SS within + SS between = SS total


17
New cards

Total sum of squares

  • sum of each individual against overall mean


18
New cards

within sum of squares

  • sum of each group individual against group mean


19
New cards

factor / group / between sum of squares

  • group mean against overall mean


20
New cards

ANOVA

  • used to compare the means of 1 or more factors levels

  • estimates αi (and sublevels when included) to compare them to see if they differ

  • assumes independent


21
New cards

Mean square =

SS / df

22
New cards

model1 anova

  • fixed factors that do not sample all possibilities

  • interested in the outcome of specific treatments/setups

  • repeatable


23
New cards

model 2 anova

  • random factors

  • groups are sampled randomly from all possible groups/treatments

  • not interested in one particular group or treatment, rather interested in making inferences about the population


24
New cards

Tukey-Kramer

  • post hoc analysis for fixed effects only

  • compares all group means to all other group means to determine which are different

  • can tease apart which groups/levels differ from one another


25
New cards

natural log

  • used when the data is right skewed

  • or when the variance increases as the mean increases


26
New cards

arcsin square root

  • used when the dependent variable is a proportion


27
New cards

Kruskall Wallace

  • non parametric 1 way anova

  • rank based

  • more difficult to see a difference when one is present in rank based analyses


28
New cards

Nested anova

  • multilevel, hierarchical, with multiple causal factors nested within one another

  • every possible combination of factors is not tested


29
New cards

factorial anova

  • includes interaction in sources of variation

  • every possible combination of factors is tested


30
New cards

F ratios when both factors are fixed

Interaction: F = MS interaction/MS error

factor A: F = MS A / MS error

factor B: F = MS B / MS error

31
New cards

Pure model 1

  • both factors fixed

  • F value for all factors is calculated by dividing factor by MS error


32
New cards

Pure model 2

  • both factors random

  • F for factors is calculated by dividing individual factor MS by interaction MS

  • F for interaction is calculated by dividing MS interaction by MS error


33
New cards

F value when both factors are random

factor a: F = MS A / MS AB

factor b: F = MS B / MS AB

interaction: MS AB / MS error

34
New cards

Mixed model

  • 1 factor random, 1 factor fixed


35
New cards

F statistic calculation for mixed model

  • fixed factor: MS fixed / MS interaction

  • random factor: MS random / MS error

  • interaction: MS interaction / MS error

  • on minitab, calculate these by hand


36
New cards

What do you need to estimate an interaction

  • multiple measurements for all combinations of factors


37
New cards

interaction

  • the affect of factor a depends on factor b


38
New cards

AIC

  • measure of goodness of fit, often a criteria for selecting best model

  • AIC = 2k - 2 ln(L hat)

  • lower value is better


39
New cards

Bonferroni

  • controls for false positive, but reduces power, making type 2 errors more likely

  • assumes all tets are independent

  • test is significant only if P < α / M

  • where α is significance level, typically .05, and M is # of tests


40
New cards

fishers combined probability test

  • takes tests of the same null hypothesis and asks: based on results of all tests, should we reject the null?

  • utilized for when multiple experiments have been performed

  • natural log each p value and multiply by 2

  • sum and compare to chi sq


41
New cards

Holms bonferroni

  • increases the power of bonferroni through a sliding scale

  • rank each p value smallest to largest

  • P(k) < α / M + 1 - k

  • where M is # of tests, α is significance level, and k is the rank


42
New cards

False Discovery / FDR

  • rank p’s smallest to largest and calculate the cutoff

  • if P value is smaller than the cutoff, it is significant

  • cutoff = chosen FDR - rank / M

  • where M is # of tests


43
New cards

FDR

  • fraction of significant tests that are false

  • determined by researcher, often 10, 5, etc, can be wrong


44
New cards

r² / Coefficient of determination

  • proportion of variance in 1 variable that can be predicted from another


45
New cards

r =

Sxy / SxSy

46
New cards

Co variance / Sxy

Sxy = 1 / n-1 x Sum of (x-x̄)(y-ȳ)


  1. For each “pair” of data points, multiply (x-x̄)(y-ȳ)

  2. then sum all results and multiply by 1 / n-1


47
New cards

F value formulas for nested anova

Group: MS Group / MS Subgroup

Subgroup: MS Subgroup / MS Error

48
New cards

Homoskedasticity

  • variance is equal amongst observations

  • usually referring to variance of the error is constant across dataset

  • homogeneity of variance