Hi [EMAIL PROTECTED] napsal dne 14.08.2008 16:05:11:
> > I need to do a non-linear regression in the form of > > Y = a0 + a1 * arctan(a2 * x) + error. > > A data sample (X,Y) is available, but I can't remember how to run this sort > of regression through R so that I get a value for a0, a1 and a2. Hi ?nls, ?optim could be your first choice. nls(Y ~ a0 + a1 * arctan(a2 * x), data= ...,start=list(a0= , ...), ...) Regards Petr > > Can someone please give me a hint? > > Thank you in advance. > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.