Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: stdf option after weighted regression

From   Sara Borelli <>
Subject   st: stdf option after weighted regression
Date   Thu, 26 Jul 2012 13:43:01 -0400

Hi all,

I am running the model:

reg y x
adjust, by(c)  stdf

However when I run the same regression but weighted :

reg y x [pweight=weight]
adjust, by(c)  stdf
STATA says the stdf option is not allowed.

I replicated the result of  stdf after adjust for the unweighted
regression using STATA manual formula:

Standard error of forecast^2 = standard error of prediction^2 +
variance of residual,

by using standard error of prediction (se option after adjust) and the
variance of residual (MSE) .

I was thinking to use the same approach after weighted regression to
manually compute the stdf given that the stdf option is not allowed
after weighted regression. Would this be wrong?

Thanks in advance for any suggestion,

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index