Skip to contents

Default priors for diagnostic classification models

Usage

default_dcm_priors(type = "lcdm", attribute_structure = "unconstrained")

Arguments

type

Type of DCM to estimate. Must be one of lcdm, dina, dino, or crum.

attribute_structure

Structural model specification. Must be one of unconstrained, or independent. unconstrained makes no assumptions about the relationships between attributes, whereas independent assumes that proficiency statuses on attributes are independent of each other.

Value

A measrprior object.

Examples

default_dcm_priors(type = "lcdm")
#> # A tibble: 4 × 3
#>   class       coef  prior_def                  
#>   <chr>       <chr> <chr>                      
#> 1 intercept   NA    normal(0, 2)               
#> 2 maineffect  NA    lognormal(0, 1)            
#> 3 interaction NA    normal(0, 2)               
#> 4 structural  Vc    dirichlet(rep_vector(1, C))