ASSUMPTIONS
Checks the assumptions of a planned analysis — normality, equal variances, homoscedasticity, linearity, multicollinearity, independence, outliers, expected counts — with a Met / Questionable / Violated verdict per check and advice for every check that is not met.
Syntax
Section titled “Syntax”ASSUMPTIONS varlist [BY factor[(code code …)] [factor2]] [WITH varlist] [/MODEL=ONESAMPLE|TTEST|PAIRED|ANOVA|REGRESSION|CORRELATION|LOGISTIC|CHISQUARE] [/ALPHA=.05] [/MISSING=LISTWISE|INCLUDE].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /ALPHA, /MISSING, /MODEL |
| Menu | Analyze ▸ Descriptive Statistics |
| Slot: Dependent / test variable(s) | 1+ variable(s); levels: nominal, ordinal, scale; types: numeric, string |
| Slot: Grouping factor(s) | 0–2 variable(s); levels: nominal, ordinal, scale; types: numeric, string |
| Slot: Predictors / covariates | 0+ variable(s); levels: scale, ordinal, nominal; types: numeric |
Specifications
Section titled “Specifications”- MODEL: the planned analysis. Without it: BY with one two-group factor → TTEST, other BY → ANOVA, WITH and a two-valued dependent → LOGISTIC, other WITH → REGRESSION, two variables → CORRELATION, one variable → ONESAMPLE. PAIRED and CHISQUARE must be named
- ALPHA: significance level for the verdicts (default .05)
- MISSING: LISTWISE (default) or INCLUDE user-missing values
Examples
Section titled “Examples”ASSUMPTIONS score BY group(1 2) /MODEL=TTEST.ASSUMPTIONS salary WITH age tenure training /MODEL=REGRESSION.ASSUMPTIONS left WITH age salary /MODEL=LOGISTIC.ASSUMPTIONS smoker BY region /MODEL=CHISQUARE.- Normality: Shapiro-Wilk up to 5000 cases, D’Agostino-Pearson above; with more than 300 cases a significant test is Questionable unless |skewness| > 2 or |excess kurtosis| > 7.
- Homogeneity of variance uses Levene’s test centred on the median (Brown-Forsythe) for the verdict.
- Regression adds Breusch-Pagan, Ramsey RESET, VIF, Durbin-Watson, studentized residuals and Cook’s distance; logistic regression adds events per variable, separation and the Box-Tidwell test.
- Codes after the factor keep only those groups, as in T-TEST GROUPS=.
- Frequency weights are honoured by replicating cases (non-integer weights are rounded).
Related
Section titled “Related”EXAMINE, T-TEST, ONEWAY, REGRESSION, LOGISTIC REGRESSION, CROSSTABS
Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.