|
1 | 1 | {smcl}
|
2 |
| -{* *! version 0.3.2 23 Nov 2023}{...} |
| 2 | +{* *! version 0.4.0 23 Jan 2023}{...} |
3 | 3 | {vieweralsosee "" "--"}{...}
|
4 |
| -{vieweralsosee "gigs: Classification functions" "help classify_sga"}{...} |
5 |
| -{viewerjumpto "Syntax" "classify_sga##syntax"}{...} |
6 |
| -{viewerjumpto "Description" "classify_sga##description"}{...} |
7 |
| -{viewerjumpto "Functions" "classify_sga##functions"}{...} |
8 |
| -{viewerjumpto "Options" "classify_sga##options"}{...} |
9 |
| -{viewerjumpto "Remarks" "classify_sga##remarks"}{...} |
10 |
| -{viewerjumpto "Examples" "classify_sga##examples"}{...} |
11 |
| - |
12 |
| -{hi:help classify_sga, help classify_svn, help classify_stunting, help classify_wasting, help classify_wfa}{right: ({browse "https://www.overleaf.com/project/641db63564edd62fb54c963b":SJXX-X: st0001})} |
| 4 | +{vieweralsosee "gigs: Classification functions" "help classify_sfga"}{...} |
| 5 | +{viewerjumpto "Syntax" "classify_sfga##syntax"}{...} |
| 6 | +{viewerjumpto "Description" "classify_sfga##description"}{...} |
| 7 | +{viewerjumpto "Functions" "classify_sfga##functions"}{...} |
| 8 | +{viewerjumpto "Options" "classify_sfga##options"}{...} |
| 9 | +{viewerjumpto "Remarks" "classify_sfga##remarks"}{...} |
| 10 | +{viewerjumpto "Examples" "classify_sfga##examples"}{...} |
| 11 | + |
| 12 | +{hi:help classify_sfga, help classify_svn, help classify_stunting, help classify_wasting, help classify_wfa}{right: ({browse "https://www.overleaf.com/project/641db63564edd62fb54c963b":SJXX-X: st0001})} |
13 | 13 | {hline}
|
14 | 14 |
|
15 | 15 | {title:Title}
|
|
21 | 21 | {title:Syntax}
|
22 | 22 |
|
23 | 23 | {p 8 17 2}{cmd:egen} [{it:{help datatype:type}}] {newvar} {cmd:=}
|
24 |
| -{cmd:classify_sga}{cmd:(}{varname}{cmd:)} |
| 24 | +{cmd:classify_sfga}{cmd:(}{varname}{cmd:)} |
25 | 25 | {ifin}{cmd:,}
|
26 | 26 | {cmdab:gest:_days}{cmd:(}{varname}{cmd:)} {cmdab:sex}{cmd:(}{varname}{cmd:)}
|
27 | 27 | {cmdab:sexc:ode}{cmd:(}{cmdab:m:ale=}{it:code}{cmd:,} {cmdab:f:emale=}{it:code}{cmd:)}
|
|
79 | 79 | {marker functions}{...}
|
80 | 80 | {title:Functions for egen}
|
81 | 81 |
|
82 |
| -{p 4 4 2}{hi:classify_sga(}{varname}{cmd:)} is used to classify size for |
| 82 | +{p 4 4 2}{hi:classify_sfga(}{varname}{cmd:)} is used to classify size for |
83 | 83 | gestational age in newborns according to INTERGROWTH-21st
|
84 | 84 | weight-for-gestational age standards. It produces a variable with the
|
85 | 85 | following values and labels:
|
|
126 | 126 | {col 20}{hline 38}
|
127 | 127 | {col 21}{cmd: -2}{col 27}Severe stunting{col 45}-5 to -3
|
128 | 128 | {col 21}{cmd: -1}{col 27}Stunting {col 45}-3 to -2
|
129 |
| -{col 21}{cmd: 0}{col 27}Normal {col 45}-2 to 5 |
| 129 | +{col 21}{cmd: 0}{col 27}Not stunting {col 45}-2 to 5 |
130 | 130 | {col 21}{cmd:999}{col 27}Outlier {col 45}<-5 or >5
|
131 | 131 |
|
132 | 132 | {pmore}This function takes one argument:
|
|
146 | 146 | {col 20}{hline 38}
|
147 | 147 | {col 21}{cmd: -2}{col 27}Severe wasting{col 45}-5 to -3
|
148 | 148 | {col 21}{cmd: -1}{col 27}Wasting {col 45}-3 to -2
|
149 |
| -{col 21}{cmd: 0}{col 27}Normal {col 45}-2 to 2 |
| 149 | +{col 21}{cmd: 0}{col 27}Not wasting {col 45}-2 to 2 |
150 | 150 | {col 21}{cmd: 1}{col 27}Overweight {col 45}2 to 5
|
151 | 151 | {col 21}{cmd:999}{col 27}Outlier {col 45}<-5 or >5
|
152 | 152 |
|
|
180 | 180 | {dlgtab:Non-specific}
|
181 | 181 |
|
182 | 182 | {phang}{opt gest:_days(varname numeric)} specifies gestational age in days for
|
183 |
| - newborns. In {cmd:classify_sga()} and {cmd:classify_sga()},any value outside |
| 183 | + newborns. In {cmd:classify_sfga()} and {cmd:classify_svn()},any value outside |
184 | 184 | the range of valid gestational ages as specified in the
|
185 | 185 | {help ig_nbs##tab1:ig_nbs() documentation} will return a missing value. In the
|
186 | 186 | other classification functions, this variable is used to compute post-menstrual
|
|
229 | 229 | {marker examples}{...}
|
230 | 230 | {title:Examples}
|
231 | 231 |
|
232 |
| -{pstd}Classifying SGA, where {cmd:sex} contains the codes {cmd:1} and {cmd:2}:{p_end} |
233 |
| -{phang2}{cmd:. egen sga = classify_sga(weight_kg), gest_days(ga_days) sex(sex) sexcode(male=1, female=2)} |
| 232 | +{pstd}Classifying size-for-GA, where {cmd:sex} contains the codes {cmd:1} and {cmd:2}:{p_end} |
| 233 | +{phang2}{cmd:. egen sfga = classify_sfga(weight_kg), gest_days(ga_days) sex(sex) sexcode(male=1, female=2)} |
234 | 234 |
|
235 |
| -{pstd}Include severe SGA classifications with the {opt:severe} option:{p_end} |
236 |
| -{phang2}{cmd:. egen sga = classify_sga(weight_kg), gest_days(ga_days) sex(sex) sexcode(male=1, female=2) severe} |
| 235 | +{pstd}Include severe size-for-GA classifications with the {opt:severe} option:{p_end} |
| 236 | +{phang2}{cmd:. egen sfga = classify_sfga(weight_kg), gest_days(ga_days) sex(sex) sexcode(male=1, female=2) severe} |
237 | 237 |
|
238 | 238 | {pstd}Classifying stunting, where {cmd:sex} contains the codes {cmd:M} and {cmd:F}:{p_end}
|
239 | 239 | {phang2}{cmd:. egen stunting = classify_stunting(weight_kg), gest_days(ga_days) age_days(age) sex(sex) sexcode(male=M, female=F)}
|
|
244 | 244 | {pstd}You can use just the first letters of the {cmd:lenht_cm()}, {cmd:gest_days()}, and {cmd:sexcode()} arguments instead:{p_end}
|
245 | 245 | {phang2}{cmd:. egen wasting = classify_wasting(weight_kg), lenht(lenht_cm) gest(ga_days) age_days(age) sex(sex) sexc(m=Male, f=Female)}
|
246 | 246 |
|
247 |
| -{pstd}Request that gigs classifies outlier/implasuible values with the {opt:outliers} option:{p_end} |
| 247 | +{pstd}Request that gigs classifies outlier/implasuible values with the {cmd:outliers} option:{p_end} |
248 | 248 | {phang2}{cmd:. egen wasting = classify_wasting(weight_kg), lenht(lenht_cm) gest(ga_days) age_days(age) sex(sex) sexc(m=Male, f=Female) outliers}
|
249 | 249 |
|
250 | 250 | {marker authors}{...}
|
|
0 commit comments