Skip to content

Commit

Permalink
Update hrg1.do
Browse files Browse the repository at this point in the history
  • Loading branch information
viyaasan committed Sep 4, 2024
1 parent 51b9841 commit 08400aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/hrg1.do
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ forvalues i=1/5 {
qui safecount if ckd_group==`i' & `hrg'_count==1
local `hrg'_count_`i' = round(r(N),5)
qui su total_`hrg'_admissions if ckd_group==`i'
local total_`hrg'_admissions_`i' = r(mean)
local `hrg'_admissions_`i' = r(mean)
if ``hrg'_count_`i'' >5 & ``hrg'_count_`i''!=. {
file write tablecontent _tab (``hrg'_count_`i'') _tab (``hrg'_admissions_`i'')
}
Expand Down

0 comments on commit 08400aa

Please sign in to comment.