## Start with data
XY = SBCK::dataset_like_tas_pr(2000)
X0 = XY$X0
X1 = XY$X1
Y0 = XY$Y0
## Define the link function
transform = function(x) { return(x^3) }
itransform = function(x) { return(x^(1/3)) }
## And the PPP method
ppp = PPPFunctionLink$new( bc_method = CDFt , transform = transform ,
itransform = itransform )
## And now the correction
## Bias correction
ppp$fit(Y0,X0,X1)
Z = ppp$predict(X1,X0)
Run the code above in your browser using DataLab