I am trying to run DeCarlo's (1997) macro for multivariate normality using SPSS version 22. I have used the sample data online (iris) as well as my own data but am getting multiple (and the same) errors in the output regardless which data I use. It appears that most of the output is provided (I've pasted this below), but the graph is not (error statements received with that are provided below as well). I've tried all the reasonable solutions (e.g., moving the files so they are not buried in folders, moved files to different directories, etc.), and I'm sure there is a simple fix to this. I would be happy to forward the syntax and output offline if that may be helpful. Thanks in advance for any assistance.
DeCarlo, L. T. (1997). On the meaning and use of kurtosis. Psychological Methods, 2, 292-307.
----------------------------------------------
Run MATRIX procedure:
Number of observations:
50
Number of variables:
4
Measures and tests of skew:
g1 sqrt(b1) z(b1) p-value
x1 .1201 .1165 .3740 .7084
x2 .0412 .0399 .1285 .8978
x3 .1064 .1032 .3315 .7403
x4 1.2539 1.2159 3.2998 .0010
Measures and tests of kurtosis:
g2 b2-3 z(b2) p-value
x1 -.2527 -.3458 -.2330 .8157
x2 .9547 .7442 1.3961 .1627
x3 1.0216 .8046 1.4585 .1447
x4 1.7191 1.4343 2.0125 .0442
Omnibus tests of normality (both chisq, 2 df):
D'Agostino & Pearson K sq Jarque & Bera LM test
K sq p-value LM p-value
x1 .1942 .9075 .3621 .8344
x2 1.9657 .3742 1.1672 .5579
x3 2.2370 .3268 1.4374 .4874
x4 14.9387 .0006 16.6066 .0002
*************** Multivariate Statistics ***************
Tests of multivariate skew:
Small's test (chisq)
Q1 df p-value
11.0243 4.0000 .0263
Srivastava's test
chi(b1p) df p-value
7.4678 4.0000 .1131
Tests of multivariate kurtosis:
A variant of Small's test (chisq)
VQ2 df p-value
8.5374 4.0000 .0738
Srivastava's test
b2p N(b2p) p-value
3.5988 1.7286 .0839
Mardia's test
b2p N(b2p) p-value
26.5377 1.2950 .1953
Omnibus test of multivariate normality:
(based on Small's test, chisq)
VQ3 df p-value
19.5617 8.0000 .0121
>Error # 34 in column 21. Text: temp
>SPSS Statistics cannot access a file with the given file specification. The
>file specification is either syntactically invalid, specifies an invalid
>drive, specifies a protected directory, specifies a protected file, or
>specifies a non-sharable file.
>Execution of this command stops.
------ END MATRIX -----
----------------------------------------------
These are the error statements with the graph:
>Error # 61 in column 10. Text: temp
>The filename is not valid.
>Execution of this command stops.
>Error # 701 in column 15. Text: top
>An undefined variable name, or a scratch or system variable was specified in a
>variable list which accepts only standard variables. Check spelling and
>verify the existence of this variable.
>Execution of this command stops.
>Error # 4285 in column 7. Text: case
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 19. Text: a01
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 19. Text: a05
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 15. Text: f01
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 15. Text: f05
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 31. Text: fc05
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 31. Text: fc01
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4070. Command name: end if
>The command does not follow an unclosed DO IF command. Maybe the DO IF
>command was not recognized because of an error. Use the level-of-control
>shown to the left of the SPSS Statistics commands to determine the range of
>LOOPs and DO IFs.
>Execution of this command stops.
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
Critical values (Bonferroni) for a single multivar. outlier:
5 observations with largest Mahalanobis distances:
>Error # 4285 in column 7. Text: top
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4285 in column 18. Text: top
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
>Error # 4070. Command name: end if
>The command does not follow an unclosed DO IF command. Maybe the DO IF
>command was not recognized because of an error. Use the level-of-control
>shown to the left of the SPSS Statistics commands to determine the range of
>LOOPs and DO IFs.
>Execution of this command stops.
>Error # 4285 in column 26. Text: rnk
>Incorrect variable name: either the name is more than 64 characters, or it is
>not defined by a previous command.
>Execution of this command stops.
=====================
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