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]

Re: st: Standard error of the forecast and multivariate regression


From   [email protected]
To   [email protected]
Subject   Re: st: Standard error of the forecast and multivariate regression
Date   Thu, 31 Oct 2013 12:23:56 +0000

Hello,

I took Nick's advice and contacted tech support.  I thought that I would 
post their response just to close off this thread.

******************************************************************************************************************
The standard errors of forecast are only defined for models fitted by
ordinary least square for which the estimated covariance matrix is
p-by-p of the form {V = s^2 (X'WX)^-1}, where p is the number of
predictors and s^2 is the sample standard error. Then, the std. err. of
forecast for observation x_j is s*sqrt{1 + x_j (X'X)^-1 x_j'}.  This is
not the case in multivariate regression with (Y_i), i=1..q>1 dependent
variables where the estimated covariance is pq-by-pq and the forecast
errors cannot be single numbers but q-by-q matrices. Thus, the -predict-
command cannot report and save them as variables. Similar is the case
with the score option.

In principle, the forecast correlation error between Y_i and Y_k is of
the form s_{ik}*sqrt{1 + x_j (X'X)^-1 x_j'}. With little more work these
can be calculated from the estimated matrices -e(V)- and -e(Sigma)-
reported by -mvreg-; s_{ik} are the components of -e(Sigma)-. 
******************************************************************************************************************

I'm afraid it's beyond my skills to try to calculate the forecast 
correlation error, so I'll probably leave this train of thought for now.

Regards,

Gillian




From:   Nick Cox <[email protected]>
To:     "[email protected]" <[email protected]>
Date:   30/10/2013 10:21
Subject:        Re: st: Standard error of the forecast and multivariate 
regression
Sent by:        [email protected]



I couldn't answer your question, so I just commented, and can't add to
my comment. I would take this to tech support if no StataCorp person
comments.
Nick
[email protected]


On 29 October 2013 16:52,  <[email protected]> wrote:
> Hello all,
>
> This is probably a statistical question, but I wondered if anyone could
> help me.
>
> I was wondering if anyone could provide me with a reason why it is not
> possible to generate the standard error of the forecast using -predict
> newvar, stdf- after multivariate regression using -mvreg- ?
> I read somewhere in the help files (although I can't see where now) that
> the -stdf- option can only be used for a regression where the score can 
be
> calculated using -predict newvar, score-.  Now -mvreg- doesn't allow the
> score option of -predict-, which I'm guessing is why stdf cannot be
> specified.  However this doesn't really explain why the score option is
> not valid for multivariate regression.  Can anyone help?
>
> Is this specific to Stata, or would this be the same in whichever
> statistical package you were using?  I'm just wondering if I could turn 
to
> R or some other programme.
>
> I'd be grateful for any insights.
>
> Many thanks,
>
> Gillian
>
>
> ------------------------------------------------------------------------
> ATTENTION:
>
> This message contains privileged and confidential information intended
> for the addressee(s) only. If this message was sent to you in error,
> you must not disseminate, copy or take any action in reliance on it and
> we request that you notify the sender immediately by return email.
>
> Opinions expressed in this message and any attachments are not
> necessarily those held by the Health and Safety Laboratory or any person
> connected with the organisation, save those by whom the opinions were
> expressed.
>
> Please note that any messages sent or received by the Health and Safety
> Laboratory email system may be monitored and stored in an information
> retrieval system.
> ------------------------------------------------------------------------
> Think before you print - do you really need to print this email?
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
> Scanned by MailMarshal - Marshal's comprehensive email content security
> solution. Download a free evaluation of MailMarshal at www.marshal.com
> ------------------------------------------------------------------------
>
> The original of this email was scanned for viruses by the Government 
Secure Intranet virus scanning service supplied by Vodafone in partnership 
with Symantec. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi 
this email was certified virus free.
> Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.
> *
> *   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/
*
*   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/

This email was received from the INTERNET and scanned by the Government 
Secure Intranet anti-virus service supplied by Vodafone in partnership 
with Symantec. (CCTM Certificate Number 2009/09/0052.) In case of 
problems, please call your organisation's IT Helpdesk. 
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.



------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential information intended
for the addressee(s) only. If this message was sent to you in error,
you must not disseminate, copy or take any action in reliance on it and
we request that you notify the sender immediately by return email.

Opinions expressed in this message and any attachments are not
necessarily those held by the Health and Safety Laboratory or any person
connected with the organisation, save those by whom the opinions were
expressed.

Please note that any messages sent or received by the Health and Safety
Laboratory email system may be monitored and stored in an information
retrieval system.
------------------------------------------------------------------------
Think before you print - do you really need to print this email?
------------------------------------------------------------------------

------------------------------------------------------------------------
Scanned by MailMarshal - Marshal's comprehensive email content security
solution. Download a free evaluation of MailMarshal at www.marshal.com
------------------------------------------------------------------------

The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Vodafone in partnership with Symantec. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
*
*   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