summary.markovMSM: Summarizing fits of "markovMSM" class.

Description Usage Arguments Value Author(s) References Examples

View source: R/summary.markovMSM.R

Description

Returns the p-values of the AUC global and Local tests. Further information on the test are also given.

Usage

1
2
## S3 method for class 'markovMSM'
summary(object, ...)

Arguments

object

A object of "markovMSM" with the results of the AUC global or local tests.

...

For future methods.

Value

The p-values of the AUC global and Local tests. Further information on the test are also given.

Author(s)

Gustavo Soutinho and Luis Meira-Machado.

References

Soutinho G, Meira-Machado L (2021). Methods for checking the Markov condition in multi-state survival data. Computational Statistics.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data("colonMSM")
db_wide<-colonMSM
positions<-list(c(2, 3), c(3), c())
namesStates =  c("Alive", "Rec",  "Death")
tmat <-transMatMSM(positions, namesStates)
timesNames = c(NA, "time1","Stime")
status=c(NA, "event1","event")
trans = tmat
db_long<- prepMSM(data=db_wide, trans, timesNames, status)
times=365
res<-AUC.test(db_long, db_wide, times=times, from=2, to=3, type='local', 
replicas=2, tmat = tmat)
res$localTest
summary(res)

gsoutinho/markovMSM documentation built on Nov. 9, 2021, 11:40 p.m.