Learn R Programming

vacem (version 0.1-1)

ll.coverage.optim: Log likelihood for using optim.

Description

Log likelihood for using optim.

Usage

ll.coverage.optim(theta, obs, campaigns, z, cdf.fun, ...)

Arguments

theta
the parameter vector (trans.rho, alpha), where rho = exp(trans.rho)/(1+exp(trans.rho))
obs
the observations
campaigns
the campaigns
z
the z matrix
cdf.fun
the cdf function
...
additional arguments to cdf.fun

Value

Details

Assumes weight matrix parameter is not being fit.