Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: from scientific to real numbers...


From   [email protected]
To   [email protected]
Subject   Re: st: from scientific to real numbers...
Date   Fri, 14 Oct 2005 10:06:31 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index