Missing values oedzwhz,oedzwaz,oedzbmi (999.99). * we copy the zscores to oedema copies for special oedema adjustments later.
![spss 16 syntax spss 16 syntax](https://s3.manualzz.com/store/data/029195839_1-c91e7418f5c39a6d848a2944e25b8c09.png)
MISSING VALUES zwhz,zhaz,zwaz,zbmi (999.99). If ((bmiflag=1) and (whzflag=0) and (hazflag=0) and (wazflag=0)) flagnew=8. If ((zwhz 5) and (zhaz 6 ) and (zwaz 5 ) ) flagnew =7. If ((bmiflag=1) and (whzflag=0) and (hazflag=0) and (wazflag=0)) flag8=1. If ((zwhz 5) and (zhaz 6 ) and (zwaz 5 ) ) flag7 =1. Love\Desktop\ZPR_KIDS\wfhlms.sav" /by sex, height2. Love\Desktop\ZPR_KIDS\tempxx.sav" /table="C:\Users\Dr.
![spss 16 syntax spss 16 syntax](https://i1.wp.com/www.theanalysisfactor.com/images/SPSS_Old_New_Values_Window.jpg)
* lookup z formula for Weight for Height using l, m, s variables. Love\Desktop\ZPR_KIDS\tempxx.sav" /drop = l,m,s. If (zwhzll zscore for lenhigh where lh=lenhigh.Ĭompute zwhzlh=(((weight2/m)**l)-1)/(s*l). Love\Desktop\ZPR_KIDS\wfllms.sav" /by sex, length2. Love\Desktop\ZPR_KIDS.sav" /table="C:\Users\Dr. * lookup z formula for Weight for Length using l, m, s variables. Love\Desktop\ZPR_KIDS.sav" /drop = l,m,s. * next we will get the LMS numbers for lenlow and lenhigh. * so we will remember the original values here. * we will be doing many calculations with length2. * next we will find the upper level on LMS chart.Ĭompute lenhigh=rnd((length2+.05)*10)/10. * above makes double sure it will match lms chart. * first we will find the lower level on LMS chart. * if it does then interpolate on lms table. *next 3 statements keep only what we need (+ bit more, 61 mo), sort, save, and drop unneeded vars. * if not done already, need age in days to compare to norms. * = check inputs and create outputs for dbf file ANTHRO check =.ĭescriptives variables=weight2, length, lenhei2,agedays2,agedays3,agemos /statistics=mean stddev min max. If (missing(agedays2) and missing(lorh) and length=87) uselngth=2. * if age missing and indicator missing, use length of child to figure. If (missing(agedays2) and lorh=1) uselngth=1. If (missing(agedays2) and lorh=2) uselngth=2. If (missing(lorh) and missing(agedays2) and agemos=24) uselngth=2. If (missing(lorh) and agedays2=731) uselngth=2. * if missing the recumbent indicator but have age, we assume they have it right. * if negative age, impute it from months old. * compute days from day interviewed - day born.Ĭompute agedays3=(yrmoda(hc19,hc18,hc17)-yrmoda(hc31,hc30,hc16)). * if day of birth is missing, assumes the 15th. * oedema is not in DHS datasets as of this writing.ĬOMMENT * using RENAME allows value labels to transfer. * delete the above if oedema is in dataset. * DHS regards it as unreliable, so we will use age, or else length, to determine this.
![spss 16 syntax spss 16 syntax](https://www.theanalysisfactor.com/images/SPSS_Recode_window.jpg)
* Note that although DHS has a variable (hc15) to measure lying or standing height(lorh). Title "ZPR_KIDS using WHO Child Growth Standards". What am I doing wrong? Please see the syntax below. Once ran, I do not get any data in the variables assessing stunting, wasting etc. I keep getting error whenever I run the igrowup syntax provided by WHO. Please help! I merged DHS PR and KR data and have been trying to get the prevalence for stunting, underweight, and wasting in children using the 2015-2016 Malawi data. Treatment of missing values in arguments. Random variable and distribution functions. FORTRAN-like Input Format Specifications. String Values in Command Specifications Delimiters. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.Ĭontents Introduction: A Guide to Command SyntaxĪdd-On Modules. Licensed Materials - Property of IBM © Copyright IBM Corporation 1989, 2011. Microsoft product screenshot(s) reprinted with permission from Microsoft Corporation. Adobe product screenshot(s) reprinted with permission from Adobe Systems Incorporated. This edition applies to IBM® SPSS® Statistics 20 and to all subsequent releases and modifications until otherwise indicated in new editions. Note: Before using this information and the product it supports, read the general information under Notices on p.
![spss 16 syntax spss 16 syntax](https://www.macstats.org/web-photos/spss/regression-box.gif)
IBM SPSS Statistics 20 Command Syntax Reference