Hi all
Is anyone familiar with a user-written package or a well documented approach to calculate a reliable confidence interval for a sum of predictions?
Imagine a time series (say monthly) and predictions for a few months. The predict command will provide out of sample predictions for these months and SEs.
Is there a reliable way to combine them into an estimate? Adding up the SEs from predict (assuming zero covariances)? I've tried bootstrapping but because it is a time series it gets messsy and again not supported as standard by Stata commnands (Block bootstrap etc). I tried margins and then mutliplying the estimate by the number of months, and doing the same for the SEs, as I saw in another thread here, but I am not convinced this is entirely appropriate. I contacted Stata but there was no official suggestion - I was advised to use simulate. But surely there must be a straightforward parametric way to obtain the confidence interval for the quantity of interest!
Best
Evan
Related Posts with Obtaining a SE for the sum of predictions, following a regression model
Irregular gaps between bars on graph barDear Statalisters I ran into a strange problem when making a bar graph. I have a lot of categories …
dropping constant in a fixed effects modelDear Statalist members, I just wanted to check if there is a way I can specify a fixed effects mode…
spmat import dataDear all, i am unable to import data as a spatial weight matrix into Stata using spmat. The data a…
the smae code and the same data, but the result is different using STATA 13,15 and 16In Stata 16, the code below cannot run normally, but in Stata 15 and Stata 13, the code can run corr…
The use of the symbol $ in Stata commandsHi Statalist In many of the questions posted, the following syntax has been used: e.g. $covariates …
Subscribe to:
Post Comments (Atom)
0 Response to Obtaining a SE for the sum of predictions, following a regression model
Post a Comment