50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


BMS (version 0.3.4)

variable.names.zlm: Variable names and design matrix

Description

Simple utilities retrieving variable names and design matrix from a bma object

Usage

"variable.names"(object,...) "vcov"(object, include.const = FALSE, ...) "logLik"(object, ...)

Arguments

object
A bma object (as produced by bms)
include.const
Whether the variance-covariance matrix returned by vcov.zlm should also include a line and row for the intercept (which will be NA for most priors)
...
further arguments passed to or from other methods

Details

variable.names.zlm: method variable.names for a zlm model. vcov.zlm: the posterior variance-covariance matrix of the coefficients of a zlm model - cf. vcov logLik.zlm: a zlm model's log-likelihood p(y|M) according to the implementation of the respective coefficent prior

See Also

zlm for creating zlm objects

Check http://bms.zeugner.eu for additional help.

Examples

Run this code
 data(datafls)
  
 zz=zlm(datafls)
 variable.names(zz)
 vcov(zz)
 logLik(zz)
 

Run the code above in your browser using DataLab