Back to marketplace

Week 8 - Linear models: regression

No description yet. This curated deck is ready for daily study.

Total cards: 18•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (18)

#1
Front (Question)

linear regression

Back (Answer)

Assumption that relationship between variables is linear Normal distribution Numerical response variable

#2
Front (Question)

method of least squares

Back (Answer)

The line that fits the data dots best Least squares regression line: line for which the sum of all squared deviations in Y is smallest.

#3
Front (Question)

forumla of a line

Back (Answer)

Y = a + bX Slope: of a linear regression is the rate of change in Y per unit of X

#4
Front (Question)

populations and samples

Back (Answer)

Regression line from sample should be the population mean

#5
Front (Question)

predicted values

Back (Answer)

Predicted values: of Y from a regression line estimate the mean of Y for all individuals having a given value of X.

#6
Front (Question)

residuals

Back (Answer)

Residual: of a point is the different between its measured Y value and the Y value predicted by the regression line

#7
Front (Question)

standard error of a slope

Back (Answer)

Uncertainty associated with the sample estimate

#8
Front (Question)

testing hypotheses about a slope

Back (Answer)

Evaluate if the population slope equals the null hypothesised value which is typically zero T statistic is used with degrees of freedom

#9
Front (Question)

t-test for regression slope

Back (Answer)

Find the best slope - see if it is positive, negative or zero Work our standard error of slope with mean square residual Calculate t statistic and compare it to t distribution See if p value is significant

#10
Front (Question)

F statistic or anova approach

Back (Answer)

F test used instead of t Null hypothesis is slope is 0 Can be used when the test is two-sided and the null hypothesis slope is zero Does not mean we are using ANOVA, just the ANOVA table for the F statistic

#11
Front (Question)

using R squared

Back (Answer)

Use R square to measure fraction of variation in Y that is explained by X in the linear regression If R squared is close to one, then X predicts most of the variation in Y

#12
Front (Question)

assumptions of regression

Back (Answer)

At each value of X there is a population of possible Y values whose mean lies on the true regression line At each of the X values the distribution of Y values is normal The variance of Y values is the same at all values of X At each value of X the Y measurements represent a random sample from the population of possible Y values Linear relationship Residual plots and QQ plots check assumptions Extreme residuals can violate variance assumption

#13
Front (Question)

what do we do about violations?

Back (Answer)

Ignore if not too drastic Transform variables if necessary (log etc) Transformations can be linearising If there are 0s in data set, add 1 to all data points so they are not lost when transformed to log Square root is good for Y that are counts Arcsine square root is good for Y that are proportions

#14
Front (Question)

transformations

Back (Answer)

Log transformation is easiest Power and exponential relationships are also common

#15
Front (Question)

precision of predictions

Back (Answer)

Predicting the mean of Y or a data point of Y from X is a prediction Mean predictions have higher precision than predicting a single data point

#16
Front (Question)

confidence bands

Back (Answer)

measure the precision of the predicted mean Y for each value of X.

#17
Front (Question)

prediction intervals

Back (Answer)

measure the precision of the predicted single Y values for each X value.

#18
Front (Question)

extrapolation

Back (Answer)

a prediction of the value of a response variable outside the range of X values in the data.