Trivia Flashcards
(3 cards)
1
Q
You are working in R with a data frame called df. In this data frame, you have a variable called gdp_per_capita, and it has some missing values. How would you get the mean of this variable?
A
mean(df$gdp_per_capita, na.rm =TRUE)
2
Q
What does R2 in linear regression measure?
A
The amount of variance in the dependent variable, Y , explained by the independent variable, X
3
Q
What is substantive significance?
A
It refers to the size of the coefficient in linear regression.