Skip to content
Prev 57875 / 63424 Next

"simulate" does not include variability in parameter estimation

On 2019-12-27 04:34, Duncan Murdoch wrote:
????? Thanks for the reply.? What do you suggest for someone who wants 
confidence, prediction and tolerance intervals for newdata for a general 
fit object?


 ????? For a glm object, one could get confidence intervals starting 
with predicted mean and standard errors
from predict(glm(...), newdata, type='link', se.fit=TRUE), then linkinv 
to get the confidence intervals on scale of expected values of the 
random variables.? From that one could compute tolerance intervals.


 ????? Is there a way to get more standard prediction intervals from a 
glm object, other than the Bayesian approach coded into 
Ecfun:::simulate.glm?? And that still doesn't answer the question re. 
confidence intervals for a more general fit object like BMA::bic.glm.


 ????? Comments?
 ????? Thanks,
 ????? Spencer Graves