CI 95% in Prais winsten model

Hey folks

Does any one knows how to performe the confidence interval with the command prais_wisten?

This is my script:

bd <- data.frame("x" = bd$DM, "y"=bd$IAM, "Years" = 2008:2022)
model <- prais_winsten(y~x, data = bd, index = "Years")
summary(model)

If you save the summary() the element cov.unscaled gives the coefficient covariances. Take the diagonal elements to get the variances. Take the square root to get the standard errors. Then do the coefficient plus and minus the standard error times the relevant critical value, 1.96 or whatever.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.