1/50
Looks like no tags are added yet.
What are the assumptions of GLM?
Independence, linearity, HOV, normality
Can you provide examples of GLM–univariate vs. –multivariate?
Univariate = one Y (outcome) at a time
(ex. Plant height = b0 + b1(fertilizer) + e)
Multivariate = multiple Ys at a time
(ex. Plant height, leaf count = b0 + b1(fertilizer) + e)
What is the connection between general linear model and generalized linear models?
The general linear model is a just special case of the generalized linear model in which Y is normally distributed through the identity link function.
The generalized linear model allows Y to follow a non-normal distribution (ex. Logistic, poisson) using the log link function.
What Does “Statistical Significance” Mean?
The observed result is unlikely to have occurred by random chance alone, assuming the null is true.
p < .05 =
probability of data as or more extreme as these, given the null is true, is less than 5%.
95% CI =
Confidence that in the long run, 95% of the CIs will include the population mean.
A coffee shop wants to know the average time customers wait in line. They time 50 random customers and find an average wait of 4 minutes, with a 95% confidence interval of [3.2, 4.8].
What does the CI mean here?
The interval [3.2, 4.8] is the set of possible true average wait times (population means) that our data are consistent with. Any true average wait time between 3.2 and 4.8 minutes could reasonably produce our sample average of 4 minutes.
Why supplement p-values with CI?
Provides an estimate, provides evidence of whether the study was precise (i.e., displays the error), and provides the direction of the value.
Criticisms of null hypothesis testing
Binary decision of acceptance or rejection
Null hypothesis is often zero difference/correlation, which is often certain to be false and encourages weak theorizing.
Calculates probabilities based on a hypothetical infinite series of experiments that never actually occurred.
The amount of corrections for testing and post-hoc are often arbitrary; with this as well, significance of one finding can be erased by the correction given from another unrelated variable
The same data can lead to different conclusions based on the sampling plan and analytical choices.
Why should you not run multiple t-tests?
Increases the risk of type 1 error (rejecting the null when it is true);
With each individual test being set at an alpha of .05, each test will increase this value/chance of a false positive (.05 → .10 → .15)
Sample size and p-value -- what’s the relation between them?
As sample size increases, the p-value decreases
A larger sample shrinks the standard error (more precise → less noise)
Effect size
the magnitude of the difference between 2 groups or relationships.
How to select appropriate effect size?
Select based on research question, the measurement of variables, and which analyses will be run.
Select standardized versus unstandardized
Original scaling may be more informative
Proposed size cutoffs are often arbitrary and subjective.
Standardized effect sizes for t-tests?
→ Cohen’s d = # of SDs apart the groups are.
→ Hedge’s d (bias-corrected; small samples)
→ Glass’s Delta (for unequal variances; divides only the control group's SD)
Standardized effect sizes for Correlation?
→ Pearson’s r = Strength/direction of linear relationship
→ Spearman’s ρ (non-parametric)
Standardized effect sizes for ANOVA?
→ eta-squared (η2) = proportion of total variance explained by group
→ partial-eta squared (p2) = proportion of variance explained by one factor after partialling out other factors in the model.
→ Omega-squared (w2) (less biased)
If Eta-squared = 0.13, that means that …
13% of the total variance can be accounted for by group membership.
If you run a factorial ANOVA on achievement predicted by teacher (and textbook)
Partial eta squared = 0.97; what does this mean?
approximately 97% of the variance in achievement is accounted for by teacher, partialling out the effect of textbook.
Why is the confidence interval always 90% when looking at the effect size?
Because the F-test is one-sided
Standardized effect sizes for Regression?
→ R2 = total variance explained by the full model
→ sr2 = unique variance explained by a single predictor
What are the relations between these 4 concepts?
Power, sample size, type 1 error, type 2 error
Type 2 error (B) is negatively related to Power (1-B) → direct opposites, and lowering one automatically raises the other by the same amount.
Type 1 error (a) is negatively related to type 2 error (b) → ex. Lowering your alpha to .01, you will increase B, and therefore decrease power
Sample size is positively related to power → larger n → lower B → higher Power
Sample size is NOT related to type 1 error (a), as this value is fixed.
Indirect benefit: Because a larger n gives you plenty of power, it allows you to safely choose a stricter α (like 0.01) without sacrificing your ability to detect real effects.
Type 1 error
rejecting the null when it is true
Type 2 error
failing to reject the null when it is false
Alpha
proportion of errors (type 1 - rejection) we will make in the long run, if the null is true.
Beta
proportion of errors (type 2 - accept) we will make in the long run, if the null is false
Power
the probability of detecting a real effect, assuming the null is false (Power = 1 - Beta)
You can determine the minimum sample size needed using your ____________
alpha level, effect size, and power
What is the problem with low powered studies?
Increases probability of type 2 error (failing to reject the null when it is false), and can lead to a replication crisis.
How is p “noisy”?
Unless effect sizes and/or sample sizes are quite large, p varies dramatically from one replication of a between-subjects experiment to another, due to flukes of random assignment (and, in real experiments, measurement error).
Reproducibility
The ability to obtain the same results when using the same data and the same analytical methods.
Replicability
The ability to obtain similar findings when testing the same research question using new data.
Analytical Robustness
The extent to which a finding remains consistent when using the same data but different analytical methods.
What are the methods to ensure Replication and Reproducibility?
Well-defined effects and methods
Follow the exact methods
High power
Make details of replication available (osf)
Evaluate replication + compare (Effect sizes + CI)
What is p-hacking and how to avoid it?
trying lots of analyses (control for variable, exclude certain participants, use different ways to calculate DVs) until you get a desired outcome.
Pre-registration
How do you distinguish t-tests from z-tests?
z–tests assume the standard deviation is known, while t-tests assume it is unknown.
As population mean and variance are usually unknown, t-tests are more commonly used.
t-distribution …
z-distribution …
depends on df → critical values changes with sample size
does not use df, as we have the population parameters. → critical value for normal distribution = 1.96.
One-sample t-test
Compare sample mean to assumed null pop. mean
Paired-samples t-test
Compare within-subject mean difference to assumed null pop. mean difference
Independent-samples t-test
Compare between-group differences in means to assumed pop. difference in means
Which test do you run if you only have one sample of data and compare it to a threshold/baseline
One-sample t-test
Which test do you run if you have a PrePost design: before-and-after measurements of the same participants
Paired-samples t-test
Which test do you run if you compared similar measures of the same group of participants (students’ interest in math vs. the same students’ interest in English).
Paired-samples t-test
Which test do you run if you compared same measures of two group of participants
Independent sample t-test
What are the assumptions for a t-test?
Independence
Normality
Outliers
HOV (for Independent-samples)
When testing the assumption of normality, how do you read a normal Q-Q plot?
If the observations follow approximately a normal distribution, the resulting plot should be roughly a straight line.
Y axis – standard/normal distribution; X axis– your data
In t-tests, HOV is tested through a ____________, and if violated, you should run a __________
Levene’s test; Welch’s t-test
In a t-test, What do you do if your data is not normal?
Nothing
Data transformation → log()
Trim the data (extreme cases)
Yuen t-test – trimmed mean t-test
Use a non-parametric procedure
Non-parametric tests
Hypothesis tests that make minimal assumptions about the underlying population distribution.
(Often used for: non-normal data, small samples, ordinal or ranked data, outliers.)
nonparametric tests uses __________ instead of actual values, reducing the impact of outliers and making fewer assumptions about the data.
rank differences
One-way ANOVA
1 categorical IV affects cont. DV across 2+ groups
Factorial ANOVA
2+ categorical IVs affect cont. DV (individually - main effects, and together - interaction)