sagitechls / SSN_SACE_2017_Jan

0 stars 3 forks source link

EDA + Function:(find_top_candidates) #13

Closed eashwarsiddharth closed 7 years ago

eashwarsiddharth commented 7 years ago

EDA:

-Most doc_ids prescribe more branded drugs than generic ones -Nearly, 51 % of doc_ids don't prescribe generic drugs at all -64.3% of the doc_ids don't seem to prescribe the same brand for a drug... they tend to juggle b/w brands for each prescription ?!

Function:(find_top_candidates)

-Uses 3 custom features to score candidates that are likely to try new_drug -Returns a table with top n values sorted in descending order

Custom Features;

-cost_per_day_per_claim (presc_detail) -switch_chance (calculation based on no. of drugs for which multiple brands are being prescribed instead of single brand) -generic_usage_score (calculated using top1:5 drugs column in PUF_conso)