Y2T {mixAK} | R Documentation

## 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, ...)

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

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

    ## S3 method for class 'NMixPredCDFMarg':
    Y2T(x, itrans=exp, ...)

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

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

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

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

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

    ## S3 method for class '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`.

### Author(s)

Arnošt Komárek arnost.komarek[AT]mff.cuni.cz

### See Also

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

[Package mixAK version 0.6 Index]