ydist {conTree}R Documentation

Transform z-values t(z) such that the distribution of p(t(z) | x) approximates p(t(y | x) for type = 'dist' only

Description

Transform z-values t(z) such that the distribution of p(t(z) | x) approximates p(t(y | x) for type = 'dist' only

Usage

ydist(model, x, z, num = model$niter)

Arguments

model

model object output from modtrast()

x

vector of predictor variable values for a (single) observation

z

sample of z-values drawn from p(z | x)

num

number of trees used to compute model values

Value

vector of length(z) containing transformed values t(z) approximating p(y | x)

See Also

contrast()


[Package conTree version 0.3-1 Index]