Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Fwd: Non linear estimation--variance of errors


From   Andrew Hovel <[email protected]>
To   [email protected]
Subject   st: Fwd: Non linear estimation--variance of errors
Date   Fri, 9 Aug 2013 13:24:39 -0400

I am trying to return an estimation of variance of errors (sigma^2)
following a function evaluator non-linear regression. -e(dev)- and
-e(rss)-  are not quite what I need. I am using Stata 12 for Windows.

The goal is to use the variance of errors as a transformation to allow
me to compare predicted values (currently expressed as natural logs)
to the non-log actual values of the dependent variable.

I use the following command:

nl (depvar = log({b0 =1} + {xb: var1 var2 ...varn})), variables(var1
var2 ...varn)

Here, "depvar" = ln(saleprice), where I want to compare actual
"saleprice" to predicted values.

Is there a saved estimation result I'm missing? Or perhaps someone
knows of an existing program to estimate variance of errors after
non-linear regression?

Thanks!
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index