[R] Should I use nls for this?

xfei xiaoyifei at gmail.com
Tue Dec 13 14:41:37 CET 2011


I have a dataset with the following properties:
Y_i ~ N(mu_i, theta * (mu_i)^2) 
ln(mu_i) = B'Xi 

theta and beta's are the parameters here. 

I want to come up with a model to fit the data with the above property and
test that model on the built in R dataset quine. 

Does nls() make sense in this case? Or is there any existing R package which
can fit this model? 


View this message in context: http://r.789695.n4.nabble.com/Should-I-use-nls-for-this-tp4190496p4190496.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list