Skip to content

Commit

Permalink
Update hrg.do
Browse files Browse the repository at this point in the history
  • Loading branch information
viyaasan committed Aug 29, 2024
1 parent 4270bfc commit 21e9b5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions analysis/hrg.do
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ qui safecount if ckd_group==`i' & `hrg'_count==1
local `hrg'_count_`i' = round(r(N),5)
qui su total_`var' if ckd_group==`i'
local `var'_`i' = r(mean)
}
}
if ``hrg'_count_`i'' >5 & ``hrg'_count_`i''!=. {
file write tablecontent _tab (``hrg'_count_`i'') _tab (``hrg'_admissions_`i'') _tab (``hrg'_days_`i'')
}
else {
file write tablecontent _tab ("REDACTED") _tab ("REDACTED") _tab ("REDACTED")
}
}
}
file write tablecontent _n
}

Expand Down

0 comments on commit 21e9b5b

Please sign in to comment.