fmx2dbl {fmx} | R 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 |
pars |
|
K |
integer scalar, default value from |
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
Function fmx2dbl returns a numeric vector.
See Also
[Package fmx version 0.1.2 Index]