Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stress Test Contradictions #73

Open
jbabcanec opened this issue Feb 12, 2024 · 1 comment
Open

Stress Test Contradictions #73

jbabcanec opened this issue Feb 12, 2024 · 1 comment

Comments

@jbabcanec
Copy link

I have done some stress testing with the engine and wanted to reveal a couple things. I first constructed an artificial bene generator which pulls from a list of CMS's ICD10 list. This was refined to use combinations of ICDs from this whitepaper:

https://pubmed.ncbi.nlm.nih.gov/35601156/

I used most frequent ICD chapters and combos in generating artificial benes with varying amounts of ICD10s and demographic factors which worked decently well. I was able to test on the order of ~100k examples using your engine to produce risk scores. I set up macros in SAS to do the same type of calculations and produced risk scores and then used proc compare to analyze the results.

When testing this many cases I had around 5% error where scores did not match. Upon investigating this seemed to be due to the way that your engine and CMS's model handles demographic contradictions. (example: male with ovarian cancer, female with testicular cancer). I modified my artificial bene generator to properly bin age/sex ICD10s to appropriate benes which then cleared with no error at the order of ~100k examples.

In conclusion, I have yet to see a realistic example fail however I noticed the presence of demographic contradictions producing different scores.

@yubin-park
Copy link
Owner

@jbabcanec, thanks so much for testing! I am, in fact, in the process of rewriting the entire module, and I would love to hear your thoughts for the new version. Please DM me on LinkedIn https://www.linkedin.com/in/yubin-park-phd/ if that's okay for you. Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants