Learn R Programming

mixAK (version 4.2)

Y2T: Transform fitted distribution of Y=trans(T) into distribution of T

Description

This method transforms fitted distributionof $Y=trans(T)$ into distribution of $T$. Default transformation is a logarithmic transformation where trans(t)=log(t), itrans(y)=exp(y), dtrans(t)=1/t.

Usage

Y2T(x, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)
"Y2T"(x, itrans=exp, dtrans=function(x){return(1 / x)}, ...)

Arguments

x
an object of appropriate class.
itrans
either an object of class function or a list of objects of class function giving inverse transformations for each margin. If itrans is a single function then it is assumed that all margins were transformed in the same way.
dtrans
either an object of class function or a list of objects of class function giving derivatives of transformations for each margin. If dtrans is a single function then it is assumed that all margins were transformed in the same way.
...
optional additional arguments.

Value

An object of the same class as argument x.

See Also

NMixPredDensMarg, NMixPlugDensMarg, NMixPredCDFMarg, NMixPredDensJoint2, NMixPlugDensJoint2, NMixPredCondDensMarg, NMixPlugCondDensMarg, NMixPredCondCDFMarg, NMixPredCondDensJoint2, NMixPlugCondDensJoint2.