Linear regressions Flashcards

1
Q

Estimate linear regression with constant

A

reg [varlist]

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

Estimate the fitted value of the dependent variable when the regressões take the value 0.

A

display _b[variable]*0 + _b[_cons]

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

Predict the fitted values of the regressor.

A

predict [newvar], xb

If the regression is linear, it is enough to write: predict [newvar].

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

Predict the value of the residuals.

A

predict [varname], residuals

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