Learn R Programming

echoice2 (version 0.2.4)

ec_estimates_SIGMA: Obtain posterior mean estimates of upper level covariance

Description

Obtain posterior mean estimates of upper level covariance

Usage

ec_estimates_SIGMA(est)

Value

estimates of upper level covariance

Arguments

est

is an 'echoice2' draw object (list)

Examples

Run this code
data(icecream)
#run MCMC sampler (use way more than 20 draws for actual use)
icecream_est <- icecream %>% dplyr::filter(id<50) %>% vd_est_vdm(R=20, cores=2)
icecream_est %>% ec_estimates_SIGMA %>% round(2)

Run the code above in your browser using DataLab