Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2017
Data sources: Datacite
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2017
Data sources: Datacite
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2017
Data sources: ZENODO
versions View all 2 versions
addClaim

Supporting code for "Optimal tradeoffs in matched designs for observational study"

Authors: Pimentel, Samuel D.;

Supporting code for "Optimal tradeoffs in matched designs for observational study"

Abstract

This code implements the data assembly and data analysis for the working paper, "Optimal tradeoffs in matched designs for observational studies," by Samuel D. Pimentel (UC Berkeley) and Rachel R. Kelz (University of Pennsylvania). Information on obtaining a copy of the draft is available at https://www.stat.berkeley.edu/~spi/. The code consists of two parts, data assembly (conducted in SAS and Stata) and data analysis (conducted in R). Data Assembly. The data assembly is done by five scripts. The first 2 SAS scripts, PullGenSurgFL.sas and PullGenSurgNY.sas, extract the general surgery hospital discharge claims from raw data files provided by Florida and New York respectively. The next 2 Stata scripts, CleanGSFL.do and CleanGSNY.do, clean this raw data into a more usable format. Finally, the Stata script PullUSMGvsIMGData.do, combines the cleaned claims data from both states and cleans and links in surgeon covariates from the AMA masterfile. The final output is a single Stata file called TwoStateIMGUSMG.dta, which is used as the input to the data analysis. Data Analysis. The data analysis is run using a single master R script, main_script_v2.R. This script is accompanied by five additional R files which define various types of helper functions used in the analysis (and are loaded as part of the main script): descr_stats.R, attributable_effects_v3.R, obj_to_match.R, my_dummy.R, and tradeoff_functions_v5.R. As input, the master script relies on the TwoStateIMGUSMG.dta file created in the data assembly stage. It also uses two auxiliary files, NYfips.csv and FLfips.csv, which each contain two columns, the first giving FIPS codes and the second county names, for the appropriate states.

Related Organizations
  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
    OpenAIRE UsageCounts
    Usage byUsageCounts
    visibility views 2
  • 2
    views
    Powered byOpenAIRE UsageCounts
Powered by OpenAIRE graph
Found an issue? Give us feedback
visibility
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
views
OpenAIRE UsageCountsViews provided by UsageCounts
0
Average
Average
Average
2