Christer Thrane <[email protected]> asks:
> I want to get the precise price prediction for a house with certain
> attributes, given the follwing regression, in real numbers. That is, 1.5e+06
> (see bottom) does not tell me enough. Does anyone know how to "force" Stata
> to come up with the exact figure?
>
> <cut of reg output>
>
> . adjust bta = 130 antsov = 3 leil = 0 gar = 1
>
> ---------------------------------------------------------------------
> Dependent variable: pris Command: regress
> Covariates set to value: bta = 130, antsov = 3, leil = 0, garasje = 1
> ---------------------------------------------------------------------
>
> ----------------------
> All | xb
> ----------+-----------
> | 1.5e+06
> ----------------------
> Key: xb = Linear Prediction
Look at the help for the -adjust- command and read about the
-format()- option. Try something like
adjust bta = 130 antsov = 3 leil = 0 gar = 1 , format(%12.0fc)
(You could instead use %12.0f if you do not want commas in the
number.)
Ken Higbee [email protected]
StataCorp 1-800-STATAPC
*
* 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/