Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72787

What is the code for constructing a histogram of the residuals in a linear and log linear model

$
0
0
I have observations on hourly wage rates, education, and other variables from the 2008 Current Population Survey. I constructed a histogram of the wage variable and natural log of the wage variable using the code:

hist wage
hist lnwage

Using stata, how would I now construct a histogram for the residuals of the linear and log-linear model? I tried using the "rvpplot" command but I'm not sure if I used it correctly. Furthermore, is there a code I can use for testing the Jarque-Bera test of normality?

Thanks in advance.

Viewing all articles
Browse latest Browse all 72787

Trending Articles