Biostats Final

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

1/157

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:00 AM on 5/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

158 Terms

1
New cards

two main ways parametric and nonparametric tests differ

  1. estimation of parameters/nonparametric does not

  2. nonparametric tests use ranks rather than directly using the raw data

2
New cards

draw a scatter plot for a non-representative data set and a non homogenous data set

non-representative: hourglass shaped

non-homogenous: funnel shaped

3
New cards

what do confidence intervals tell us about how the data collected relates to populations compared to hypothesis testing?

both help us estimate the mean. The p value tells us: how surprising is it that we get this sample mean given it represents the population? The confidence interval then can help us estimate where the mean lies given the sample mean. However, CIs do not involve statistical analysis and are not as strong as p value.

4
New cards

wwhy is it better to have equal n’s

maximize statistical power. If unequal, smaller group have larger standard error. Risks not having homogeneity of variances

5
New cards

p value

The probability of obtaining a test statistic as extreme or more extreme than the one obtained given that the null hypothesis is true

6
New cards

when do you reject the null

when p is less than or equal to alpha

7
New cards

alpha

critical probability/p-value (a probability in which it is too rare to occur just due to chance)

8
New cards

little p variable meaning

expected probability

9
New cards

chi squared equation

sum((O-E)²)/E

10
New cards

how to formally write p value

_ < p < _

11
New cards

what does a probability density function measure

area under a bell curve

12
New cards

what does it mean if the chi square value is zero

oberserved and expected values are equal

13
New cards

critical value of chi square

the chi square value at a specific degree of freedom that creates a rejection zone (ex. 3.84 for 1 degree of freedom)

14
New cards

three types of error (just name them)

  1. experimentor error

  2. chance error

  3. statistical error

15
New cards

experimentor error

accumulating inaccuracies through carrying out an experiment, caused by the experimenter themselves

16
New cards

chance error (how does it relate to standard error)

error due to small sampling. Can be mitigated by increasing n. This decreases standard error because it equals s/n

17
New cards

statistical error

type I: aka alpha error, you reject the null but it was actually true

type II: aka beta error, you retain the null but it was actually false

18
New cards

19
New cards

Is chi square a statistic?

yes

20
New cards

is a critical value a statistic

no

21
New cards

chi square goodness of fit test used when

there is one nominal variable, tests against model for random chance

22
New cards

chi square test for independence when

you have two nominal variables, calculates expected frequency from the data we collect

23
New cards

what does it mean when two things are independent

they have nothing to due with eachother

24
New cards

degrees of freedom formula for chi square goodness of fit

k-1 (possibilities minus one)

25
New cards

degrees of freedom formula for chi square test for independence

