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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is substantive significance?

A

It refers to the size of the coefficient in linear regression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly