These are generally similar to the Splus versions, except where R
provides different utility functions (e.g. for maximizing an
arbitrary function).
- lnlbin.txt Example, using binomial
model, of maximizing a likelihood, estimating the hessian, and
numerically estimating the variance.
- lnlmulti.txt Example, using multinomial
model, of maximizing a likelihood with more than one parameter,
estimating the hessian,
numerically estimating the variance, and calculating the profile likelihood.
- simmulti.txt Functions to simulate
capture history data from M0, Mt, and Mb. Also, functions to
compute sufficient statistics for each model from a capture history.
- normal.r Driver program for Bayesian
estimation of parameters from a single normal sample.
- normal.bug WinBUGS code for Bayesian
estimation of parameters from a single normal sample.
- exp.r Driver program for Bayesian
estimation of parameters of a exponential growth state space model
- exp.bug WinBUGS code for Bayesian
estimation of parameters of a exponential growth state space model
- logistic.r Driver program for Bayesian
estimation of parameters of a logistic growth state space model
- logistic.bug WinBUGS code for Bayesian
estimation of parameters of a logistic growth state space model
- matrix.r Example of deterministic
matrix model calculations, including sensitivity matrix
- cypress2.r Example of spatial point
pattern analysis in splancs. Examples of NN distribution function,
univariate K, MC
estimation of sampling distribution under CSR, and bivariate K.
- cypress.r Example of spatial point
pattern analysis using Ripley's K in spatstat. Examples of univariate K, MC
estimation of sampling distribution under CSR, and bivariate K.