1/96
Looks like no tags are added yet.
Why do we need stats
Stats make is easier to see reality
-if there is a rare or common difference
CANNOT tell us what to do about it
What are stats
process of inferring an unknown quantity
What does stats measure
measures differences between variables
what is sampling error
Sampling difference from the true pop
what increases sampling error
lower sampling size because the more samples taken the more accurate the data will be to the true population
What decreases sampling error
Larger samples make the data less variable and closer to the true population
Population vs sample
Population is what you draw the samples from
what is bias
systematic discrepancy between the estimates we would obtain
What leads to bias
sampling
measurement process
estimates (inadequate math formulas)
what is random sampling
equal chance to be included
independent from others
what is a variable
Characteristic or measurement that differs from individual to individual (running speed)
Estimates (average running speed)
group sampling causes
bias of convenience
volunteering for a sample causes
bias

uniform

bell shaped

asymmetric (skewed)

Bimodal
what is a frequency distribution
shows how often each value of the variable occurs in the sample
what is a probability distribution
distribution of a variable in the whole pop
what is a normal distribution
continuous probability distribution
What does random assignment minimize
the influence of confounding variable which allows experiment to isolate the effects of treatment variables
what does distribution tell you about your data
shape
mean
range, variance, or sd by the spread,
outliers
variability- how much it differs between observations
Why is it important to know about data’s distribution
It helps determine which statistical tests and methods are appropriate for analyzing data whether data meets the assumptions
what does normal distribution do
Describes continuous numerical variables
What is central limit theory
The distribution of the sample means will be approximately normally distributed regardless of the shape of the underlying distribution of the pop
average distribution of sample means= approximation of pop mean
Why do we want the distribution of samples means to be normally distributed
Sample size influences how well sampling the statistical population is interested
sample size influences spread of distribution
What does empirical rule tell us
for a normal distribution of data, 1sd encompasses 68%, 1.96sd encompass 95% and 3sd encompasses 99.7%
what is estimation
process of inferring a pop parameter from sample data
(never fully accurate)
What makes up sampling distribution
probability distribution of values we might obtain fro an estimate
(represents population of values)
what is standard error of the mean
Indicates uncertainty of estimates
(reflects precision)
what are Standard deviations
Measures how spread out individual observations in a dataset are from the mean
Uses the square root of the variance
Why is standard deviations important
variability, identifies consistency (small sd= more consistent), helps choose statistical test
uses to summarize the sample
what is a confidence interval
Quantify uncertainty about parameter
-range of numbers
-likely to contain w/in the unknown value of the target parameter
why does central limit theorem matter
explains why we can use sample data to conclude a larger population
what are parameters
Measure the population
-pop mean
-sd
what is sample error
Reflect the difference between estimate and target parameters
how can you calculate probability in a normal distribution
if youre given the mean and sd
Type 1 error
concluding the null hypothesis is false when it’s true
concluding that two means came from different underlying pops when they actually came from the same
Type II error
Concluding the null hypothesis is true when it’s false
Rejecting the alternative hypothesis when it’s true
concluding that two means come from the same underlying pop when they come from two different
p-value
probability of observing an outcome of a particular magnitude if the data were random
what is X² (chi squared) used for
to analyze proportions
types of X²
goodness of fit
homogeneity
test of independence
Goodness of fit
used to determine if one frequency distribution departs from the shape of another frequency distribution
can be observed or can be an observed distribution being compared to a theoretical probability distribution
X² goodness of fit distribution

