Evaluate conditional pdf, cdf, and quantiles of f(y1|x,y2) for smoothing spline conditional density estimates f(y|x).
cdsscden(object, y, x, cond, int=NULL)
cpsscden(object, q, x, cond)
cqsscden(object, p, x, cond)
cdsscden
returns a list object with the following
elements.
Matrix or vector of conditional pdf f(y1|x,y2), with each column corresponding to a distinct x value.
Vector of normalizing constants.
cpsscden
and cqsscden
return a matrix or vector of
conditional cdf or quantiles of f(y1|x,y2).
Object of class "sscden"
or "sscden1"
.
Data frame of x values on which conditional density f(y1|x,y2) is to be evaluated.
Data frame or vector of y1 points on which conditional density f(y1|x,y2) is to be evaluated.
One row data frame of conditioning variables y2.
Vector of points on which cdf is to be evaluated.
Vector of probabilities for which quantiles are to be calculated.
Vector of normalizing constants.
The arguments x
and y
are of the same form as the
argument newdata
in predict.lm
, but y
in
cdsscden
can take a vector for 1-D y1.
cpsscden
and cqsscden
naturally only work for 1-D y1.
Fitting function sscden
and dsscden
.