Fit a Two-factor Box-Tidwell Nonlinear Response Surface
Usage
rs3(y,x1,x2,x3power=c(1,1,1),weight=rep(1,length(y)),family=normal)
Arguments
y
|
Response variable
|
x1
|
First covariate
|
x2
|
Second covariate
|
x3
|
Third covariate
|
power
|
Initial estimates of the three power transformations
|
weight
|
Weight vector
|
family
|
glm family
|
Description
rs3
fits a three-covariate power-transformed response surface by
iterating the function, glm
.Value
A list of class, rs, is returned containing the model and the power
estimates.See Also
lm
, glm
, gnlr
, gnlr3
,
fmr
, rs2
.Examples
rs3(native,area,elevation,santacruz,p=c(-1,0.8,1),fam=poisson,weight=wt)