Hi

 I have a general statistics question on calculating confidence interval of
log transformed data.

I log transformed both x and y, regressed the transformed y on transformed
x: lm(log(y)~log(x)), and I get the following relationship:

log(y) = alpha + beta * log(x) with se as the standard error of residuals

My question is how do I calculate the confidence interval in the original
scale of x and y? Should I use

exp(alpha + beta * log(x) +- 2 * se), or, exp(alpha + beta * log(x)) +-
exp(2 * se)


Thanks,

-- 
Tom

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to