Specify a diagnostic model

Get started by learning how to specify and estimate a model using measr.

Introduction

The first article will focus on how to specify a DCM with measr including:

  • Choosing a measurement model
  • Choosing a structural model
  • Choosing prior distributions
  • Combining these choices into a DCM specification using dcm_specify()

The article will then describe how to estimate the model with MCMC or an optimizer using either {rstan} or {cmdstanr} with dcm_estimate().