search for: gmfit

Displaying 2 results from an estimated 2 matches for "gmfit".

Did you mean: lmfit
2008 Jun 05
1
nls() newbie convergence problem
...wbie question, but I'm stumped. I'm trying to do the example from Draper and Yang (1997). They give this snippet of S-Plus code: Specify the weight function: weight < - function(y,x1,x2,b0,b1,b2) { pred <- b0+b1*x1 + b2*x2 parms <- abs(b1*b2)^(1/3) (y-pred)/parms } Fit the model gmfit < -nls(~weight(y,x1,x2,b0,b1,b2), observe,list("starting value")) in converting this to R, I left the weight function alone and replaced the nls() with gmfit <- nls(~weight(y,x1,x2,b0,b1,b2),data=dydata,trace=TRUE,start=list(b0=1,b1=1,b2=1)) where dydata is the appropriate data....
2008 Aug 29
7
model II regression - how do I do it?
An embedded and charset-unspecified text was scrubbed... Name: n?o dispon?vel URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080829/57df9fc7/attachment.pl>