Description Usage Arguments Details Author(s) Examples
View source: R/user_utilities.R
Gets various estimates from an ic_np
, ic_sp
or ic_par
object.
1 2 3 
object 
Model fit with 
type 
type of prediction. Options include 
newdata 

... 
other arguments (will be ignored) 
If newdata
is left blank, will provide estimates for original data set.
For the argument type
, there are two options. "lp"
provides the
linear predictor for each subject (i.e. in a proportional hazards model,
this is the loghazards ratio, in proportional odds, the log proporitonal odds),
"response"
provides the median response value for each subject,
*conditional on that subject's covariates, but ignoring their actual response interval*.
Use imputeCens
to impute the censored values.
Clifford AndersonBergman
1 2 3 4 5 6 7 8  simdata < simIC_weib(n = 500, b1 = .3, b2 = .3,
inspections = 6,
inspectLength = 1)
fit < ic_par(cbind(l, u) ~ x1 + x2,
data = simdata)
imputedValues < predict(fit)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.