waldtest | R Documentation |
ciregic
and ciregic_lt
waldtest
for class ciregic
or ciregic_lt
. This provides the result of Wald test for the fitted model from the function ciregic
or ciregic_lt
.
waldtest(obj1, obj2 = NULL, ...)
obj1 |
an object of the fitted model in |
obj2 |
an object of the fitted model in |
... |
further arguments |
The function waldtest.ciregic
returns a result of Wald test.
The function waldtest
returns an output table of Wald test of the model from object
.
varnames.full |
a variable name of a vector of variables names in the full model |
varnames.nested |
a variable name of a vector of variables names in the nested model |
vcov |
the estimated bootstrap variance-covariance matrix for overall Wald test |
vcov.event1 |
the estimated bootstrap variance-covariance matrix for cause-specific Wald test (event type 1) |
vcov.event2 |
the estimated bootstrap variance-covariance matrix for cause-specific Wald test (event type 2) |
table |
a table including test statistic, degrees of freedom, and p-value |
Jun Park, jun.park@alumni.iu.edu
Giorgos Bakoyannis, gbakogia@iu.edu
The fitted semiparametric regression on cumulative incidence function with interval-censored competing risks data ciregic
and left-truncated and interval-censored competing risks data ciregic_lt
## Continuing the ciregic(...) example library(intccr) waldtest(obj1 = fit) set.seed(12345) newdata <- dataprep(data = longdata, ID = id, time = t, event = c, Z = c(z1, z2)) fit.nested <- ciregic(formula = Surv2(v = v, u = u, event = c) ~ z2, data = newdata, alpha = c(1, 1), nboot = 0, do.par = FALSE) waldtest(obj1 = fit, obj2 = fit.nested)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.