variable.names.zlm {BMS}R Documentation

Variable names and design matrix

Description

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

Usage


 ## S3 method for class 'zlm'
variable.names(object,...)
 ## S3 method for class 'zlm'
vcov(object, include.const = FALSE, ...)
 ## S3 method for class 'zlm'
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

Author(s)

Martin Feldkircher and Stefan Zeugner

See Also

zlm for creating zlm objects

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

Examples

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

[Package BMS version 0.3.1 Index]