You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed values of 'Inf' in the output file. This should not happen. Its happening when a persons denominator start_date = end_date make denominator = 0
I think we should add where clause to remove records that are contributing 0 to the denominator? Plus, if the start_date - end_date then they probably cannot contribute to rate
The text was updated successfully, but these errors were encountered:
I agree that the result returned should never be inf but the datediff function should always return a number and the rate is fixed to 365.25. 0/365 = 0 - which is 0 - not undefined so this is a really result weird. The only way this ratio can result in Inf is if the DATEDIFF is Inf - which i can believe happens on some platforms if one of the dates is null maybe?
I observed values of 'Inf' in the output file. This should not happen. Its happening when a persons denominator start_date = end_date make denominator = 0
CohortDiagnostics/inst/sql/sql_server/ComputeIncidenceRates.sql
Line 47 in ea6b5f8
I think we should add where clause to remove records that are contributing 0 to the denominator? Plus, if the start_date - end_date then they probably cannot contribute to rate
The text was updated successfully, but these errors were encountered: