lecture 2 Flashcards
(31 cards)
derive this
When do you apply the chain rule in differentiation?
You apply the chain rule whenever you are differentiating a composite function, meaning a function nested inside another function.
What is the chain rule
What do we differentiate?
Functions
What does this mean?
apply the chain rule to differentiate the composite function below (hint, identify the inner vs outer function)
I want to differentiate with respect to X, how do i write this using proper notation?
I want to differentiate with respect to t, how do i write this using proper notation? What about y?
What is the correct notation for differentiating a function with multiple variables, how do i differentiate with respect to 1, x
e.g., f(x, y), and I want to differentiate with respect to 1
Least squares estimation - what is this
They are mathematically derived formulas that minimize the sum of squared errors.
formulas are the least squares estimates for the coefficients 𝛽0 (intercept) and 𝛽1 (slope) in simple linear regression.
What is the formula for the sum of squared errors
Whats the difference between B0 and B1 and the below
Whta is b0hat and b1hat least squares estimates of?
b0 and b1
What do we mean by centroid of data?
Sxx what is the formula for this and whats it reflecting
This sums up the squared differences between each participant’s x-score (x𝑖 ) and the mean of all x-scores (xˉ).
Interpretation:
*Large Sxx → More spread-out x-values (higher variance in x).
*Small Sxx → x-values are closer to the mean (lower variance in x).
What is the value of B0(hat) that minimises thee SSE ?
What is the value of B1(hat) that minimises thee SSE ?
write mean of x (xbar) another way
Syy what is the formula for this and whats it reflecting
This sums up the squared differences between each participant’s y-score (𝑦𝑖 ) and the mean of all
y-scores (𝑦ˉ).
Interpretation:
*Large Syy → More spread-out y-values (higher variance).
*Small Syy → y-values are closer to the mean (lower variance).
Sxy - what is the formula for this and whats it reflecting
This represents the total covariation between x and y. It measures how much x and y change together.
Interpretation:
*Positive Sxy → x and y tend to increase together (positive correlation).
*Negative Sxy → When x increases, y tends to decrease (negative correlation).
*Near-zero Sxy → Little to no linear relationship between x and y.
what does b1hat coefficient represent
the expected change in Y for a unit increase of X
Can I apply the regression equation to predict any value of an iv for someone outside of the study
Not if values lie outside of the range of x-values used to fit the model: the linear relationship might not hold outside of this range. It can be dangerous to extrapolate
what does goodness of fit measure
measures how widely scattered the points are across the line of bast fit
How can we quantify the variation in data across the line of best fit ?
variance