Evaluate conditional density in a log-linear regression model fit at arbitrary x, or contrast of log conditional density possibly with standard errors for constructing Bayesian confidence intervals.
# S3 method for ssllrm
predict(object, x, y=object$qd.pt, odds=NULL, se.odds=FALSE, ...)
For odds=NULL
, predict.ssanova
returns a vector/matrix
of the estimated f(y|x)
.
When odds
is given, it should match y
in length and
the coefficients must add to zero; predict.ssanova
then
returns a vector of estimated "odds ratios" if se.odds=FALSE
or a list consisting of the following elements if
se.odds=TRUE
.
Vector of evaluated fit.
Vector of standard errors.
Object of class "ssllrm"
.
Data frame of x values.
Data frame of y values; y-variables must be factors.
Optional coefficients of contrast.
Flag indicating if standard errors are required.
Ignored when odds=NULL
.
Ignored.
Fitting function ssllrm
.