Obtain Screening probability draws

ec_draws_screen(draws)

Arguments

draws

A list, 'echoice2' draws object

Value

A tibble, long format, draws of MU

See also

ec_draws_MU() to obtain MU_theta draws, ec_trace_screen() to generate a traceplot of screening draws

Examples

data(icecream)
#run MCMC sampler (use way more than 20 draws for actual use
icecream_scr_est <- icecream %>% dplyr::filter(id<50) %>% vd_est_vdm_screen(R=20)
#> Using 16 cores
#>  MCMC in progress 
#> MCMC complete
#>  Total Time Elapsed: 0.00 minutes
ec_draws_screen(icecream_scr_est)
#> # A tibble: 40 × 3
#>     draw attribute_level  value
#>    <int> <chr>            <dbl>
#>  1     1 Brand:BenNJerry    0.5
#>  2     1 Brand:BlueBell     0.5
#>  3     1 Brand:BlueBunny    0.5
#>  4     1 Brand:Breyers      0.5
#>  5     1 Brand:Dryers       0.5
#>  6     1 Brand:HaagenDa     0.5
#>  7     1 Brand:Store        0.5
#>  8     1 Flavor:Chocolate   0.5
#>  9     1 Flavor:ChocChip    0.5
#> 10     1 Flavor:ChocDough   0.5
#> # … with 30 more rows