I’m having trouble getting parameter estimates for cluster-level
variables in a mixed model I’m trying to run. It’s a two-level design: 16
schools, and within them, stores that sell cigarettes nearby. The target is
dichotomous. I have some school-level demographic variables (pop. density,
pct. race/ethnicity), for each of which I need a single parameter estimate
(with sig. & CI).
The problem is that SPSS is giving me separate estimates for these vars
for each of the 16 schools. I need a single parameter estimate for each
school-level var. (e.g., pop. density). I’ve tried every permutation of
var. entry I can think of. Here’s the last syntax I tried (pasted from the
GUI interface):
GENLINMIXED
/DATA_STRUCTURE SUBJECTS=SchoolNum
/FIELDS TARGET=w2_Q22a TRIALS=NONE OFFSET=NONE
/TARGET_OPTIONS DISTRIBUTION=BINOMIAL LINK=LOGIT
/FIXED EFFECTS=Storetype1 Storetype2 Storetype3 Storetype4 Licensed
PopDens1Mile Prcnt_WhtNH1Mile USE_INTERCEPT=TRUE
/RANDOM USE_INTERCEPT=TRUE SUBJECTS=SchoolNum
COVARIANCE_TYPE=VARIANCE_COMPONENTS SOLUTION=TRUE
/BUILD_OPTIONS TARGET_CATEGORY_ORDER=ASCENDING
INPUTS_CATEGORY_ORDER=ASCENDING MAX_ITERATIONS=100
CONFIDENCE_LEVEL=95 DF_METHOD=RESIDUAL COVB=MODEL
PCONVERGE=0.000001(ABSOLUTE) SCORING=0
SINGULAR=0.000000000001
/EMMEANS TABLES=Storetype1 CONTRAST=NONE
/EMMEANS TABLES=Storetype2 CONTRAST=NONE
/EMMEANS TABLES=Storetype3 CONTRAST=NONE
/EMMEANS TABLES=Storetype4 CONTRAST=NONE
/EMMEANS TABLES=Licensed CONTRAST=NONE
/EMMEANS_OPTIONS SCALE=ORIGINAL PADJUST=LSD.
Any advice would be appreciated! I tried entering the school-level
vars as random effects and got the same result (separate parameter estimate
for each school). As others have observed, SPSS’s implementation of mixed
model tests can be confusing, and this is my first one. Also, it looks like
it doesn’t give odds ratios, which is unfortunate. I’m running SPSS v. 25.
--
Sent from:
http://spssx-discussion.1045642.n5.nabble.com/=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD