postprocess_theta {ssmodels}R Documentation

Post-process Parameter Vector for Generalized Heckman Models

Description

Internal helper function that assigns meaningful names to a vector of estimated parameters and applies transformations to sigma and rho parameters to obtain interpretable estimates.

Usage

postprocess_theta(theta_par, NXS, NXO, NE, NV, XS, XO, outcomeS, outcomeC)

Arguments

theta_par

A numeric vector containing the estimated parameters.

NXS

Integer. Number of covariates in the selection equation.

NXO

Integer. Number of covariates in the outcome equation.

NE

Integer. Number of covariates (or 1 for intercept-only) in the scale model.

NV

Integer. Number of covariates (or 1 for intercept-only) in the correlation model.

XS

Design matrix for the selection equation (used for naming).

XO

Design matrix for the outcome equation (used for naming).

outcomeS

Design matrix or variable for the scale (variance) model.

outcomeC

Design matrix or variable for the correlation model.

Details

The parameter vector theta_par is structured as follows:

For interpretation, the function applies:

Value

A named numeric vector with:


[Package ssmodels version 2.0.1 Index]