(#rows-1) (#columns-1)

26
New cards

conclusion vs hypothesis

the hypothesis is simple and uses more statistical language, such as “independent of” “does not differ from” “are equally likely”

the conclusion answers the question asked in the experiment, not the hypothesis. It elaborates on/applies the hypothesis to what the experiment seeks to find.

27
New cards

steps of hypothesis testing

  1. state the hypothesis (both null and alternative)

  2. conduct statistical test (such as chi square)

  3. find p value

  4. conclusion

28
New cards

when is Tcv positive vs. negative?

positve when we load confidence to the right, negative when we load it to the left. This is because it should be the same sign as we expect t to be.

29
New cards

What are the appropriate hypotheses for each statistical analysis?

  • z scores do not involve hypothesis testing. You only convert a value to a z-score to find a probability/area under curve

  • chi square gof: the null is that the observed frequencies match the expected frequencies.

  • chi square indep: the null is that the first categorical variable and second categorical variable are independent of each other.

  • one sample t test: is our sample actually apart of the population we are trying to measure? Null is that the population mean and sample mean are the same.

  • two sample t test: Compare the means of two independent groups. Null is that the means of two samples are the same.

  • paired t test: Compares the means of two related measurements. So the null is that the difference between the two means is zero.

  • Mann Whitney U: Non-parametrically compared the means of two independent groups. Null is that the two groups are the same (not their means!!)

  • ANOVA: Compares the means of more than two independent groups. The null is that the means of each group are the same.

  • Tukey: means of each pairing are the same

30
New cards

what exactly does the z score/distribtion tell you?

it tells you how far away a value (either a value obtained from an individual in the sample, or a sample mean) is from the mean, specifically in standard deviations. From it you can obtain the probability of a test statistic to the extreme of z occuring, given null is true.

Every z score corresponds to a specific area under the curve (+ or -). The table will tell you the area under the curve to the extreme of the z score. So if you have a negative z score, the table tells you the area to the left of that. If you have a positive z score, the table tells you the area under the curve to the right of that.

<p>it tells you how far away a value (either a value obtained from an individual in the sample, or a sample mean) is from the mean, specifically in <strong>standard deviations. </strong>From it you can obtain the probability of a test statistic to the extreme of z occuring, given null is true.</p><p>Every z score corresponds to a specific area under the curve (+ or -). The table will tell you the area under the curve to the extreme of the z score. So if you have a negative z score, the table tells you the area to the left of that. If you have a positive z score, the table tells you the area under the curve to the right of that.</p>
31
New cards

what exactly does the t score/distribtion tell you, how does it relate to p?

How many standard errors your sample statistic is away from another mean (population or other sample)

A t value measures how many standard errors the sample mean is away from the hypothesized population mean, or how far away it is from the null expectation. That t value is then used to calculate a p-value, which represents the probability of observing that t value or one more extreme given the null hypothesis is true. (asking: how surprising is it that we got this t value?)

32
New cards

one sample t test

tells you whether the sample came from the population we are trying to test. Null is that there is no significant difference between the two, and the sample came from the pop.

<p>tells you whether the sample came from the population we are trying to test. Null is that there is no significant difference between the two, and the sample came from the pop. </p>
33
New cards

two sample t test

compares whether experimental population represents a different population than the control, or whether two independent groups are different from eachother (NO OVERLAP BETWEEN GROUPS). The null is that there is no difference between the two. (example drug vs. control in different patients, male vs female students)

Can’t just add the two standard errors because it inflates variability. This formula helps avoid assumption of equal variances between the two 2 samples.

<p>compares whether experimental population represents a different population than the control, or whether two independent groups are different from eachother (NO OVERLAP BETWEEN GROUPS). The null is that there is no difference between the two. (example drug vs. control in different patients, male vs female students)</p><p>Can’t just add the two standard errors because it inflates variability. This formula helps avoid assumption of equal variances between the two 2 samples.</p>
34
New cards

paired t test

Compares whether two related/non-independent groups are significantly different from each other. Null is that there is no difference. (example: brain vs. body temp in the same animal, same patients before and after a drug, identical twins with one receiving drug a and one receiving drug b)

<p>Compares whether two related/non-independent groups are significantly different from each other. Null is that there is no difference. (example: brain vs. body temp in the same animal, same patients before and after a drug, identical twins with one receiving drug a and one receiving drug b)</p>
35
New cards

how to calculate different confidence intervals

  • one sample: y bar ± t (subscript CV) x SEy

    • for Tcv find the critical value with the df

  • two sample

    • y bar 1 - y bar 2 ± t(CV) x (SEy1-SEy2)

  • paired

    • same as one sample but with d not y

36
New cards

what exactly is the definitition of a confidence interval

for estimating Mu and making a confidence interval: Mu at 95% confidence is between +2SEy and -2SEy from y bar

for sampling distribution/meta experiment: 95% of y bars in a sampling distribution lie between ±2SEy from Mu

for a population distribtuon: 95% of yi’s in a population lie between ±2sigma of Mu

37
New cards

strategy of finding d in a paired t test??

It depends on what you are looking for in an experiment and what your null hypothesis is. You can technically do either, you just have to make sure your wording is consistent. You can set the t equation to give you a positive t, which means that the mean of the first group is HIGHER than that of the second group (aka there was a decrease from the first to second group).

You can also set the equation to give you a negative t, which means the mean of the first group is LOWER than the second group (aka there was an increase from the first to second group)

38
New cards

critical value/how to interpret it

A critical value is a threshold that tells you how extreme a test statistic has to be to reject the null hypothesis.

39
New cards

when to use a(1) vs a(2) in a t-dist

depends on where you want to load confidence. If you only load it into one tail, you want to see if a mean is less than or more than, rather than just different. If the hypothesis is not directional and you want to test both extremes, you can load it into two tails to see if the mean could be less or more, you are testing for both here not just less than or more than (is the sample mean unequal to the pop. mean)

  • example: use a(1) when you want to test if the sample mean is larger than the population mean. Therefore you would load confidence to the left, because you are looking for a probability of the sample mean being in that area aka above the population mean.

40
New cards

making conclusions???

Include whether there is a significant difference between the two means. Then apply that if possible. What could be causing the absence/presence of this difference?

41
New cards

define a normal distribution and its equation

a continuous probability distribution describing a bell shaped curve, and can be used to approximate frequency distributions.

42
New cards

Qualities of the normal distribution

  1. has a function for a bell curve

  2. mean=median=mode

  3. empirical rules apply

  4. no kurtosis

(can be applied to the probability density function → probability of a variable falling into a specific range across the distribution, the porb. density is highest at the mean)

43
New cards

list the empirical rules in the context of a confidence interval and estimating mu

ȳ±1(SEȳ) →_a_<μ<_b_

  1. I am 68% CONFIDENT that μ is between a and b.

ȳ±2(SEȳ) →_a_<μ<_b_

  1. I am 95% CONFIDENT that μ is between a and b.

ȳ±3(SEȳ) →_a_<μ<_b_

  1. I am 99.7% CONFIDENT that μ is between a and b.

44
New cards

list the empirical rules in the context of a sampling distribution

  1. ~68% of sample means (y-bars) should lie within ±1SE of µ

  2. ~95% of sample means (y-bars) should lie within ±2SE of µ

  3. ~99.7% of sample means (y-bars) should lie within ±3SE of µ

45
New cards

list the empirical rules in the context of a population distribution

  1. ~68% of values in the population (yi's) should lie within ±1σ

of µ

  1. ~95% of values in the population (yi's) should lie within ±2σ

of µ

  1. ~99.7% of values in the population (yi's) should lie within ±3σ

of µ

46
New cards

The four moments

  1. location, measured by the mean

  2. spread, measured by variance and standard deviation

  3. symmetry, measured by skewness, how close mean and median are.

    1. Positively skewed is the outliers are high (mean is bigger)

    2. neg skew is outliers are low values

  4. peakedness, measured by kurtosis

    1. can be leptokurtic (positive kurtosis, high peak)

    2. platykurtic (negative kurtosis, flat curve)

47
New cards

types of errors

  1. experimenter error (accumulating inaccuracies through carrying out an experiment, caused by the experimenter themselves)

  2. chance error (error due to small sampling. Can be mitigated by increasing n. This decreases standard error because it equals s/√n)

  3. statistical error (type I: aka alpha error, you reject the null but it was actually true

    type II: aka beta error, you retain the null but it was actually false)

48
New cards

Power

the ability to reject the null when you should be

can be affected by

  1. raising sample size (increases power)

  2. increasing alpha (increases power)

  3. increasing effect size (increases power, decreases standard error)

  4. inherent variability (decreases power)

49
New cards

Definition of P-value

The probability of obtaining a test statistic as extreme or more extreme than the one obtained given that the null hypothesis is true

50
New cards

Why do we never use confidence intervals to test hypotheses?

  • A 95% CI is equivalent to a two-tailed test at α = 0.05. If your hypothesis is one-tailed, the CI doesn’t match your α correctly.

  • doesn’t give you an exact p-value

  • however if t is more extreme than tcv usually the null is rejected

51
New cards

What is standard deviation? What is standard error? What do they tell us about data?

  • s=typical distance of values from sample mean

  • SEy=standard error of the mean, measures how precisely sample mean represents population mean

52
New cards

chi square gof vs test for independence

sum((O-E)²)/E

goodness of fit: there is one nominal variable, tests against model for random chance

independence: you have two nominal variables, calculates expected frequency from the data we collect

53
New cards

4 assumptions of a t test

  1. representative samples

  2. each sample in the study is normally distributed

  3. if more than 1 sample, the samples a independent (for a two sample t test not paired)

  4. if more than 1 sample, there are equal variances among samples

54
New cards

z sub .7 meaning

z score at which the area to the right is .7 (so it is asking for 30th percentile)

55
New cards
56
New cards

what does ANOVA stand for

analysis of variance

57
New cards

underline method strat

groups should be ordered from largest to smallest

58
New cards

how to calculate degrees of freedom

  • one sample: n-1

  • paired: n-1

  • two sample: N-2

  • none for Mann Whitney U because it is nonparametric. Degrees of freedom involves estimating parameters

59
New cards

graph for 1 nominal and 1 continuos variable

bar graph with standard error

60
New cards

degrees of freedom in 2 sample t test

N-2

61
New cards

standard deviation

 typical deviation of data from the mean, has to do with spread

62
New cards

what letter distribution does ANOVA use? Turkey? Mann Whitney U?

F

q

U

63
New cards

what does F statistic/distribution tell you

ratio of between-group variance to within-group variance

64
New cards

MS

the average variance. It measures the variances between the different samples, and can be done in respect to model or error.

65
New cards

criteria for ANOVA

Parametric, normal distribution, 3+ quantitative samples

Nominal x cont. Y

66
New cards

anova is a ___ analysis of difference

one way, because it doesn’t tell you what group mean is statistically different from the others, given the null is rejected. AND BECAUSE IT IS ONE TAILED

67
New cards

2 forms of ANOVA hypotheses

Conceptual: the normal one we do

Statistical: compares model vs. error variance, tells you if there is more signal than noise

68
New cards

assumptions of ANOVA (4)

  • Representative samples (represent the population they were obtained from)

  • Normally distributed data from all samples (each group fits the equation of a normal distribution)

  • Data is all independent within and between samples

  • Homogeneity of variances (equal variance amongth samples)

69
New cards

grand mean

overall average of data across all groups

70
New cards

is variance or sum of squares additive?

SS, adding variances inflates variability

71
New cards

model:

variation explained by the independent variable, reflects how different the groups are from each other, is the “signal”

72
New cards

error

reflects unexplained variation within groups, is the “noise”

73
New cards

I/K

number of groups in ANOVA

74
New cards

F ratio

a ratio of variance/mean squares, decide whether group means are actually different or just different due to randomness. If it is much larger than one there is likely significant difference

ratio of signal over noise. If there is more signal than noise we know at least one group is different

75
New cards

sum of squares/what do the different kinds tell you

  • measure of total variation, tells you how spread out the data is by adding up squared differences. 

    • Model: variation explained by group differences, how far group mean is from overall mean

    • Error: unexplained variation, how far each individual value if from its group mean

    • Total: total variation in all data

76
New cards

2 sample t test modeling type

Nominal x, cont. Y

77
New cards

how to calculate a confidence interval

use formula, for two sample t tests you collect it for the difference between two population means (M1-M2, instead of just M like a one sample).

Ex. I am 95% confident that the difference between population mean 1 and 2 lies between these values.

78
New cards

what is important about the sign of t in a two sample t test

  • When you load confidence, make sure of the sign of your t matches your hypotheses (ex. If cocaine increases running time as opposed to saline, ensure your t will be positive given the alt. Is true)

    • Or if medication decreases depression scores, your t will be negative given the alt. Is true

    • Be careful that if you don't load confidence your t value is both + and -

79
New cards

strat for Whitney U

Always use the larger U value (so pick the smaller between R1 and R2)

80
New cards

what does the q value tell us

In tukey test, tells us how far apart two group means are relative to the variability in your data.

81
New cards

conclusion for two sample t test vs Whittney

  • two sample t test can give you conclusions about parameters, Whitney cannot! Don’t talk about average/mean in your Mann Whitney conclusion

82
New cards

83
New cards

how to find Fcv

you don’t find it idiot, if your ANOVA is significant you use the q distribution

84
New cards

Observational study

a scientific study like experimental, but group being studied is uniform/all being treated the same way. Don’t need hypothesis testing or manipulation

85
New cards

what does the main affect of A graph tell you

does A (ex. gender) impact Y? (you are not looking at B, B should be parallel with a slope and lines close together)

  • same slope: removing interaction of B

86
New cards

what does the main affect of B graph tell you

does B (ex.medication type) impact Y? (you are not looking at A, lines should be parallel between the two A’s and one should be above the other so show one B is higher)

  • same slope: removing interaction of A

87
New cards

what does the main affect with B interaction graph tell you:

  • which B is overall higher and lower? Do they get more different or more similar between A1 and A2?

    • slopes should not be parallel but moreso converging in one way

88
New cards

what does the interaction of A and B graph tell you

interaction: for each A is B1 or B2 higher? (shows all the means and all interactions)

89
New cards

what does a sampling distribution look like if increased your sample size?

it would be tall and narrower because of the small sample size. The x axis would be the means for each sample. This is because increases your sample decreases standard error and the spread of the graph, making it narrower.

90
New cards

dispersion

measured by s, SEy, s², and IQR, tells us how spread the data is from the center. s specifically tells us the dispersion of data around the mean of a single sample, whereas SEy tells us the precision of a sample mean in estimating M.

91
New cards

central tendency

identifies the center of a dataset, can be measured by median or mean. Involves the first moment (location), where the most middle/probable value is

92
New cards

interaction

when the effect of one independent variable (factor) on a dependent variable depends on the level of another.

Two variables combine to affect the response.

93
New cards

How is a sampling distribution obtained? What are the components of a sampling distribution

which differ from a population?

It is done by repeatedly taking samples from a population and gathering data, usually y bars.

It differs from a population distribution because the many y bars, rather than population values, are used to estimate Mu. The middle of the graph is the mean of all the y bars instead of the actual Mu, and the spread is measured by standard error of the mean rather than standard deviation.

94
New cards

Pr[X|Y]

probability of X given Y

95
New cards

Experimental Study

has a control and a changed thing in an experimental group. x variable must be manipulated.

96
New cards

hypothesis testing uses what kind of statistics

uses inferential statistics

97
New cards

statistics: descriptive v inferential

statistics: study of methods to describe and measure aspects of nature from samples. Used to test hypotheses and make inferences

Descriptive: describe and summarize data you actually collected (mean, standard error, variance, standard deviation)

Inferential: use sample data to make the conclusion about a population (estimate parameters, use t-tests, p values, etc)

98
New cards

precision/consistency

standard error, about consistency rather than accuracy. You want less deviation and measurements that are consistent with each other. Doesn’t require being close to the true value. You’re measurements are the same/close each time you do the experiment.

99
New cards

accuracy

(getting at the true value/state) how close your data is to the true population, how close your estimate of mean weight of crayfish is to the M =

100
New cards

order of scientific method (explain)

  1. Ask questions: in present tense (does/do/is), “do students in bio and psych class differ in height?” “do antidepressants raise dopamine levels in mice?”

  2. Form hypothesis: ex. Students in bio and psych class differ in height

  3. Make an inference: and if/then statement, where you make a specific prediction about your sample. “If I measure 8 students in each class with a tape measure, then their heights will differ” “If I give a group of 10 mice oral antidepressants, their dopamine levels will be higher than the control of 10 mice”

  4. Design the experiment: implement controls, design how you will collect data and analyze your statistics

  5. Carry out the experiment/collect data: need to determine the modelling type to collect data correctly. x and y can be nominal (a name/category) or continous (a value/number)

  6. Statistically analyze data

  7. Make conclusions