-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathDESCRIPTION
79 lines (79 loc) · 3.5 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Package: gfoRmula
Title: Parametric G-Formula
Version: 1.1.1
Authors@R: c(person("Victoria", "Lin", role = c("aut"),
email = "[email protected]",
comment = "V. Lin and S. McGrath made equal
contributions"),
person("Sean", "McGrath", role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-7281-3516",
"V. Lin and S. McGrath made equal contributions")),
person("Zilu", "Zhang", role = c("aut"),
email = "[email protected]"),
person("Roger W.", "Logan", role = c("aut"),
email = "[email protected]"),
person("Lucia C.", "Petito", role = c("aut"),
email = "[email protected]"),
person("Jing", "Li", role = c("aut"),
email = "[email protected]"),
person("McGee", "Emma", role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-7456-6408")),
person("Cheng", "Carrie", role = c("aut"),
email = "[email protected]"),
person("Jessica G.", "Young", role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-2758-6932",
"M.A. Hernán and J.G. Young made equal contributions")),
person("Miguel A.", "Hernán", role = c("aut"),
email = "[email protected]",
comment = "M.A. Hernán and J.G. Young made equal
contributions"),
person("2019 The President and Fellows of Harvard College",
role = c("cph")))
Description: Implements the non-iterative conditional expectation (NICE)
algorithm of the g-formula algorithm (Robins (1986)
<doi:10.1016/0270-0255(86)90088-6>, Hernán and Robins (2024, ISBN:9781420076165)).
The g-formula can estimate an outcome's counterfactual mean or risk under
hypothetical treatment strategies (interventions) when there is sufficient
information on time-varying treatments and confounders.
This package can be used for discrete or continuous time-varying treatments
and for failure time outcomes or continuous/binary end of follow-up
outcomes. The package can handle a random measurement/visit process and a
priori knowledge of the data structure, as well as censoring (e.g., by loss
to follow-up) and two options for handling competing events for failure time
outcomes. Interventions can be flexibly specified, both as interventions on
a single treatment or as joint interventions on multiple treatments.
See McGrath et al. (2020) <doi:10.1016/j.patter.2020.100008> for a guide on
how to use the package.
Depends: R (>= 3.5.0)
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
Imports:
data.table,
ggplot2,
ggpubr,
grDevices,
nnet,
parallel,
progress,
stats,
stringr,
survival,
truncnorm,
truncreg,
utils
Suggests:
Hmisc,
knitr,
randomForest,
rmarkdown,
testthat (>= 3.0.0)
VignetteBuilder: knitr
URL: https://github.com/CausalInference/gfoRmula,
https://doi.org/10.1016/j.patter.2020.100008
BugReports: https://github.com/CausalInference/gfoRmula/issues
Config/testthat/edition: 3