|
37 | 37 | " - SEM Conditional Formulation\n", |
38 | 38 | " - SEM Marginal Formulation\n", |
39 | 39 | " - SEM Mean Structure Formulation\n", |
| 40 | + " - Sensitivity Analysis: Comparing Model Fits\n", |
40 | 41 | "- Parameter Recovery Models\n", |
41 | 42 | " - SEM Hierarchical Formulation\n", |
42 | 43 | " - SEM + Discrete Choice\n", |
|
407 | 408 | "\n", |
408 | 409 | "We can express the SEM in either a conditional or marginal formulation. The conditional form explicitly samples the latent variables, while the marginal form integrates them out of the likelihood.\n", |
409 | 410 | "\n", |
410 | | - "### Conditional Formulation\n", |
| 411 | + "#### Conditional Formulation\n", |
411 | 412 | "This formulation treats the latent variables as parameters to be sampled directly. This is conceptually straightforward but often computationally demanding for Bayesian samplers.\n", |
412 | 413 | "\n", |
413 | 414 | "$$\n", |
|
429 | 430 | "\n", |
430 | 431 | "which highlights that the conditional formulation samples the latent variables explicitly. \n", |
431 | 432 | "\n", |
432 | | - "### Marginal Formulation\n", |
| 433 | + "#### Marginal Formulation\n", |
433 | 434 | "Here the focus is on deriving the covariance matrix. \n", |
434 | 435 | "\n", |
435 | 436 | "$$\\Sigma_{\\mathcal{y}} = \\Psi + \\Lambda(I - B)^{-1}\\Psi_{\\zeta}(I - B)^{T}\\Lambda^{T} $$\n", |
|
448 | 449 | "id": "78194165", |
449 | 450 | "metadata": {}, |
450 | 451 | "source": [ |
451 | | - "### Setting up Utility Functions\n", |
| 452 | + "#### Setting up Utility Functions\n", |
452 | 453 | "\n", |
453 | 454 | "For this exercise we will lean on a range of utility functions to build and compare the expansionary sequence. These functions include repeated steps that will be required for any SEM model. These functions modularize the model-building process and make it easier to compare successive model expansions.\n", |
454 | 455 | "\n", |
|
4415 | 4416 | "\n", |
4416 | 4417 | "We can also pull out the indirect and direct effects. This is one of the biggest pay-offs for SEM modelling. We've done the work of assessing measurement error and building an abstraction layer of __what-we-care-about__ over the observed indicators. We've considered various structures of the inferential relationships and isolated those direct effects from undue confounding influences. Now we can pull out the impact of mediation and moderation.\n", |
4417 | 4418 | "\n", |
4418 | | - "## Comparing Models\n", |
| 4419 | + "## Sensitivity Analysis: Comparing Model Implications\n", |
4419 | 4420 | "\n", |
4420 | 4421 | "Let's first compare the model implied total effects, and the degrees of moderation between constructive and dysfunctional habits of thought on the satisfaction outcome." |
4421 | 4422 | ] |
|
5960 | 5961 | "id": "6636967a", |
5961 | 5962 | "metadata": {}, |
5962 | 5963 | "source": [ |
5963 | | - "## Discrete Choice Component\n", |
| 5964 | + "## SEM with Discrete Choice Component\n", |
5964 | 5965 | "\n", |
5965 | 5966 | "Combining SEM structures with Discrete choice models involves adding an extra likelihood term dependent on the latent factors. HR managers everywhere need to monitor attrition decisions. Often, they conceptualise the rationale for these decisions as being driven by abstract notions of job satisfaction. We now have tools to measure the latent constructs, but can we predict attrition outcomes from these latent predictors? \n", |
5966 | 5967 | "\n", |
|
6601 | 6602 | "id": "49fe7be1", |
6602 | 6603 | "metadata": {}, |
6603 | 6604 | "source": [ |
6604 | | - "We can see here how our model structure now has two likelihood terms that are both based on the latent constructs `eta`. To demonstrate parameter recovery we need to sample from both outcomes simultaneously. " |
| 6605 | + "We can see here how our model structure now has two likelihood terms that are both based on the latent constructs `eta`. \n", |
| 6606 | + "\n", |
| 6607 | + "#### The Parameter Recovery Process\n", |
| 6608 | + "\n", |
| 6609 | + "To demonstrate parameter recovery we need to sample from both outcomes simultaneously. " |
6605 | 6610 | ] |
6606 | 6611 | }, |
6607 | 6612 | { |
|
0 commit comments