1/46
Looks like no tags are added yet.
REVIEW: Variance formula
Population: σ² = ∑(x - μ)² / N or SS / N
Sample: s² = ∑(x - M)² / n-1 or SS / n-1
REVIEW: Standard deviation formula
Population: σ = √σ²
Sample: s = √s²
REVIEW: Cohen’s d effect size strengths & other effect size formulas
small: d < 0.2
medium: 0.2 < d < 0.8
large: d > 0.8
η² = (t2) / (t2 + df)
ω² = (t2 - 1) / (t2 + df)
Linear Regression
used to predict values of Y given values of X
Predictor (X) vs Criterion Variables (Y)
X: known values, independent variable
Y: unknown values, dependent variable
How do we define a line of best fit when there are many possible straight lines?
Least-squares error solution: A line that’s the best fit for data minimizes prediction errors; smallest possible distance between the line & observed data
Which questions can we used a linear regression to answer?
Is a linear pattern evident in a set of data points?
Which equation of a straight line can best describe this pattern?
Are the predictions made from this equation significant?
Method of Least Squares: equation of a straight line
Ŷ = bX + a
Ŷ = predicted Y value
X = observed X value
b = slope
a = y-intercept
Method of Least Squares
Used to find equation of regression line.
*Equations provided on exam
*Can also plug in values for x to get Ŷ
Analysis of Regression
Answers:
Do one or more predictor variables (X) predict values of the criterion variable (Y) in the population?
*ONLY measures variance in Y
Regression Variation
variance in Y that is related to changes in X
*the closer data points fall to the regression line, the larger the value of the regression variation
Residual Variation
variance of Y that isn’t related to changes in X
*the farther data points fall from the regression line, the larger the value of residual variation
F statistic
Used to compare 2 variances as a ratio (not comparing means like one-sample tests)
F distribution table
Used to determine Fcritical
Need 2 sources of df:
df Numerator (dfregression)
df Denominator (dfresidual)
Light #: for .05 lvl of sig
Bold #: for .01 lvl of sig
F distribution
Like other distributions, it helps us determine region of rejection
Shape depends on df numerator & denominator
Positively skewed because it can only contain values ≥ 0
Hypothesis Testing with Regression: Step 1
State hypotheses.
*Note b = sample slope, while β = population slope
H0: β = 0; there is not a linear relationship between ___(Y) and ___(X).
H1: β ≠ 0; there is a linear relationship between ___(Y) and ___(X).
Hypothesis Testing with Regression: Step 2
State criteria for decision.
Level of significance
compute df regresssion & df residual (formulas on given ANOVA table)
find Fcritical on F distribution table
Hypothesis Testing with Regression: Step 3
Compute test statistic.
Use given SS and ANOVA tables to ultimately calculate Fobt
Hypothesis Testing with Regression: Step 4
Make a decision.
Compare Fcritical to Fobt
REJECT null = conclude that __(Y) IS related to changes in __(X)
RETAIN null = conclude that __(Y) IS NOT related to changes in __(X)
Hypothesis Testing with Regression: Effect Size
r2 as a %
XX% of variance in __(Y) is explained by changes in __(X)
Hypothesis Testing with Regression: Standard Error of the Estimate
Estimate of the distance that a set of data points falls from the regression line.
Se = √MSresidual
Hypothesis Testing with Regression: Reporting in APA Format
REJECT null:
A simple linear regression was used to test whether __(X) predicts __(Y). A significant relationship was found, F(dfnum, dfden) = Fobt, p < 0.XX, R2 = 0.XX
Hypothesis Testing with Regression: Multiple Regression
Includes 2+ predictor variables (Xs) in the regression line equation to predict changes in a criterion variable (Y)
*In the equation, add another slope (b) and predictor variable (X) for each additional variable
Between Subjects Design
different participants are observed one time across 2 groups or at 2 levels of a factor
some groups are pre-determined and some are manipulated by researcher
2-independent-samples t test vs 1 sample t test
2 sample: comparing 2 independent sample means
1 sample: comparing a sample mean with a population mean
2-independent-samples t test
tests hypothesis concerning the difference between 2 population means, where the variance of at least 1 population is unknown
Assumptions that need to be met to interpret results as normal
Normality (data in each pop. being sampled are normally distributed)
Random sampling (data is obtained from samples that were randomly selected)
Independence (observations within & between samples do not influence each other)
Equal variances (variances in each population are equal to each other
satisfied when: larger s2 / smaller s2 < 2
Hypothesis Testing for 2-Ind-Sample t Test: Step 1
State the hypotheses.
H0: μ1 = μ2; there is no difference between ___ and ___
H1: μ1 ≠, >, < μ2; there is a difference between ___ and ___
OR ___is greater/less than ___
*also check equal variances assumption
Hypothesis Testing for 2-Ind-Sample t Test: Step 2
Set criteria for decision.
Level of significance
Directionality
df1, df2, and total df
Used total df to find tcritical on t table
*remember sign(s) for critical value based on directionality
Hypothesis Testing for 2-Ind-Sample t Test: Step 3
Compute test statistic.
Compute pooled sample variance
Compute standard error of difference
Compute tobt
Hypothesis Testing for 2-Ind-Sample t Test: Step 4
Make a decision.
Compare tcritical to tobt
Hypothesis Testing for 2-Ind-Sample t Test: Effect Sizes
Use given Estimated Cohen’s d formula
*Answer tells us how many SDs the observed difference is above/below the hypothesized difference.
Hypothesis Testing for 2-Ind-Sample t Test: Confidence Intervals
*Can only compute for 2 tailed test bc there’s an upper & lower limit
When lvl of sig is…
0.05, CI is 95%
0.01, CI is 99%
0.10, CI is 90%
Use given estimation formula
XX% confident that the true difference between the 2 means is between these values.
*If 0 is included, we can RETAIN the null hypothesis.
Hypothesis Testing for 2-Ind-Sample t Test: Reporting in APA Format
RETAIN NULL: There is not a significant difference between the mean of group A (M= XX, SD= XX) and group B (M = XX, SD = XX); t(total df) = tobt, p > 0.XX
REJECT NULL (2 tailed): There is a significant difference between the mean of group A (M= XX, SD= XX) and group B (M = XX, SD = XX); t(total df) = tobt, p < 0.XX, est. cohen’s d = 0.XX
REJECT NULL (1 tailed): There is a significantly greater/smaller ___ in the mean of group A (M= XX, SD= XX) compared to group B (M = XX, SD = XX); t(total df) = tobt, p < 0.XX, est. cohen’s d = 0.XX
Advantages of related-samples design compared to independent samples design
Selecting related samples…
Can be more practical (better way to test hypothesis)
Minimizes standard error (computing differences scores prior to test statistic eliminates between-persons source of error)
Increases statistical power (ability to find an effect)
Related-Sample Design
participants are related in 1 of 2 ways:
They’re observed in more than 1 group (repeated-measures design)
They’re matched (experimentally or naturally) based on common traits (matched-pairs design)
Repeated-Measures Design
The same group of participants are observed on 1 continuous variable across 2 points in time.
a. Pre-post design: Before vs. after a treatment
b. Within-subjects design: After treatment 1 & after treatment 2
Matched-Pairs Design
Participants are matched based on similarities in traits (either natural occurrence or experimental manipulation) & then assigned different treatments
Related-Samples t Test
Comparing the mean difference between pairs of scores in a population to those observed in a sample
Difference Scores
XD= Xt2 - Xt1
Difference score = value at time/treatment 2 minus value at time/treatment 1
*find for each pair of scores
Hypothesis testing for Related-Samples t Test: Step 1
State hypotheses.
H0: μ = 0; there is no mean difference between ___ before and after ___
H1: μ ≠, >, < 0; there is a mean difference between ___ before and after ___, *(if > or <) with ___ increasing/decreasing after ___
Hypothesis testing for Related-Samples t Test: Step 2
Set criteria for decision.
Level of significance
Directionality
df
Find tcritical in t table *remember sign(s) based on directionality
Hypothesis testing for Related-Samples t Test: Step 3
Compute test statistic.
Calculate difference scores
Calculate the mean and standard deviation for difference scores
Compute estimated standard error for difference scores
Compute test statistic
Hypothesis testing for Related-Samples t Test: Step 4
Make a decision.
Compare tcritical to tobt
Hypothesis testing for Related-Samples t Test: Effect Size
Use given Estimated Cohen’s d formula
Hypothesis testing for Related-Samples t Test: Confidence Intervals
Use given estimation formula
Hypothesis testing for Related-Samples t Test: Reporting in APA Format
Example (reject null, one-tailed, upper):
There was a statistically significant increase in strength following training such that participants were stronger after training (M = XX, SD = XX) compared to before training (M = XX, SD = XX); t(df) = tobt, p < 0.XX, est. cohen’s d = 0.XX