logLik.UPG.Probit {UPG} | R Documentation |
logLik
can be used to compute log-likelihoods from UPG.Probit
objects. The log-likelihood is based on the posterior mean of the coefficients and can be used for model selection when combined with,e.g., BIC
or other model selection criteria.
## S3 method for class 'UPG.Probit' logLik(object = NULL, ...)
object |
an object of class |
... |
other logLik parameters. |
Returns a numeric of class logLik
with attributes containing the number of estimated parameters and the number of observations.
Gregor Zens
summary.UPG.Probit
to summarize the estimates of a discrete choice model from an UPG.Probit
object and create tables.
plot.UPG.Probit
to plot the results of a discrete choice model from an UPG.Probit
object.
coef.UPG.Probit
to extract coefficients from an UPG.Probit
object.
# estimate a probit model using example data library(UPG) data(lfp) y = lfp[,1] X = lfp[,-1] results.probit = UPG(y = y, X = X, type = "probit", verbose=TRUE) # extract log-likelihood ll.probit = logLik(results.probit) # compute BIC BIC(ll.probit)