Chi squared goodness of fit assumptions
Data collected are independent of one another (random)
none of the categories have expected frequencies <1
less than 20% of the categories have expected frequencies <5
Homogeneity
Goodness of fit test but expected values are a uniform distribution
Test of independence
evaluates whether two categorical variables are associated
Calculate chi square higher than crit
sig diff
single sample t test
compares a sample to some hypothetical pop mean
two sample t test
compares two samples to one another
Paired t test
compares a single variable that you have measured twice on the same set of subjects/objects
t-distribution
normal distribution
assumptions of a one sample t test
data are random
variable is normally distibuted
assumptions of a paired t test
sampling units are random
paired differences are normally distributed
assumptions of two sample t test
Two data sets are independent of each other
Composed of randomly sampled observations
variable is normally distributed
Variances of the two samples are equal
if two sample t tests variances are unequal
welch’s approximate t test
parametric test assumptions(t test)
Data are independent from one another
collected randomly
normally distributed
Different samples have similar variances
Why check normallity
Shapiro wilk’s test
to make sure parametric assumptions are met if not think about sample sizes
caveats about testing normality
small sample size
might not have enough to detect deviation from normality
large sample size
tons of data can detect small deviations
worry if you get a non sig p value
don’t if p value is not normal
violation of homogeneity of variances
problematic
think of in terms of sample size
make a graph
non parametric alternatives if normality is compromised
independent data
randomly samples
do not have to be normal
distributions must only differ in location(SAME NON NORMAL SHAPE)
calculated t is lower than critical t
not sig dif
What is an ANOVA
allows testing for differences among means
Analyses different forms of variation
within sample variance
among sample variance
total variance
P value is sig in ANOVA Table
at least two means are different from one another
why levene’s test
to test homogeneity of means
null:that all group variances are equal
what is a tukey-kramer test
compares all pairwise comparisons of treatment means
post hoc test
after this
test you do when the original hypo did not specify which groups you expcted to be different and why
a priori
from what is before
test you do when your hypo before you ran experiment indicated that you expected to see particular differences among means in a particular direction
test planned comparision
How to interpret q value with Tukey’s
higher then the q value= significantly different between comparisons
paired and single sample ttest df
n-1
two sample t test df
n1+n2 - 2
what does linear regression measure
measures the relationship between one variable and another by expressing one variable as a line of another
measures residuals (differences between observed response values and predicted by the regression model)
model 1 regression
ordinary least squares
independent variable is measure without error
X, Y’s are independently and normally distributed
samples along the regression line are homoscedastic
Model 2 regression
both X and Y and random variables
Goal of linear regression
To find the best-fit line through the pattern of data
Minimize the residual variation between the predicted values and the observed values
what to use if you have unequal sample sizes for a multiway ANOVA
type III sums of squares which use unweighted marginal means
Type I sum of squares
determined by measuring the improvement of the fit of the model gained by adding each model element in sequence
order of factor matters
Type 2 sum of squares
compares a model with the term of interest to a model lacking that term but including other terms
excludes the interaction term
Type 3 sum of squares
includes interaction term
does not weight marginal means by sample sizes
Fixed effects for multiway anova
included all possible levels of the treatment variable OR
included only those levels of a treatment variable you are interested in and you are not interested in extrapolating beyond those levels
Random effects for multiway anova
Treatment that is impossible to sample from all possible levels of the variable
Allows you to extrapolate beyond those levels
significant independence chi squared test suggest
Association between the categorical variables
higher calc, lower crit
what is a residual in linear regression
observed response minus its predicted response
Chi square test of independence df depends on
rows -1 and columns -1
conducting multiple t tests
chance of making a type I error increases
Chi-squared test
categorical data
observations are independent
data are counts not percentages
counts should be large
goodness of fit
null: observed category proportions follow expeccted distribution
test of independence
null: two categorical variables are INDEPENDENT
t-test
Whether means are significantly different
quantitative response variable
normality
null: pop mean or mean difference equals hypothesized value
ANOVA
tests whether there is evidence that at least one group mean differs from the others
independent observation
Normal errors or residuals within groups
homogeneity of variance
null: all pop means are equal
Linear regression
examines the relationship between a predictor variable X and a response variable Y
relationship is linear
errors are independent
normally distributed
residuals have constant variance
no bunching observations
null: no linear relationship between variables
warning signs for residual plots
funnel shape=unequal variance
large residuals=possible outliers
patterns=violations of model assumptions
testing parallelism for slopes
null: slopes are equal
we tests assumptions bc
to know which test and if it doesn’t work then stat conclusions may be misleading
what does a residual plot do
test for normality
helps identify patterns and problems with model fit
why we use residuals vs x and y
Normality assumptions for regression concerns the errors around the fitted relationship not the og variables
If shapiro wilks test p value is significant
data is not normal