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

st: from scientific to real numbers


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: from scientific to real numbers
Date   Fri, 14 Oct 2005 22:02:42 -0400

Nick wrote (responding to Christer)
Your example of prices is moderately spectacular in that
most coefficients are rather large. At a wild guess most
or all of your covariates are dummy variables such as presence
or absence of garage and all of
your house prices are large in the currency you are using.

In practice, scaling your units by (e.g.) dividing prices
by 1000 or an even larger number is likely to be your best
route forward. In other words, tackle this problem upstream
so that the results end up smaller and format is no longer
an issue.

An alternative is to look at saved results.



I would suggest the alternative of plugging in the X values at which you want to generate predictions as additional observations in the data set. Run the regression over the true sample, and predict xb over the entire sample. The result is then stored in a variable, and you have complete control over its display format.


Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


*
* 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