Description Usage Arguments Details Value
Functions for binary choice example in the vignette.
1 2 3 4 5 | binary.f(P, data, priors)
binary.grad(P, data, priors)
binary.hess(P, data, priors)
|
P |
Numeric vector of length (N+1)*k. First N*k elements are heterogeneous coefficients. The remaining k elements are population parameters. |
data |
List of data matrices Y and X, and choice count integer T |
priors |
List of named matrices inv.Omega and inv.Sigma |
Hessian is sparse, and returned as a dgcMatrix object
Log posterior density, gradient and Hessian.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.