Learn R Programming

abn (version 3.1.12)

export_abnFit_mle_grouped_nodes: Export node information from abnFit objects fitted with MLE (mixed effects)

Description

Export node information from abnFit objects fitted with MLE (mixed effects)

Usage

export_abnFit_mle_grouped_nodes(object, ...)

Value

A named list with two components: variables and parameters. Variables is an array where each element represents a variable with its metadata. Parameters is an array where each element represents a parameter, including both fixed-effect coefficients and random-effect variance components.

Arguments

object

An object of class abnFit fitted with method = "mle" and group.var specified.

...

Additional arguments (currently unused)

Details

This function extracts node parameterisation information from abnFit objects that were fitted using the Maximum Likelihood Estimation (MLE) approach WITH mixed-effects (i.e., group.var was specified).

For mixed-effects models, the structure includes:

  • Fixed effects: Population-level intercepts and coefficients

  • Random effects: Group-level variance components (sigma, sigma_alpha)

The export format follows the same variables/parameters structure, but parameters will include both fixed-effect coefficients and random-effect variance components.