logistic.loglik: Log likelihood function for logistic regression with a prior...

logistic.loglikR Documentation

Log likelihood function for logistic regression with a prior p(m)=sum(total_width) This function is created as an example of how to create an estimator that is used to calculate the marginal likelihood of a model.

Description

Log likelihood function for logistic regression with a prior p(m)=sum(total_width) This function is created as an example of how to create an estimator that is used to calculate the marginal likelihood of a model.

Usage

logistic.loglik(y, x, model, complex, params = list(r = 1))

Arguments

y

A vector containing the dependent variable

x

The matrix containing the precalculated features

model

The model to estimate as a logical vector

complex

A list of complexity measures for the features

params

A list of parameters for the log likelihood, supplied by the user


jonlachmann/GMJMCMC documentation built on April 22, 2024, 4:21 a.m.