***Geeske Peeters; March 2009***. *Outcome measure falls. *--------------------------------------------------------------------------------------------------------------------------------* * 1. syntax to determine fallers over three years period. *2. syntax to determine time to first fall. *--------------------------------------------------------------------------------------------------------------------------------* ****1. syntax to determine fallers ****. *Open lasaco01.sav. GET FILE='N:\Geeske\LASA\data\originelen\LASACO01.SAV'. ****Faller (yes/no) in each period******. ***Open file LASAO01. Compute valper01=-2. if (status01>6) valper01=-999. if (status01 le 6) and (week001=1 or week002=1 or week003=1 or week004=1 or week005=1 or week006=1 or week007=1 or week008=1 or week009=1 or week010=1 or week011=1 or week012=1 or week013=1) valper01=1. if (status01 le 6 and week001=0 and week002=0 and week003=0 and week004=0 and week005=0 and week006=0 and week007=0 and week008=0 and week009=0 and week010=0 and week011=0 and week012=0 and week013=0) valper01=0. var labels valper01 'faller in period 1'. val labels valper01 0 'no' 1 'yes'. missing values valper01 (-999). exec. freq valper01. Compute valper02=-2. if (status02>6) valper02=-999. if (status02 le 6) and (week014=1 or week015=1 or week016=1 or week017=1 or week018=1 or week019=1 or week020=1 or week021=1 or week022=1 or week023=1 or week024=1 or week025=1 or week026=1) valper02=1. if (status02 le 6 and week014=0 and week015=0 and week016=0 and week017=0 and week018=0 and week019=0 and week020=0 and week021=0 and week022=0 and week023=0 and week024=0 and week025=0 and week026=0) valper02=0. var labels valper02 'faller in period 2'. val labels valper02 0 'no' 1 'yes'. missing values valper02 (-999). exec. freq valper02. Compute valper03=-2. if (status03>6) valper03=-999. if (status03 le 6) and (week027=1 or week028=1 or week029=1 or week030=1 or week031=1 or week032=1 or week033=1 or week034=1 or week035=1 or week036=1 or week037=1 or week038=1 or week039=1) valper03=1. if (status03 le 6 and week027=0 and week028=0 and week029=0 and week030=0 and week031=0 and week032=0 and week033=0 and week034=0 and week035=0 and week036=0 and week037=0 and week038=0 and week039=0) valper03=0. var labels valper03 'faller in period 3'. val labels valper03 0 'no' 1 'yes'. missing values valper03 (-999). exec. freq valper03. Compute valper04=-2. if (status04>6) valper04=-999. if (status04 le 6) and (week040=1 or week041=1 or week042=1 or week043=1 or week044=1 or week045=1 or week046=1 or week047=1 or week048=1 or week049=1 or week050=1 or week051=1 or week052=1) valper04=1. if (status04 le 6 and week040=0 and week041=0 and week042=0 and week043=0 and week044=0 and week045=0 and week046=0 and week047=0 and week048=0 and week049=0 and week050=0 and week051=0 and week052=0) valper04=0. var labels valper04 'faller in period 4'. val labels valper04 0 'no' 1 'yes'. missing values valper04 (-999). exec. freq valper04. Compute valper05=-2. if (status05>6) valper05=-999. if (status05 le 6) and (week053=1 or week054=1 or week055=1 or week056=1 or week057=1 or week058=1 or week059=1 or week060=1 or week061=1 or week062=1 or week063=1 or week064=1 or week065=1) valper05=1. if (status05 le 6 and week053=0 and week054=0 and week055=0 and week056=0 and week057=0 and week058=0 and week059=0 and week060=0 and week061=0 and week062=0 and week063=0 and week064=0 and week065=0) valper05=0. var labels valper05 'faller in period 5'. val labels valper05 0 'no' 1 'yes'. missing values valper05 (-999). exec. freq valper05. Compute valper06=-2. if (status06>6) valper06=-999. if (status06 le 6) and (week066=1 or week067=1 or week068=1 or week069=1 or week070=1 or week071=1 or week072=1 or week073=1 or week074=1 or week075=1 or week076=1 or week077=1 or week078=1) valper06=1. if (status06 le 6 and week066=0 and week067=0 and week068=0 and week069=0 and week070=0 and week071=0 and week072=0 and week073=0 and week074=0 and week075=0 and week076=0 and week077=0 and week078=0) valper06=0. var labels valper06 'faller in period 6'. val labels valper06 0 'no' 1 'yes'. missing values valper06 (-999). exec. freq valper06. Compute valper07=-2. if (status07>6) valper07=-999. if (status07 le 6) and (week079=1 or week080=1 or week081=1 or week082=1 or week083=1 or week084=1 or week085=1 or week086=1 or week087=1 or week088=1 or week089=1 or week090=1 or week091=1) valper07=1. if (status07 le 6 and week079=0 and week080=0 and week081=0 and week082=0 and week083=0 and week084=0 and week085=0 and week086=0 and week087=0 and week088=0 and week089=0 and week090=0 and week091=0) valper07=0. var labels valper07 'faller in period 7'. val labels valper07 0 'no' 1 'yes'. missing values valper07 (-999). exec. freq valper07. Compute valper08=-2. if (status08>6) valper08=-999. if (status08 le 6) and (week092=1 or week093=1 or week094=1 or week095=1 or week096=1 or week097=1 or week098=1 or week099=1 or week100=1 or week101=1 or week102=1 or week103=1 or week104=1) valper08=1. if (status08 le 6 and week092=0 and week093=0 and week094=0 and week095=0 and week096=0 and week097=0 and week098=0 and week099=0 and week100=0 and week101=0 and week102=0 and week103=0 and week104=0) valper08=0. var labels valper08 'faller in period 8'. val labels valper08 0 'no' 1 'yes'. missing values valper08 (-999). exec. freq valper08. Compute valper09=-2. if (status09>6) valper09=-999. if (status09 le 6) and (week105=1 or week106=1 or week107=1 or week108=1 or week109=1 or week110=1 or week111=1 or week112=1 or week113=1 or week114=1 or week115=1 or week116=1 or week117=1) valper09=1. if (status09 le 6 and week105=0 and week106=0 and week107=0 and week108=0 and week109=0 and week110=0 and week111=0 and week112=0 and week113=0 and week114=0 and week115=0 and week116=0 and week117=0) valper09=0. var labels valper09 'faller in period 9'. val labels valper09 0 'no' 1 'yes'. missing values valper09 (-999). exec. freq valper09. Compute valper10=-2. if (status10>6) valper10=-999. if (status10 le 6) and (week118=1 or week119=1 or week120=1 or week121=1 or week122=1 or week123=1 or week124=1 or week125=1 or week126=1 or week127=1 or week128=1 or week129=1 or week130=1) valper10=1. if (status10 le 6 and week118=0 and week119=0 and week120=0 and week121=0 and week122=0 and week123=0 and week124=0 and week125=0 and week126=0 and week127=0 and week128=0 and week129=0 and week130=0) valper10=0. var labels valper10 'faller in period 10'. val labels valper10 0 'no' 1 'yes'. missing values valper10 (-999). exec. freq valper10. Compute valper11=-2. if (status11> 6) valper11=-999. if (status11 le 6) and (week131=1 or week132=1 or week133=1 or week134=1 or week135=1 or week136=1 or week137=1 or week138=1 or week139=1 or week140=1 or week141=1 or week142=1 or week143=1) valper11=1. if (status11 le 6 and week131=0 and week132=0 and week133=0 and week134=0 and week135=0 and week136=0 and week137=0 and week138=0 and week139=0 and week140=0 and week141=0 and week142=0 and week143=0) valper11=0. var labels valper11 'faller in period 11'. val labels valper11 0 'no' 1 'yes'. missing values valper11 (-999). exec. freq valper11. Compute valper12=-2. if (status12 > 6 or status12=2) valper12=-999. if (status12 le 6) and (week144=1 or week145=1 or week146=1 or week147=1 or week148=1 or week149=1 or week150=1 or week151=1 or week152=1 or week153=1 or week154=1 or week155=1 or week156=1) valper12=1. if (status12 le 6 and week144=0 and week145=0 and week146=0 and week147=0 and week148=0 and week149=0 and week150=0 and week151=0 and week152=0 and week153=0 and week154=0 and week155=0 and week156=0) valper12=0. var labels valper12 'faller in period 12'. val labels valper12 0 'no' 1 'yes'. missing values valper12 (-999). exec. freq valper12. ***Status faller: yes/no ---> pp are included until the first missing calendar sheet. Compute fall1=$SYSMIS. If (missing(valper01)) fall1=-999. If (valper01=0) fall1=0. If (valper01=1) fall1=1. If (~missing(valper01) and valper01=0 and valper02=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and valper01=0 and valper02=0 and valper03=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and valper01=0 and valper02=0 and valper03=0 and valper04=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and ~missing(valper07) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=0 and valper08=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and ~missing(valper07) and ~missing(valper08) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=0 and valper08=0 and valper09=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and ~missing(valper07) and ~missing(valper08) and ~missing(valper09) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=0 and valper08=0 and valper09=0 and valper10=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and ~missing(valper07) and ~missing(valper08) and ~missing(valper09) and ~missing(valper10) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=0 and valper08=0 and valper09=0 and valper10=0 and valper11=1) fall1=1. If (~missing(valper01) and ~missing(valper02) and ~missing(valper03) and ~missing(valper04) and ~missing(valper05) and ~missing(valper06) and ~missing(valper07) and ~missing(valper08) and ~missing(valper09) and ~missing(valper10) and ~missing(valper11) and valper01=0 and valper02=0 and valper03=0 and valper04=0 and valper05=0 and valper06=0 and valper07=0 and valper08=0 and valper09=0 and valper10=0 and valper11=0 and valper12=1) fall1=1. var label fall1 'status first fall: yes/no'. val label fall1 0 'no' 1 'yes' -999 'missing'. missing values fall1 (-999). execute. fre fall1. list respnr valper01 valper02 valper03 valper04 valper05 valper06 fall1. SAVE OUTFILE='N:\Geeske\LASA\data\originelen\LASACO01.SAV' /COMPRESSED. **----------------------------------------------------------------------------------------------------------. ***2. Syntax to determine time to first fall***. Compute TTF1=$SYSMIS. if (fall1>=0) TTF1=156. if (week001=1) TTF1=1. if (week002=1 and TTF1=156) TTF1=2. if (week003=1 and TTF1=156) TTF1=3. if (week004=1 and TTF1=156) TTF1=4. if (week005=1 and TTF1=156) TTF1=5. if (week006=1 and TTF1=156) TTF1=6. if (week007=1 and TTF1=156) TTF1=7. if (week008=1 and TTF1=156) TTF1=8. if (week009=1 and TTF1=156) TTF1=9. if (week010=1 and TTF1=156) TTF1=10. if (week011=1 and TTF1=156) TTF1=11. if (week012=1 and TTF1=156) TTF1=12. if (week013=1 and TTF1=156) TTF1=13. if (week014=1 and TTF1=156) TTF1=14. if (week015=1 and TTF1=156) TTF1=15. if (week016=1 and TTF1=156) TTF1=16. if (week017=1 and TTF1=156) TTF1=17. if (week018=1 and TTF1=156) TTF1=18. if (week019=1 and TTF1=156) TTF1=19. if (week020=1 and TTF1=156) TTF1=20. if (week021=1 and TTF1=156) TTF1=21. if (week022=1 and TTF1=156) TTF1=22. if (week023=1 and TTF1=156) TTF1=23. if (week024=1 and TTF1=156) TTF1=24. if (week025=1 and TTF1=156) TTF1=25. if (week026=1 and TTF1=156) TTF1=26. if (week027=1 and TTF1=156) TTF1=27. if (week028=1 and TTF1=156) TTF1=28. if (week029=1 and TTF1=156) TTF1=29. if (week030=1 and TTF1=156) TTF1=30. if (week031=1 and TTF1=156) TTF1=31. if (week032=1 and TTF1=156) TTF1=32. if (week033=1 and TTF1=156) TTF1=33. if (week034=1 and TTF1=156) TTF1=34. if (week035=1 and TTF1=156) TTF1=35. if (week036=1 and TTF1=156) TTF1=36. if (week037=1 and TTF1=156) TTF1=37. if (week038=1 and TTF1=156) TTF1=38. if (week039=1 and TTF1=156) TTF1=39. if (week040=1 and TTF1=156) TTF1=40. if (week041=1 and TTF1=156) TTF1=41. if (week042=1 and TTF1=156) TTF1=42. if (week043=1 and TTF1=156) TTF1=43. if (week044=1 and TTF1=156) TTF1=44. if (week045=1 and TTF1=156) TTF1=45. if (week046=1 and TTF1=156) TTF1=46. if (week047=1 and TTF1=156) TTF1=47. if (week048=1 and TTF1=156) TTF1=48. if (week049=1 and TTF1=156) TTF1=49. if (week050=1 and TTF1=156) TTF1=50. if (week051=1 and TTF1=156) TTF1=51. if (week052=1 and TTF1=156) TTF1=52. if (week053=1 and TTF1=156) TTF1=53. if (week054=1 and TTF1=156) TTF1=54. if (week055=1 and TTF1=156) TTF1=55. if (week056=1 and TTF1=156) TTF1=56. if (week057=1 and TTF1=156) TTF1=57. if (week058=1 and TTF1=156) TTF1=58. if (week059=1 and TTF1=156) TTF1=59. if (week060=1 and TTF1=156) TTF1=60. if (week061=1 and TTF1=156) TTF1=61. if (week062=1 and TTF1=156) TTF1=62. if (week063=1 and TTF1=156) TTF1=63. if (week064=1 and TTF1=156) TTF1=64. if (week065=1 and TTF1=156) TTF1=65. if (week066=1 and TTF1=156) TTF1=66. if (week067=1 and TTF1=156) TTF1=67. if (week068=1 and TTF1=156) TTF1=68. if (week069=1 and TTF1=156) TTF1=69. if (week070=1 and TTF1=156) TTF1=70. if (week071=1 and TTF1=156) TTF1=71. if (week072=1 and TTF1=156) TTF1=72. if (week073=1 and TTF1=156) TTF1=73. if (week074=1 and TTF1=156) TTF1=74. if (week075=1 and TTF1=156) TTF1=75. if (week076=1 and TTF1=156) TTF1=76. if (week077=1 and TTF1=156) TTF1=77. if (week078=1 and TTF1=156) TTF1=78. if (week079=1 and TTF1=156) TTF1=79. if (week080=1 and TTF1=156) TTF1=80. if (week081=1 and TTF1=156) TTF1=81. if (week082=1 and TTF1=156) TTF1=82. if (week083=1 and TTF1=156) TTF1=83. if (week084=1 and TTF1=156) TTF1=84. if (week085=1 and TTF1=156) TTF1=85. if (week086=1 and TTF1=156) TTF1=86. if (week087=1 and TTF1=156) TTF1=87. if (week088=1 and TTF1=156) TTF1=88. if (week089=1 and TTF1=156) TTF1=89. if (week090=1 and TTF1=156) TTF1=90. if (week091=1 and TTF1=156) TTF1=91. if (week092=1 and TTF1=156) TTF1=92. if (week093=1 and TTF1=156) TTF1=93. if (week094=1 and TTF1=156) TTF1=94. if (week095=1 and TTF1=156) TTF1=95. if (week096=1 and TTF1=156) TTF1=96. if (week097=1 and TTF1=156) TTF1=97. if (week098=1 and TTF1=156) TTF1=98. if (week099=1 and TTF1=156) TTF1=99. if (week100=1 and TTF1=156) TTF1=100. if (week101=1 and TTF1=156) TTF1=101. if (week102=1 and TTF1=156) TTF1=102. if (week103=1 and TTF1=156) TTF1=103. if (week104=1 and TTF1=156) TTF1=104. if (week105=1 and TTF1=156) TTF1=105. if (week106=1 and TTF1=156) TTF1=106. if (week107=1 and TTF1=156) TTF1=107. if (week108=1 and TTF1=156) TTF1=108. if (week109=1 and TTF1=156) TTF1=109. if (week110=1 and TTF1=156) TTF1=110. if (week111=1 and TTF1=156) TTF1=111. if (week112=1 and TTF1=156) TTF1=112. if (week113=1 and TTF1=156) TTF1=113. if (week114=1 and TTF1=156) TTF1=114. if (week115=1 and TTF1=156) TTF1=115. if (week116=1 and TTF1=156) TTF1=116. if (week117=1 and TTF1=156) TTF1=117. if (week118=1 and TTF1=156) TTF1=118. if (week119=1 and TTF1=156) TTF1=119. if (week120=1 and TTF1=156) TTF1=120. if (week121=1 and TTF1=156) TTF1=121. if (week122=1 and TTF1=156) TTF1=122. if (week123=1 and TTF1=156) TTF1=123. if (week124=1 and TTF1=156) TTF1=124. if (week125=1 and TTF1=156) TTF1=125. if (week126=1 and TTF1=156) TTF1=126. if (week127=1 and TTF1=156) TTF1=127. if (week128=1 and TTF1=156) TTF1=128. if (week129=1 and TTF1=156) TTF1=129. if (week130=1 and TTF1=156) TTF1=130. if (week131=1 and TTF1=156) TTF1=131. if (week132=1 and TTF1=156) TTF1=132. if (week133=1 and TTF1=156) TTF1=133. if (week134=1 and TTF1=156) TTF1=134. if (week135=1 and TTF1=156) TTF1=135. if (week136=1 and TTF1=156) TTF1=136. if (week137=1 and TTF1=156) TTF1=137. if (week138=1 and TTF1=156) TTF1=138. if (week139=1 and TTF1=156) TTF1=139. if (week140=1 and TTF1=156) TTF1=140. if (week141=1 and TTF1=156) TTF1=141. if (week142=1 and TTF1=156) TTF1=142. if (week143=1 and TTF1=156) TTF1=143. if (week144=1 and TTF1=156) TTF1=144. if (week145=1 and TTF1=156) TTF1=145. if (week146=1 and TTF1=156) TTF1=146. if (week147=1 and TTF1=156) TTF1=147. if (week148=1 and TTF1=156) TTF1=148. if (week149=1 and TTF1=156) TTF1=149. if (week150=1 and TTF1=156) TTF1=150. if (week151=1 and TTF1=156) TTF1=151. if (week152=1 and TTF1=156) TTF1=152. if (week153=1 and TTF1=156) TTF1=153. if (week154=1 and TTF1=156) TTF1=154. if (week155=1 and TTF1=156) TTF1=155. var label TTF1 'Time to first fall in 3 years'. Execute. fre TTF1 fall1. SAVE OUTFILE='N:\Geeske\LASA\data\originelen\LASACO01.SAV' /COMPRESSED. *Gebruik nu LASAO00.sav, in dit bestand zijn perioden niet gelijk getrokken*. GET FILE='N:\Geeske\LASA\data\originelen\LASACO00.SAV'. *Gecensureerde data: berekening datum start valkalender*. Compute stdate_d=-2. Compute stdate_m=-2. Compute stdate_y=-2. if (status01=1) stdate_d=1. if (status01=1) stdate_m=10. if (status01=1) stdate_y=1995. if (status01~=1 and status02=1) stdate_d=31. if (status01~=1 and status02=1) stdate_m=12. if (status01~=1 and status02=1) stdate_y=1995. if (status01~=1 and status02~=1 and status03=1) stdate_d=31. if (status01~=1 and status02~=1 and status03=1) stdate_m=3. if (status01~=1 and status02~=1 and status03=1) stdate_y=1996. if (status01~=1 and status02~=1 and status03~=1 and status04=1) stdate_d=30. if (status01~=1 and status02~=1 and status03~=1 and status04=1) stdate_m=6. if (status01~=1 and status02~=1 and status03~=1 and status04=1) stdate_y=1996. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05=1) stdate_d=29. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05=1) stdate_m=9. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05=1) stdate_y=1996. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05~=1 and status06=1) stdate_d=29. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05~=1 and status06=1) stdate_m=12. if (status01~=1 and status02~=1 and status03~=1 and status04~=1 and status05~=1 and status06=1) stdate_y=1996. Missing value stdate_d (-2). Missing value stdate_m (-2). Missing value stdate_y (-2). Variable labels stdate_d 'start fall calendar (day)'. Variable labels stdate_m 'start fall calendar (month)'. Variable labels stdate_y 'start fall calendar (year)'. Execute. *Gecensureerde data: tijd tot weigeringen/ niet in staat / onbereikbaar*. Compute cedate_d=-2. Compute cedate_m=-2. Compute cedate_y=-2. if (status02=97 or status02=98 or status02=99) cedate_d=31. if (status02=97or status02=98 or status02=99) cedate_m=12. if (status02=97or status02=98 or status02=99) cedate_y=1995. if ((status02~=97 and status02~=98 and status02~=99) and (status03=97 or status03=98 or status03=99)) cedate_d=31. if ((status02~=97 and status02~=98 and status02~=99) and (status03=97or status03=98 or status03=99)) cedate_m=3. if ((status02~=97 and status02~=98 and status02~=99) and (status03=97or status03=98 or status03=99)) cedate_y=1996. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04=97 or status04=98 or status04=99)) cedate_d=30. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04=97 or status04=98 or status04=99)) cedate_m=6. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04=97 or status04=98 or status04=99)) cedate_y=1996. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05=97 or status05=98 or status05=99)) cedate_d=29. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05=97 or status05=98 or status05=99)) cedate_m=9. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05=97 or status05=98 or status05=99)) cedate_y=1996. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06=97 or status06=98 or status06=99)) cedate_d=29. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06=97 or status06=98 or status06=99)) cedate_m=12. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06=97 or status06=98 or status06=99)) cedate_y=1996. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07=97 or status07=98 or status07=99)) cedate_d=30. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07=97 or status07=98 or status07=99)) cedate_m=3. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07=97 or status07=98 or status07=99)) cedate_y=1997. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08=97 or status08=98 or status08=99)) cedate_d=29. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08=97 or status08=98 or status08=99)) cedate_m=6. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08=97 or status08=98 or status08=99)) cedate_y=1997. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09=97 or status09=98 or status09=99)) cedate_d=28. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09=97 or status09=98 or status09=99)) cedate_m=9. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09=97 or status09=98 or status09=99)) cedate_y=1997. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10=97 or status10=98 or status10=99)) cedate_d=28. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10=97 or status10=98 or status10=99)) cedate_m=12. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10=97 or status10=98 or status10=99)) cedate_y=1997. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11=97 or status11=98 or status11=99)) cedate_d=29. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11=97 or status11=98 or status11=99)) cedate_m=3. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11=97 or status11=98 or status11=99)) cedate_y=1998. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12=97 or status12=98 or status12=99)) cedate_d=28. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12=97 or status12=98 or status12=99)) cedate_m=6. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12=97 or status12=98 or status12=99)) cedate_y=1998. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13=97 or status13=98 or status13=99)) cedate_d=27. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13=97 or status13=98 or status13=99)) cedate_m=9. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13=97 or status13=98 or status13=99)) cedate_y=1998. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14=97 or status14=98 or status14=99)) cedate_d=27. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14=97 or status14=98 or status14=99)) cedate_m=12. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14=97 or status14=98 or status14=99)) cedate_y=1998. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15=97 or status15=98 or status15=99)) cedate_d=28. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15=97 or status15=98 or status15=99)) cedate_m=3. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15=97 or status15=98 or status15=99)) cedate_y=1999. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97 and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15~=97 and status15~=98 and status15~=99) and (status16=97 or status16=98 or status16=99)) cedate_d=27. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15~=97 and status15~=98 and status15~=99) and (status16=97 or status16=98 or status16=99)) cedate_m=6. if ((status02~=97 and status02~=98 and status02~=99) and (status03~=97and status03~=98 and status03~=99) and (status04~=97 and status04~=98 and status04~=99) and (status05~=97 and status05~=98 and status05~=99) and (status06~=97 and status06~=98 and status06~=99) and (status07~=97 and status07~=98 and status07~=99) and (status08~=97 and status08~=98 and status08~=99) and (status09~=97 and status09~=98 and status09~=99) and (status10~=97 and status10~=98 and status10~=99) and (status11~=97 and status11~=98 and status11~=99) and (status12~=97 and status12~=98 and status12~=99) and (status13~=97 and status13~=98 and status13~=99) and (status14~=97 and status14~=98 and status14~=99) and (status15~=97 and status15~=98 and status15~=99) and (status16=97 or status16=98 or status16=99)) cedate_y=1999. Missing values cedate_d (-2). Missing values cedate_m (-2). Missing values cedate_y (-2). Variable labels cedate_d 'censored refused n.i.s. unreach (day)'. Variable labels cedate_m 'censored refused n.i.s. unreach (month)'. Variable labels cedate_y 'censored refused n.i.s. unreach (year)'. Exec. Format cedate_d cedate_m cedate_y (F2). Exec. *Samenvoegen componenten van data tot complete data. COMPUTE stcode = YRMODA (stdate_y, stdate_m, stdate_d) . EXECUTE . COMPUTE cecode = YRMODA (cedate_y, cedate_m, cedate_d) . EXECUTE . **Berekenen tijd tot aan overlijden. Hiervoor moet je het bestand 'lasaco00.sav' koppelen aan lasade0xxx (overlijdensfollow-up)**. MATCH FILES /FILE=* /TABLE='N:\Geeske\LASA\data\originelen\LADE0706.SAV' /RENAME (cbsdemun cdcertnr cdplace ddate de070601 de_date deathmun deceas decertnr dedate followup lasadata munidata = d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12) /BY respnr /DROP= d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12. EXECUTE. COMPUTE deadcode = YRMODA (dedate_y, dedate_m, dedate_d). EXECUTE . *Verschil berekenen in weken tussen datum overlijden - datum start valkalender *voor respondenten die overleden zijn tijdens val follow-up in 1995-1998*. Compute deadweek=(deadcode-stcode)/7. if (deadweek>0 and deadweek<=156) deadweek=deadweek. if (deadweek<=0 or deadweek>156) deadweek=-2. Missing value deadweek (-2). Variable labels deadweek 'time to dead (weeks)'. Exec. Format deadweek (F2). Exec. * Uitzonderingen: zowel deadweek>0 en censweek>0. * In valbestand uitgevallen (weigering, n.i.s. of niet bereikbaar) en daarna overleden. * in dit geval geldt niet de overlijdingsdatum, maar de datum van uitval op de valkalender*. if (respnr=12089) deadweek= -2. if (respnr=12517) deadweek= -2. if (respnr=12770) deadweek= -2. if (respnr=15977) deadweek= -2. if (respnr=23237) deadweek= -2. if (respnr=25600) deadweek= -2. if (respnr=31545) deadweek= -2. if (respnr=32270) deadweek= -2. if (respnr=33117) deadweek= -2. Exec. *Verschil berekenen in weken tussen datum weig, n.i.s. of onbereikbaar - datum start valkalender *voor respondenten die overleden zijn tijdens val follow-up in 1995-1998*. Compute censweek=(cecode-stcode)/7. if (censweek>0 and censweek<=156) censweek=censweek. if (censweek<=0 or censweek>156) censweek=-2. Missing value censweek (-2). Variable labels censweek 'time to refuse inelligible not contacted (weeks)'. Exec. Format censweek (F2). Exec. * Uitzonderingen: zowel deadweek>0 en censweek>0. *In dezelfde periode is in valbestand ingevoerd (weigering, n.i.s. of niet bereikbaar) *en is de resp overleden. In dit geval geldt de overlijdingsdatum*. if (respnr=11634) censweek=-2. if (respnr=12277) censweek=-2. Exec. *Samenvoegen variabele tijd tot dood en tijd tot weigering, niet in staat en onbereikbaar*. Compute decetime = -2. if (deadweek>0) decetime=deadweek. if (censweek>0) decetime=censweek. Missing values decetime (-2). Variable labels decetime 'time to censored data (weeks)'. Exec. SAVE OUTFILE='N:\Geeske\LASA\data\originelen\LASACO00.SAV' /COMPRESSED. *Variabelen decetime toevoegen aan lasaO01.* GET FILE='N:\Geeske\LASA\data\originelen\LASACO01.SAV'. MATCH FILES /FILE=* /TABLE='N:\Geeske\LASA\data\originelen\lasac000_w.sav' /RENAME (binnen01 binnen02 binnen03 binnen04 binnen05 binnen06 binnen07 binnen08 binnen09 binnen10 binnen11 binnen12 binnen13 binnen14 binnen15 binnen16 breuk01 breuk02 breuk03 breuk04 breuk05 breuk06 breuk07 breuk08 breuk09 breuk10 breuk11 breuk12 breuk13 breuk14 breuk15 breuk16 buiten01 buiten02 buiten03 buiten04 buiten05 buiten06 buiten07 buiten08 buiten09 buiten10 buiten11 buiten12 buiten13 buiten14 buiten15 buiten16 cecode cedate_d cedate_m cedate_y censweek deadcode deadweek dedate_d dedate_m dedate_y f_upstat falls1 indoor inout nfalls outdoor status01 status02 status03 status04 status05 status06 status07 status08 status09 status10 status11 status12 status13 status14 status15 status16 stcode stdate_d stdate_m stdate_y timeall timeRF val1 val10 val100 val101 val102 val103 val104 val105 val106 val107 val108 val109 val11 val110 val111 val112 val113 val114 val115 val116 val117 val118 val119 val12 val120 val121 val122 val123 val124 val125 val126 val127 val128 val129 val13 val130 val131 val132 val133 val134 val135 val136 val137 val138 val139 val14 val140 val141 val142 val143 val144 val145 val146 val147 val148 val149 val15 val150 val151 val152 val153 val154 val155 val156 val157 val158 val159 val16 val160 val161 val162 val163 val164 val165 val166 val167 val168 val169 val17 val170 val171 val172 val173 val174 val175 val176 val177 val178 val179 val18 val180 val181 val182 val183 val184 val185 val186 val187 val188 val189 val19 val190 val191 val192 val193 val194 val195 val196 val197 val198 val199 val2 val20 val200 val201 val202 val203 val204 val205 val206 val207 val208 val21 val22 val23 val24 val25 val26 val27 val28 val29 val3 val30 val31 val32 val33 val34 val35 val36 val37 val38 val39 val4 val40 val41 val42 val43 val44 val45 val46 val47 val48 val49 val5 val50 val51 val52 val53 val54 val55 val56 val57 val58 val59 val6 val60 val61 val62 val63 val64 val65 val66 val67 val68 val69 val7 val70 val71 val72 val73 val74 val75 val76 val77 val78 val79 val8 val80 val81 val82 val83 val84 val85 val86 val87 val88 val89 val9 val90 val91 val92 val93 val94 val95 val96 val97 val98 val99 = d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 d32 d33 d34 d35 d36 d37 d38 d39 d40 d41 d42 d43 d44 d45 d46 d47 d48 d49 d50 d51 d52 d53 d54 d55 d56 d57 d58 d59 d60 d61 d62 d63 d64 d65 d66 d67 d68 d69 d70 d71 d72 d73 d74 d75 d76 d77 d78 d79 d80 d81 d82 d83 d84 d85 d86 d87 d88 d89 d90 d91 d92 d93 d94 d95 d96 d97 d98 d99 d100 d101 d102 d103 d104 d105 d106 d107 d108 d109 d110 d111 d112 d113 d114 d115 d116 d117 d118 d119 d120 d121 d122 d123 d124 d125 d126 d127 d128 d129 d130 d131 d132 d133 d134 d135 d136 d137 d138 d139 d140 d141 d142 d143 d144 d145 d146 d147 d148 d149 d150 d151 d152 d153 d154 d155 d156 d157 d158 d159 d160 d161 d162 d163 d164 d165 d166 d167 d168 d169 d170 d171 d172 d173 d174 d175 d176 d177 d178 d179 d180 d181 d182 d183 d184 d185 d186 d187 d188 d189 d190 d191 d192 d193 d194 d195 d196 d197 d198 d199 d200 d201 d202 d203 d204 d205 d206 d207 d208 d209 d210 d211 d212 d213 d214 d215 d216 d217 d218 d219 d220 d221 d222 d223 d224 d225 d226 d227 d228 d229 d230 d231 d232 d233 d234 d235 d236 d237 d238 d239 d240 d241 d242 d243 d244 d245 d246 d247 d248 d249 d250 d251 d252 d253 d254 d255 d256 d257 d258 d259 d260 d261 d262 d263 d264 d265 d266 d267 d268 d269 d270 d271 d272 d273 d274 d275 d276 d277 d278 d279 d280 d281 d282 d283 d284 d285 d286 d287 d288 d289 d290 d291 d292 d293) /BY respnr /DROP= d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 d32 d33 d34 d35 d36 d37 d38 d39 d40 d41 d42 d43 d44 d45 d46 d47 d48 d49 d50 d51 d52 d53 d54 d55 d56 d57 d58 d59 d60 d61 d62 d63 d64 d65 d66 d67 d68 d69 d70 d71 d72 d73 d74 d75 d76 d77 d78 d79 d80 d81 d82 d83 d84 d85 d86 d87 d88 d89 d90 d91 d92 d93 d94 d95 d96 d97 d98 d99 d100 d101 d102 d103 d104 d105 d106 d107 d108 d109 d110 d111 d112 d113 d114 d115 d116 d117 d118 d119 d120 d121 d122 d123 d124 d125 d126 d127 d128 d129 d130 d131 d132 d133 d134 d135 d136 d137 d138 d139 d140 d141 d142 d143 d144 d145 d146 d147 d148 d149 d150 d151 d152 d153 d154 d155 d156 d157 d158 d159 d160 d161 d162 d163 d164 d165 d166 d167 d168 d169 d170 d171 d172 d173 d174 d175 d176 d177 d178 d179 d180 d181 d182 d183 d184 d185 d186 d187 d188 d189 d190 d191 d192 d193 d194 d195 d196 d197 d198 d199 d200 d201 d202 d203 d204 d205 d206 d207 d208 d209 d210 d211 d212 d213 d214 d215 d216 d217 d218 d219 d220 d221 d222 d223 d224 d225 d226 d227 d228 d229 d230 d231 d232 d233 d234 d235 d236 d237 d238 d239 d240 d241 d242 d243 d244 d245 d246 d247 d248 d249 d250 d251 d252 d253 d254 d255 d256 d257 d258 d259 d260 d261 d262 d263 d264 d265 d266 d267 d268 d269 d270 d271 d272 d273 d274 d275 d276 d277 d278 d279 d280 d281 d282 d283 d284 d285 d286 d287 d288 d289 d290 d291 d292 d293. EXECUTE. if (decetime>0 and (decetime exclusie. If (status01~=1) TTF1c=-999. ***Als de respondent is uitgevallen gedurende de follow-up (ongeacht reden: statusxx~=1) -> tijd tot aan eerste periode geen valinfo . If (status01=1 and status02~=1 and TTF1=156) TTF1c=13. If (status01=1 and status02=1 and status03~=1 and TTF1=156) TTF1c=26. If (status01=1 and status02=1 and status03=1 and status04~=1 and TTF1=156) TTF1c=39. If (status01=1 and status02=1 and status03=1 and status04=1 and status05~=1 and TTF1=156) TTF1c=52. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06~=1 and TTF1=156) TTF1c=65. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07~=1 and TTF1=156) TTF1c=78. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08~=1 and TTF1=156) TTF1c=91. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09~=1 and TTF1=156) timeRF=104. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10~=1 and TTF1=156) TTF1c=117. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10=1 and status11~=1 and TTF1=156) TTF1c=130. If (status01=1 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10=1 and status11=1 and status12~=1 and TTF1=156) TTF1c=143. ***Als de respondent is begonnen aan het eind van periode 1 (status01=4), maar vervolgens wel valinfo levert (status02=1) -> inclusie. If (status01=4 and status02=1) TTF1c=TTF1. If (status01=4 and status02=1 and status03~=1 and TTF1=156) TTF1c=26. If (status01=4 and status02=1 and status03=1 and status04~=1 and TTF1=156) TTF1c=39. If (status01=4 and status02=1 and status03=1 and status04=1 and status05~=1 and TTF1=156) TTF1c=52. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06~=1 and TTF1=156) TTF1c=65. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07~=1 and TTF1=156) TTF1c=78. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08~=1 and TTF1=156) TTF1c=91. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09~=1 and TTF1=156) TTF1c=104. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10~=1 and TTF1=156) TTF1c=117. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10=1 and status11~=1 and TTF1=156) TTF1c=130. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10=1 and status11=1 and status12~=1 and TTF1=156) TTF1c=143. If (status01=4 and status02=1 and status03=1 and status04=1 and status05=1 and status06=1 and status07=1 and status08=1 and status09=1 and status10=1 and status11=1 and status12=1 and status13=1 and TTF1=156) TTF1c=156. var label TTF1c 'time to first fall, after correction for censoring'. execute. If (respnr=11601 or respnr=32478) TTF1c=-999. If (respnr=11601 or respnr=32478) fall1=-999. If (respnr=12150) TTF1c=29. If (respnr=12150) fall1=1. If (respnr=12155) TTF1c=156. If (respnr=12155) fall1=0. If (respnr=12584) TTF1c=27. If (respnr=12584) fall1=1. If (respnr=12896) TTF1c=156. If (respnr=12896) fall1=0. If (respnr=21718) TTF1c=156. If (respnr=21718) fall1=0. If (respnr=24306) TTF1c=132. If (respnr=24306) fall1=0. If (respnr=31738) TTF1c=123. If (respnr=31738) fall1=1. If (respnr=33238) TTF1c=47. If (respnr=33238) fall1=1. execute. fre TTF1 TTF1c. *TTF1 en fall1 op elkaar afstemmen. Compute TTF1=TTF1c. If (TTF1c=-999) fall1=-999. execute. fre TTF1 fall1. SAVE OUTFILE='N:\Geeske\LASA\data\originelen\LASACO01.SAV' /COMPRESSED. ***De samengestelde variabelen fall1 en TTF1 staan kant en klaar in lasaco03.sav.