Minimum meal frequency calculation [message #11148] |
Tue, 08 November 2016 16:48 |
anuth
Messages: 10 Registered: November 2015 Location: Finland
|
Member |
|
|
Hi again,
Seeking help for the calculation of minimum meal frequency. I am using PDHS2012-13 and analyzing in SPSS. According to the PDHS 2012 report minimum meal frequency for breastfed children is 55.3% and 84.6% for non-breastfed. However my calculation gives 41.5% and 16% respectively.
FYI my syntax as follows:
DATASET ACTIVATE DataSet1.
IF (Age <= 8 & Age >= 6) MMF6to8=M39.
EXECUTE.
IF (Age <= 23 & Age >= 9) MMF9to23=M39.
EXECUTE.
RECODE MMF6to8 (0=0) (1=0) (2 thru Highest=1).
EXECUTE.
RECODE MMF9to23 (0=0) (1 thru 2=0) (3 thru Highest=1).
EXECUTE.
IF (Age <= 23 & Age >= 6) MMF=SUM(MMF6to8,MMF9to23).
EXECUTE.
COMPUTE MMF=SUM(MMF6to8,MMF9to23).
EXECUTE.
DATASET COPY MMF.
DATASET ACTIVATE MMF.
FILTER OFF.
USE ALL.
SELECT IF (Age <= 23 & Age >= 6).
EXECUTE.
DATASET ACTIVATE DataSet1.
DATASET ACTIVATE MMF.
IF (breast = 1) breastfedMMF=MMF = 1.
EXECUTE.
IF (breast = 0) NobreastfedMMF=MMF = 1.
EXECUTE.
RECODE breastfedMMF (SYSMIS=0).
EXECUTE.
RECODE NobreastfedMMF (SYSMIS=0).
EXECUTE.
WEIGHT BY V005.
FREQUENCIES VARIABLES=breastfedMMF
/ORDER=ANALYSIS.
Frequencies
[MMF]
Statistics
breastfedMMF
N Valid 2855250718
Missing 0
breastfedMMF
Frequency Percent Valid Percent Cumulative Percent
Valid 0 1670078411 58,5 58,5 58,5
1 1185172307 41,5 41,5 100,0
Total 2855250718 100,0 100,0
FREQUENCIES VARIABLES=NobreastfedMMF
/ORDER=ANALYSIS.
Frequencies
Statistics
NobreastfedMMF
N Valid 2855250718
Missing 0
NobreastfedMMF
Frequency Percent Valid Percent Cumulative Percent
Valid 0 2397558439 84,0 84,0 84,0
1 457692279 16,0 16,0 100,0
Total 2855250718 100,0 100,0
Thanks a lot in advance.
anuth.
A
|
|
|