Default priors for diagnostic classification models
Source:R/zzz-class-model-priors.R
      default_dcm_priors.RdView the prior distributions that are applied by default when using a given measurement and structural model.
Arguments
- measurement_model
- A measurement model object. 
- structural_model
- A structural model object. 
Examples
default_dcm_priors(lcdm(), unconstrained())
#> # A tibble: 4 × 3
#>   type        coefficient prior                      
#>   <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))
default_dcm_priors(dina(), independent())
#> # A tibble: 3 × 3
#>   type       coefficient prior      
#>   <chr>      <chr>       <chr>      
#> 1 slip       NA          beta(5, 25)
#> 2 guess      NA          beta(5, 25)
#> 3 structural NA          beta(1, 1) 
default_dcm_priors(lcdm(), loglinear())
#> # A tibble: 5 × 3
#>   type                   coefficient prior          
#>   <chr>                  <chr>       <chr>          
#> 1 intercept              NA          normal(0, 2)   
#> 2 maineffect             NA          lognormal(0, 1)
#> 3 interaction            NA          normal(0, 2)   
#> 4 structural_maineffect  NA          normal(0, 10)  
#> 5 structural_interaction NA          normal(0, 10)