-
Notifications
You must be signed in to change notification settings - Fork 28
Update FCSN-indicator-calculation.sps #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@odai-saleh for your review
| *** In cases where 0 consumption of main group automatically codes subgroup values as missing, recoding to 0 consumption | ||
|
|
||
| RECODE FCSNPrMeatO FCSNPrMeatF FCSNPrFish FCSNPrEggs FCSNVegOrg FCSNVegGre FCSNFruiOrg (SYSMIS = 0). | ||
| EXECUTE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing data imputation step: is it safe to assume every missing is 0?
| *** Harmonize Data Quality Guidance measures | ||
| *** Clean impossible values | ||
|
|
||
| *** Define labels | ||
|
|
||
| Variable labels | ||
| FCSNPrMeatF "Consumption in past 7 days: Flesh meat" | ||
| FCSNPrMeatO "Consumption in past 7 days: Organ meat" | ||
| FCSNPrFish "Consumption in past 7 days: Fish/shellfish" | ||
| FCSNPrEggs "Consumption in past 7 days: Eggs" | ||
| FCSNVegOrg "Consumption in past 7 days: Orange vegetables (vegetables rich in Vitamin A)" | ||
| FCSNVegGre "Consumption in past 7 days: Green leafy vegetables" | ||
| FCSNFruiOrg "Consumption in past 7 days: Orange fruits (Fruits rich in Vitamin A)". | ||
|
|
||
| *** Recode "n/a" values to 0 and change variable type to numeric | ||
|
|
||
| ALTER TYPE FCSNPrMeatF FCSNPrMeatO FCSNPrFish FCSNPrEggs FCSNVegOrg FCSNVegGre FCSNFruiOrg (a5). | ||
|
|
||
| RECODE FCSNPrMeatF FCSNPrMeatO FCSNPrFish FCSNPrEggs FCSNVegOrg FCSNVegGre FCSNFruiOrg | ||
| ('n/a'='0'). | ||
| RECODE FCSNPrMeatF FCSNPrMeatO FCSNPrFish FCSNPrEggs FCSNVegOrg FCSNVegGre FCSNFruiOrg (LOWEST THRU -1 = SYSMIS). | ||
| RECODE FCSNPrMeatF FCSNPrMeatO FCSNPrFish FCSNPrEggs FCSNVegOrg FCSNVegGre FCSNFruiOrg (8 THRU HIGHEST = SYSMIS). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the logical data cleaning step
| *** Check flagged cases | ||
|
|
||
| FREQUENCIES VARIABLES = FCSN_flag_protein FCSN_flag_veg FCSN_flag_fruit | ||
| /ORDER = ANALYSIS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of logical data cleaning steps
| VARIABLE LABELS Haem_iron_Cat 'Household consumption of haem iron'. | ||
| VALUE LABELS Haem_iron_Cat | ||
| 1 '0 time (never consumed)' | ||
| 2 '1-6 times (consumed sometimes)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More of a question on the construction of the index, nothing to be addressed during review but for potential additional revision.
Being built on less categories (just 3), the value "7" is very high to reach. Are there any studies on the validation of this Iron intake approach and thresholds? (e.g.: sensitivity analysis)
Drafting a research question and finding a University Master/PhD student to perform robustness and sensitivity analysis on the choice of the thresholds this should be relatively straightforward.
No description provided.