[R] removing random effect from nlme or using varPower() in nls

Kingsford Jones kingsfordjones at gmail.com
Fri Oct 23 02:09:56 CEST 2009


help(gnls, pack=nlme)


hth,
Kingsford Jones

On Thu, Oct 22, 2009 at 4:36 PM, Michael A. Gilchrist <mikeg at utk.edu> wrote:
> Hello,
>
> I've been fitting a random effects model using nlme to some data, but I am
> discovering that the variation in my random effect is very small.  As a
> result, I would like to replace it as a fixed effect (i.e. essentially fit
> the same model but with no random effect).
>
> As I understand it I could do this using nls(), but I'm using a number of
> options such as weights = varPower() which I am at a loss on how to
> implement in that framework.
>
> Is there a way to use nlme but with out a random effect? (a bit absurd, I
> realize, but I have the syntax working...)
>
> Alternatively, is there a way to use "weights = varPower()" with nls?
>
> Any help would be appreciated.
>
> Sincerely,
>
> Mike
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list