Man pages for evanjflack/polypharmacy
Behavioral Hazard and Patient Decision Making

bin_variableBin a numeric variable
bootstrap_fs_perc_changeBootstrap SE Percentage Change Models
calc_cmeanCalculate conditional sample means and standard errors
calc_initial_spendingCalculate Initial Spending (New Enrollees)
calc_norm_percCalculate normalized percentage
calc_spending_by_monthCalculate New Enrollee Part D Spending by Month
calc_spending_by_month_brandCalculate New Enrollee Part D Spending by Month and...
calc_spending_in_classCalculate Spending within a Class
calc_year_1_2_diffCalculate year 1/2 differences
calibrate_riskCalibrate Acute Event Prediction
cfo.behavioral" package
clean_fit_dtFormat fit data.table
combCombine list of data.tables into one data.table
create_diag_indicatorsCreate IP Diagnosis Indicators
create_mortality_outcomesCreat New Enrollee Mortality Outcomes
create_prcdr_indicatorsCreate IP Procedure Indicators
end_log_fileEnd a .log file
estimate_fs_perc_changeEstimate FS Coefficient (Percentage Change)
estimate_fs_rawEstimate First Stage Coefficients
estimate_year_1_2_diffEstimate year 1 to 2 usage differencs
estimate_year_1_2_diff_pooledEstimate pooled year 1 to 2 usage differencs
evaluate_ensembleEvaluate ML Ensemble Model Predictions
fill_in_zerosAdd rows and fill 0s
fit_first_stage_perc_changeEstimate Percentage Change
fit_first_stage_priceFit first stage price
fit_first_stage_rawEstimate First Stage
fit_to_dtFormat (specific) linear fit output as a data.table
get_train_indGet Indicies of Training Sample
indicate_initial_atcCreate Initial ATC Indicators (New Enrollees)
iterate_2slsEstimate 2SLS Mortality Model
iterate_priceIterate Price
make_class_indicatorsMake ATC Indicators
make_formulaMake Formula
paste_factorMake a variable a factor for a formula
prep_fs_elasticity_dataPrep Data
prep_price_dataPrep Price Data
read_and_combineCombine multiple years of data into one data.table
reshape_month_levelReseahpe wide data from BSF file to long
return_g_rxcuiXwalk ATC4 to Generic RXCUI
sparsifyIteratively make a matrix sparse
start_log_fileStart a .log file
subset_sampleSubset to analystic sample
unpack_ipUnpack IP Claims (Acute Outcomes)
unpack_optUnpack command line options
evanjflack/polypharmacy documentation built on Oct. 12, 2020, 10:45 a.m.