valerie lemieux
> I have a very simple regression:
>
> prate = Bo + B1mrate + E
>
> I run the regression and find the value of Bo and B1.
>
> I want to find the predicted value of prate when mrate=3.5,
> What Stata command can I use to do that?
di _b[_cons] + _b[mrate] * 3.5
> How can I do a histogram of the residuals of my regression?
predict res, res
histogram res
_or_
ssc inst rdplot
rdplot histogram
Notes:
1. You need only -ssc inst rdplot- once.
2. -rdplot- offers other plottypes and various options.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/