PPPSquareLink: PPPSquareLink

PPPSquareLinkR Documentation

PPPSquareLink

Description

Square link function. See also the PrePostProcessing documentation.

Details

Square link function. The transform is x^2, and the sign(x)*sqrt(abs(x)) its inverse.

Super classes

SBCK::PrePostProcessing -> SBCK::PPPFunctionLink -> PPPSquareLink

Methods

Public methods

Inherited methods

Method new()

Create a new PPPSquareLink object.

Usage
PPPSquareLink$new(cols = NULL, ...)
Arguments
cols

Columns to apply the link function

...

Others arguments are passed to PrePostProcessing

Returns

A new 'PPPSquareLink' object.


Method clone()

The objects of this class are cloneable with this method.

Usage
PPPSquareLink$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Start with data
XY = SBCK::dataset_like_tas_pr(2000)
X0 = XY$X0
X1 = XY$X1
Y0 = XY$Y0

## Define the PPP method
ppp = PPPSquareLink$new( bc_method = CDFt , cols = 2 )

## And now the correction
## Bias correction
ppp$fit(Y0,X0,X1)
Z = ppp$predict(X1,X0)


SBCK documentation built on Sept. 11, 2023, 5:10 p.m.

Related to PPPSquareLink in SBCK...