-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
110 lines (76 loc) · 4.86 KB
/
README.Rmd
File metadata and controls
110 lines (76 loc) · 4.86 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# encore.analytics <img src="man/figures/logo.png" align="right" height="139" alt="" />
<!-- badges: start -->
[](https://github.com/janickweberpals/encore.analytics/actions/workflows/R-CMD-check.yaml)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
<!-- badges: end -->
## Overview
In the realm of oncology research, emulating clinical trials using real-world data presents unique challenges, particularly when dealing with missing data and the need for careful propensity score analyses. The `encore.analytics` package addresses these challenges by providing a comprehensive toolkit that bridges the gap between multiple imputation and propensity score methodologies.
### Why encore.analytics?
Real-world oncology data often suffers from missing values, requiring sophisticated imputation techniques. When combined with propensity score analyses for treatment effect estimation, the complexity increases substantially. Traditional approaches often handle these challenges separately, leading to potential biases and methodological inconsistencies.
The `encore.analytics` package offers an integrated solution that:
- Maintains the proper order of operations between imputation and propensity score estimation
- Ensures consistent handling of uncertainty across multiple imputed datasets
- Provides specialized tools for oncology-specific outcomes and metrics
The package implements various methodologies for:
* Multiple imputation of missing data
* Propensity score estimation and matching
* Survival analysis with multiply imputed data
* Agreement metrics for assessing consistency across imputed datasets
* Specialized visualization tools for survival outcomes
## Key Features
* **Cox Model Pooling**: Implementation of various approaches for pooling Cox proportional hazards models across multiply imputed datasets
* **Kaplan-Meier Pooling**: Tools for combining and visualizing Kaplan-Meier curves from multiple imputations
* **Raking Weights**: Methods for calibrating weights in propensity score analyses
* **Agreement Metrics**: Functions to assess consistency and agreement across imputed datasets
* **Table 1 Generation**: Utilities for creating descriptive statistics tables
* **Data Simulation**: Tools for generating synthetic datasets for testing and validation
## Installation
You can install the development version of encore.analytics from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("janickweberpals/encore.analytics")
```
## Documentation and Examples
For comprehensive documentation and detailed examples, please visit:
* **Package Website**: [https://janickweberpals.github.io/encore.analytics/](https://janickweberpals.github.io/encore.analytics/)
* **Detailed Workflows**: [https://janickweberpals.github.io/imputation-ps-workflows/](https://janickweberpals.github.io/imputation-ps-workflows/)
The documentation includes:
1. **Background**: Theoretical foundation and methodology
2. **Multiple Survival Model Comparison**: Approaches for handling survival analyses with multiple imputations
3. **Raking Weights**: Implementation of weight calibration methods
4. **Kaplan-Meier Pooling**: Techniques for combining survival curves
5. **Agreement Metrics**: Methods for assessing consistency across imputations
## Implementation Details
### Statistical Methodology
The package implements state-of-the-art approaches for:
- Rubin's rules for combining estimates across imputed datasets
- Various propensity score estimation methods including logistic regression and machine learning approaches
- Specialized pooling methods for survival analyses
- Novel metrics for assessing agreement between imputed datasets
### Technical Architecture
Built with extensibility in mind, `encore.analytics` features:
- A modular design that allows for easy addition of new methodologies
- Efficient handling of large datasets through optimized algorithms
- Comprehensive unit testing to ensure reliability
- Integration with popular R packages in the survival analysis ecosystem
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
## Citation
If you use `encore.analytics` in your research, please cite it as:
```
Weberpals J (2025). encore.analytics: Multiple Imputation and Propensity Score
Workflows for Oncology Trial Emulation. R package version 0.1.0.
https://github.com/janickweberpals/encore.analytics
```