Description Details Author(s) See Also Examples
This package contains all of the code needed to execute all of the simulations presented in the working paper "Misclassified Group Tested Current Status Data". It includes data generating functions, the hybrid EM-PAV algorithm, and the appropriate version of the pool-adjacent-violators algorithm for perfectly classified and misclassified current status data.
Package: | groupedCS |
Type: | Package |
Version: | 1.0 |
Date: | 2015-12-31 |
License: | GPL-3 |
Author and Maintainer: Lucia Petito <lucia.petito@gmail.com>
gen.data.weibull.unif
, gen.data.fixed
, hybrid.em.pav
, pava.cs
, simulation.random
, simulation.fixed
1 2 3 4 5 6 7 8 9 10 11 | #For a detailed example of how the code is used, see vingette.
#To run one iteration of the code for uniform censoring times, use
sim.r <- simulation.random(100, 2, 4, 25, 0.25, 14, 0.95, 0.95, 0.01)
#See output
sim.r
#Do the same for fixed censoring times
sim.f <- simulation.fixed(100, 2, 1:5, seq(0.1, 0.5, 0.1), 0.95, 0.95, 0.01)
#See output
sim.f
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.