[R] log log regression model
jvadams at usgs.gov
Fri Jan 1 23:09:12 CET 2016
This is more of a statistics question than an R programming question. I
suggest you look at Cross Validated for an answer. I found this in a quick
On Thu, Dec 31, 2015 at 7:35 PM, Andras Farkas <
FarkasA at optimum-dosing-strategies.org> wrote:
> Dear All,
> wonder if you have a thought on the followimg: if I have a simple model
> like model <- lm(log(y)~log(x)+log(z),data=data), where both, the dependent
> and independent variables are log transformed, is it ok just to use ypred
> <- predict(model,type=response) to get the predictions , then transform
> ypred with exp(ypred) to y's original scale to compare observed or known
> data (y) with model predicted (ypred) on the original scale?
> appreciate your thoughts...
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help