Dear All, I am new to the listserv, so I apologize if this has been covered before. I am trying to create a constant variable for mixed modeling but I can't wrap my head around solving the issue without copying and pasting (not feasible).
|
Dear All, I am new to the listserv, so I
apologize if this has been covered before. I am trying to create a
constant variable for mixed modeling but I can't wrap my head around
solving the issue without copying and pasting (not feasible). I would like to recode group membership so that it is the same at time 0 for the rest of the time values for each case. See below for my current data setup. Your help is most appreciated! Sincerely, Kevin Manning
|
Administrator
|
Does this produce the result you want?
IF MISSING(Group) Group = LAG(Group).
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
Free forum by Nabble | Edit this page |