Skip to content

Generalized least squares using "gnls" function

1 message · Ravi Varadhan

#
Hi:

I tried Prof. Ripley's suggestion and I got the following error message:
start=list(p0=3,p1=8,p2=2,p3=2,p4=1.5),control=gnlsControl(tol=1.e-07),
weights=varPower(form=~fitted(".")))
Error in varPower(form = ~fitted(".")) : "form" must have a covariate

I also tried without the quotes for the "form" argument, but it did't 
work either.

I would really like to use this option since I want to model 
heteroscedasticity in my assay response as a power function of the mean 
response, where the exponent in the power function is to be estimated 
by the GLS procedure, along with the paremeters of the logistic 
function. 

thanks,
Ravi.

----- Original Message -----
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
Date: Thursday, January 15, 2004 12:07 pm
Subject: Re: RE: [R] Generalized least squares using "gnls" function