senseweight
Tools for sensitivity analysis for weighted estimators
Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Keywords
causality
ipw
sensitivity
Last synced: 6 months ago
·
JSON representation
Repository
Tools for sensitivity analysis for weighted estimators
Basic Info
- Host: GitHub
- Owner: melodyyhuang
- License: other
- Language: R
- Default Branch: main
- Homepage: https://melodyyhuang.github.io/senseweight/
- Size: 11.7 MB
Statistics
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 0
Topics
causality
ipw
sensitivity
Created over 4 years ago
· Last pushed 7 months ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# senseweight
[](https://github.com/melodyyhuang/senseweight/actions/workflows/R-CMD-check.yaml)
`senseweight` implements a set of sensitivity functions and tools to help researchers transparently conduct sensitivity analyses for weighted estimators. `senseweight` allows researchers to assess the sensitivity present in their weighted estimates to omitted confounders. Specific methods provided in `senseweight` include the following: (1) visualization tools to summarize sensitivity; (2) summary tables containing necessary sensitivity statistics; (3) formal benchmarking methods which allow researchers to use observed covariates to assess the plausibility of different confounders.
## Installation
You can install the development version of senseweight from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("melodyyhuang/senseweight")
```
```{r, echo=FALSE, message=FALSE}
library(ggplot2)
library(tidyverse)
ggMelody <- theme_minimal() + theme(
plot.title = element_text(hjust = 0.5, size = 17, face = "bold"),
axis.text = element_text(size = 9),
legend.position = "bottom", axis.title = element_text(size = 12),
strip.text.x = element_text(size = 12, face = "bold"),
strip.text.y = element_text(size = 12, face = "bold"),
plot.subtitle = element_text(size = 14, hjust = 0.5)
)
theme_set(ggMelody)
```
## References
The package implements a series of methods developed in the following papers.
For the technical introduction of the sensitivity tools:
* [Huang, Melody. "Sensitivity Analysis in the Generalization of Experimental Results." Journal of the Royal Statistical Society Series A: Statistics in Society (2024)](https://academic.oup.com/jrsssa/advance-article-abstract/doi/10.1093/jrsssa/qnae012/7626119)
* [Hartman, Erin and Huang, Melody. "Sensitivity Analysis for Survey Weights." Political Analysis (2024)](https://www.cambridge.org/core/journals/political-analysis/article/sensitivity-analysis-for-survey-weights/0A13E3843155099F169CF195B8D7604F)
For less technical introductions with interesting applications and best practice:
* Huang, Melody and Hartman, Erin. "Assessing Nonignorable Response: Sensitivity Analysis for Survey Weighting, with Applications to Survey Estimates of COVID-19 Vaccination Uptake." Working paper.
* Bailey, Michael. "Polling at a Crossroads." (Chapter 7)
Owner
- Name: Melody Huang
- Login: melodyyhuang
- Kind: user
- Repositories: 1
- Profile: https://github.com/melodyyhuang
Currently @ Berkeley Statistics; previously @ UCLA.
GitHub Events
Total
- Watch event: 1
- Issue comment event: 1
- Push event: 9
- Pull request event: 4
- Fork event: 1
- Create event: 2
Last Year
- Watch event: 1
- Issue comment event: 1
- Push event: 9
- Pull request event: 4
- Fork event: 1
- Create event: 2
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: senseweight
Sensitivity Analysis for Weighted Estimators
- Homepage: https://melodyyhuang.github.io/senseweight/
- Documentation: http://cran.r-project.org/web/packages/senseweight/senseweight.pdf
- License: MIT + file LICENSE
-
Latest release: 0.0.1
published 6 months ago
Rankings
Dependent packages count: 25.7%
Dependent repos count: 31.6%
Average: 47.5%
Downloads: 85.4%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- WeightIt * imports
- dplyr * imports
- ggplot2 * imports
- ggrepel * imports
- kableExtra * imports
- knitr * imports
- metR * imports
- survey * imports
- tidyr * imports
- estimatr * suggests