Page 1 of 1

Confidence interval and interaction terms

Posted: Mon Jan 06, 2020 9:25 am
by Aktar
Hello,

I would like to compute the confidence interval for an interaction term.

I have the following model:

Code: Select all

y_{t}=\beta_{1}x_{1}+\beta_{2}x_{2}+\beta_{3}(x_{1}+x_{2})
The total effect of

Code: Select all

x_{1}
is

Code: Select all

\beta_{1}+\beta_{2}x_{2}
I am just wondering what is the formula for computing the confidence interval of this total effect.

Thank you very much

Re: Confidence interval and interaction terms

Posted: Mon Jan 06, 2020 1:26 pm
by startz
standard error = sqrt(var(beta1) + x^2*var(beta2) + 2*x*cov(beta1,beta2))