[ADMB Users] Random Effect Distance Sampling Example

H. Skaug hskaug at gmail.com
Sun Dec 2 20:05:56 PST 2012

Thanks for that. I put it on:


It is very nice to wrap it up in an R package as you do. The only
thing I am not sure about
is how to install it as an R package. Do you simply zip up the whole
directory with its
subdirectories, and then choose "install from zip file " in R? In case
we can say this.

Thanks for you efforts.


On Sun, Dec 2, 2012 at 10:19 PM, Jeff Laake <jefflaake at gmail.com> wrote:
> Awhile back I sent out an ADMB example for line transect sampling
> (http://www.admb-project.org/examples/sampling/line-transect-methods/estimation-of-detection-function).
> That code fits detection functions with fixed effects for the scale
> parameter of either a half-normal or hazard rate function.  Development of a
> random effect model with ADMB was a little more challenging but with the
> expertise of Hans Skaug we were able to put together the following example
> that currently only works for a half-normal detection function.  I've
> included everything in an R package called RandomScale. You can use it
> without R but the mixed effect part will be more challenging because the
> data file includes a design matrix for the fixed effect portion of the
> model. On the page for the code link there are links that will take you to
> the TPL and example DAT files. Other detection functions may follow.
> Title: Distance Sampling with Random Scale Detection Function
> Abstract: Provides code to fit line transect sampling half-normal detection
> function with a random scale or a mixed-effect scale model.
> URL:https://github.com/downloads/jlaake/ADMB-Examples/distance_random_effect.pdf
> Code URL:https://github.com/jlaake/RandomScale
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users

More information about the Users mailing list