Last active
March 6, 2019 21:29
-
-
Save nathansutton/128336e2c1924fd946dbc8bc9bf6bd0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{sql connection=connection} | |
create view vw_model as | |
select | |
visit_occurrence_id | |
,person_id | |
,1.0 - 1.0 / (1.0 + EXP((-2.95983732216539) + (readmit_030_flg * 0.477723271743372) + (readmit_360_flg * 0.531143494501182) + (icd_history_518 * 0.651130360976662))) as risk | |
from vw_baseline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment