R programs for Stat 534
- 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.
- lnlmulti2.txt A couple of tricks
to avoid evaluating lnL for nonsense parameter values (e.g. p < 0)
- lnmodels.txt my lnL functions for M0, Mt, and Mb models.
- 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.
- matrix.r Example of deterministic
matrix model calculations, including sensitivity matrix
- markov.r Function to calculate
stochastic log lambda and its variance given an environmental
transition matrix and set of population transition matrices