error: not enough array elements

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Dima
Posts: 1
Joined: Fri Jun 16, 2017 7:09 am

error: not enough array elements

Postby Dima » Fri Jun 16, 2017 8:09 am

Hi,
I am trying to run a multinomial multilevel model with random intercept. Here is the syntax I use.
GENLINMIXED
/DATA_STRUCTURE SUBJECTS=cntry
/FIELDS TARGET=class TRIALS=NONE OFFSET=NONE
/TARGET_OPTIONS REFERENCE=3 DISTRIBUTION=MULTINOMIAL LINK=LOGIT
/FIXED EFFECTS=eduyrs lrscale migr USE_INTERCEPT=FALSE
/RANDOM USE_INTERCEPT=TRUE COVARIANCE_TYPE=VARIANCE_COMPONENTS
/RANDOM USE_INTERCEPT=TRUE COVARIANCE_TYPE=VARIANCE_COMPONENTS
/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_OPTIONS SCALE=ORIGINAL PADJUST=LSD.

However, the software produces no output and I get this error message below. From what I can see “not enough array elements” is the main issue, though not sure what this means. Any advice on how to solve this issue will be highly appreciated.


Warnings
Frequency weight data values must be positive integers.
Positive non-integer frequency weight data values are encountered. These values are rounded to the nearest integers for the analysis.
glmm: At least one duplicate random effects block found. All duplicate random effects blocks will be ignored.
glmm: One or more records are not used in the analysis because they have one or more fields with invalid or missing values.
glmm: The final Hessian matrix is not positive definite although all convergence criteria are satisfied. The procedure continues despite this warning. Subsequent results produced are based on the last iteration. Validity of the model fit is uncertain.
not enough array elements
Execution of this command stops.

Who is online

Users browsing this forum: No registered users and 2 guests

cron