{"id":32202859,"url":"https://github.com/melodyyhuang/senseweight","last_synced_at":"2025-10-22T04:18:26.025Z","repository":{"id":175693200,"uuid":"395067301","full_name":"melodyyhuang/senseweight","owner":"melodyyhuang","description":"Tools for sensitivity analysis for weighted estimators","archived":false,"fork":false,"pushed_at":"2025-08-15T06:08:09.000Z","size":12848,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-11T01:25:25.991Z","etag":null,"topics":["causality","ipw","sensitivity"],"latest_commit_sha":null,"homepage":"https://melodyyhuang.github.io/senseweight/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melodyyhuang.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-11T17:25:50.000Z","updated_at":"2025-08-15T06:05:25.000Z","dependencies_parsed_at":"2024-06-13T08:44:11.746Z","dependency_job_id":"e063680e-4c24-4833-9a31-12c568acb2a7","html_url":"https://github.com/melodyyhuang/senseweight","commit_stats":null,"previous_names":["melodyyhuang/senseweight"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/melodyyhuang/senseweight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melodyyhuang%2Fsenseweight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melodyyhuang%2Fsenseweight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melodyyhuang%2Fsenseweight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melodyyhuang%2Fsenseweight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melodyyhuang","download_url":"https://codeload.github.com/melodyyhuang/senseweight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melodyyhuang%2Fsenseweight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280377977,"owners_count":26320579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["causality","ipw","sensitivity"],"created_at":"2025-10-22T04:18:20.232Z","updated_at":"2025-10-22T04:18:26.021Z","avatar_url":"https://github.com/melodyyhuang.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# senseweight\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/melodyyhuang/senseweight/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/melodyyhuang/senseweight/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\n`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. \n\n## Installation\n\nYou can install the development version of senseweight from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"melodyyhuang/senseweight\")\n```\n```{r, echo=FALSE, message=FALSE}\nlibrary(ggplot2)\nlibrary(tidyverse)\nggMelody \u003c- theme_minimal() + theme(\n  plot.title = element_text(hjust = 0.5, size = 17, face = \"bold\"),\n  axis.text = element_text(size = 9),\n  legend.position = \"bottom\", axis.title = element_text(size = 12),\n  strip.text.x = element_text(size = 12, face = \"bold\"),\n  strip.text.y = element_text(size = 12, face = \"bold\"),\n  plot.subtitle = element_text(size = 14, hjust = 0.5)\n)\ntheme_set(ggMelody)\n```\n\n## References\nThe package implements a series of methods developed in the following papers. \n\nFor the technical introduction of the sensitivity tools:\n\n* [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)\n* [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)\n\nFor less technical introductions with interesting applications and best practice: \n\n* 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.\n* Bailey, Michael. \"Polling at a Crossroads.\" (Chapter 7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelodyyhuang%2Fsenseweight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelodyyhuang%2Fsenseweight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelodyyhuang%2Fsenseweight/lists"}