Displaying 1 result from an estimated 1 matches for "pcpt".
Did you mean:
cpt
2010 Sep 22
0
bctrans: Box-Cox Transformation Problem
...on to normalize the response as
well as the predictor variables.
The scatterplot looks like this:
library(zoo)
library(alr3)
load("sel.day.txt")
sel.p1<-window(sel, start=as.POSIXct("2008-04-05"),
end=as.POSIXct("2009-04-01"))
pairs(~v.obs+ snow+ HH6.1+ Q.Enz+ pcpt+
qd,data=sel.p1,gap=0.4,cex.labels=1.5)
In Sheather: "A Modern Approach to Regression with R" the function
bctrans is used to calculate lambda for the variables. I use
"yeo.johnson" since there are values=0 in the data.
Doing this creates following output:
2> summary(bct...