Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For WHZ, the introduction suggests that the analysis was done on the SMART flag exclusion dataset, stating: “Exclusion of z-scores from Observed mean SMART flags included, which is inconsistent with the threshold to define the flag – WHZ: <-5 or >5.” According to the SMART Methodology Manual (2017), SMART flags exclude all values outside ±3 Z-scores from the mean of the surveyed population. Note that the anthro_zscores function used in the template identifies WHO flags (variable fwfl) and not SMART flags. While SMART exclusion is the preferred approach according to the SMART survey manual, some nutrition specialists (e.g., JL) suggest that WHO exclusion may be preferable in certain situations. For now, to avoid making extensive changes, perhaps you could keep the data analysis based on WHO flags, and simply correct the ‘SMART flags’ by ‘WHO flags’ in the introduction section.
Possible coding mistake: In this block for the classification of WHZ: There’s a typo (755); it should be zwfl, not zwei.