I'm working with SPSS to run a hierarchical regression analysis.
First, I introduced the control variables. Then, the independent variables and the moderator, and finally the interaction term. The problem is that initially I start with N=3500 cases (only introducing the control variables). However, after including the independent ones I get N=2450... How could I make sure in SPSS that I am always using the same cases in all the models? Thanks a lot! |
Administrator
|
This is untested (no SPSS on this computer), but I believe it will work. For every model in the series...
MIXED Y BY {all factors in the final model} WITH {all covariates in the final model} /FIXED {only fixed effects in the current model} /RANDOM {only random effects in the current model, if any} etc... If that does not work, for some reason, another way is to set a filter before running your series of models. Something like: COMPUTE @f = NMISS(comma-separated list of variables in the full model) EQ 0. USE ALL. FILTER by @f. Then run your series of models. When done, turn the filter off. USE ALL. FILTER OFF. HTH.
--
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/). |
In reply to this post by Student073
Did you put all of the
terms into REGRESSION and then use a set of /enter specifications?
Art Kendall Social Research ConsultantsOn 7/27/2013 4:43 PM, Student073 [via SPSSX Discussion] wrote: I'm working with SPSS to run a hierarchical regression analysis.
Art Kendall
Social Research Consultants |
Administrator
|
Oops...for some reason, I concluded upon first (and apparently not very careful reading) that the OP was using MIXED. If they are using REGRESSION, then Art is spot on. I apologize for any confusion this may have caused.
--
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/). |
Yes, I could solve the problem. Thanks!!
|
Free forum by Nabble | Edit this page |