fmx2dbl: Reparameterization of fmx Object

View source: R/fmx2dbl.R

fmx2dblR Documentation

Reparameterization of fmx Object

Description

To convert the parameters of fmx object into unrestricted parameters.

Usage

fmx2dbl(
  x,
  distname = x@distname,
  pars = x@pars,
  K = dim(pars)[1L],
  w = x@w,
  ...
)

Arguments

x

fmx object

distname

character scalar, default 'x@distname'

pars

numeric matrix, default 'x@pars'

K

integer scalar, default value from 'x'

w

numeric vector, default 'x@w'

...

additional parameters, not currently used

Details

For the first parameter

  • A_1 \rightarrow A_1

  • A_2 \rightarrow A_1 + \exp(\log(d_1))

  • A_k \rightarrow A_1 + \exp(\log(d_1)) + \cdots + \exp(\log(d_{k-1}))

For mixing proportions to multinomial logits.

For ''norm'': 'sd -> log(sd)' for ''GH'': 'B -> log(B), h -> log(h)'

Value

The function [fmx2dbl()] returns a numeric vector.

See Also

[dbl2fmx()]


fmx documentation built on July 17, 2026, 1:07 a.m.