[R] Non-linear random variables

Han Lai hlai at whsun1.wh.whoi.edu
Thu Dec 6 19:31:37 CET 2001


Hi, Norm

Although I have not done it for Ricker's SR curves, I did logistic curves (for
selectivity) and von Bertalanffy growth curves.  You can find the examples in the
book

Pinherio, J.C., and Bates, D.M.  2000.  Mixed-effects models in S and S-Plus.
Springer, N.Y.

The sec. 8.2, p.354 (actually p.356), there is an example on growth of orange trees
I believe that you can modify the program there.  I use the similar approach for my
work.  It works sometimes but not always.  Convergence is a major problem because
our fisheries data are often very noise.  Be careful to check you have enough
degrees of freedom to fit the model.  Let me know if you have other questions.

Good Luck!

Cheers!
Han-Lin Lai, Ph.D
Northeast Fisheries Science Center
Woods Hole, MA 02543
Han-Lin.Lai at noaa.gov
508-495-2312


"Good, Norman" wrote:

> I have a fisheries Ricker stock-recruitment non-linear model which I am
> trying to code up in R (after failing in MATLAB). There are two fixed
> parameters and a random environmental effect that is linked to a first order
> lagged correlation fixed parameter.
>
> Are there any examples of fitting this model I could follow?
>
> Cheers
>
> Norm Good
>
> Fisheries Biologist (Mathematician)
> Southern Fisheries Centre
> PO Box 76, Deception Bay Q 4508
> telephone 3817 9588, fascimile 3817 9555
>
> ********************************DISCLAIMER****************************
> The information contained in the above e-mail message or messages
> (which includes any attachments) is confidential and may be legally
> privileged.  It is intended only for the use of the person or entity
> to which it is addressed.  If you are not the addressee any form of
> disclosure, copying, modification, distribution or any action taken
> or omitted in reliance on the information is unauthorised.  Opinions
> contained in the message(s) do not necessarily reflect the opinions
> of the Queensland Government and its authorities.  If you received
> this communication in error, please notify the sender immediately and
> delete it from your computer system network.
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list