Predict Method for beezdemand_fixed
# S3 method for beezdemand_fixed
predict(
object,
newdata = NULL,
type = c("response", "link"),
se.fit = FALSE,
interval = c("none", "confidence"),
level = 0.95,
...
)A tibble containing the original newdata columns, plus .fitted
and, when requested, .se.fit and .lower/.upper. If newdata does not
include an id column, predictions are returned for all subjects (cross
product of newdata × subjects) unless k is subject-specific (k = "ind").
A beezdemand_fixed object.
A data frame containing a price column matching the fitted
object's x_var. If NULL, uses the unique observed prices when available.
One of "response" (default) or "link".
Logical; if TRUE, includes a .se.fit column (currently NA
because vcov is not available from legacy fixed fits).
One of "none" (default) or "confidence". When requested,
.lower/.upper are returned as NA because vcov is unavailable.
Confidence level when interval = "confidence". Currently used
only for validation.
Unused.