Learn R Programming

mixAK (version 5.3)

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

Description

This method transforms fitted distributionof \(Y=\mbox{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, …)

# S3 method for NMixPredDensMarg Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPlugDensMarg Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPredCDFMarg Y2T(x, itrans=exp, …)

# S3 method for NMixPredDensJoint2 Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPlugDensJoint2 Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPredCondDensMarg Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPlugCondDensMarg Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPredCondCDFMarg Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPredCondDensJoint2 Y2T(x, itrans=exp, dtrans=function(x){return(1 / x)}, …)

# S3 method for NMixPlugCondDensJoint2 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.