Learn R Programming

sbim (version 1.0.0)

simll: Simulation Log Likelihood class

Description

Simulation Log Likelihood class

Usage

simll(ll, params = NULL, weights = NULL)

Value

A class 'sll' object

Arguments

ll

A matrix of simulation log likelihoods. The (i,m)-th entry is given by the simulation log likelihood for y_i obtained by simulating X at theta_m (e.g., the log density of y_i given X).

params

A matrix or a vector of parameter values. If a matrix, the m-th row gives the parameter vector theta_m. If theta is one dimensional, 'params' is can be a numeric vector or a matrix with one column. 'params' can be omitted if simulation log likelihoods are obtained at a single one parameter value.

weights

A numeric vector of weights, inversely proportional to the variance of simulation log likelihoods (optional)