Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.61.0, release v0.61.0

Procedures

命令功能 {#what-it-does}
FREQUENCIESFrequency tables, summary statistics and percentiles.
DESCRIPTIVESSummary statistics of numeric variables, optionally saved as z-scores.
CROSSTABSContingency tables with percentages, residuals and chi-square tests.
MULT RESPONSEFrequency tables and crosstabulations of multiple response groups and variables.
MEANSStatistics of dependent variables within groups of control variables.
SUMMARIZEStatistics of dependents within groups of control variables, optionally listing the cases.
OLAP CUBESStatistics of scale variables in nested groups, with differences between groups or variables.
CODEBOOKDictionary entries and summary statistics of variables and multiple response sets.
VALIDATEDATAFind suspicious variables, incomplete or duplicate IDs, empty cases and rule violations.
T-TESTOne-sample, independent-samples and paired-samples t tests with effect sizes.
ONEWAYOne-way analysis of variance with contrasts and post hoc comparisons.
CORRELATIONSPearson correlations with significance and case counts.
NONPAR CORRSpearman’s rho and Kendall’s tau-b rank correlations with significance.
PARTIAL CORRPartial correlations of variables controlling for others, with significance.
NPAR TESTSNonparametric tests: one-sample, two and k related samples, two and k independent samples.
NPTESTSNonparametric tests picked by measurement level: one sample, independent samples, related samples.
PROPORTIONSTests and confidence intervals for a proportion or a difference of two proportions.
EXAMINEDescriptives, percentiles, M-estimators, extreme values and normality tests, by factor cells.
REGRESSIONLinear regression with forced entry or removal and stepwise selection, residuals and diagnostics.
RELIABILITYReliability of a scale: Cronbach’s alpha, split-half and other models, item statistics and ICC.
WEIGHTED KAPPACohen’s weighted kappa: how well two raters agree on an ordered scale.
FLEISS MULTIRATER KAPPAFleiss’ kappa: how well several raters agree when they sort subjects into categories.
RATIO STATISTICSStatistics of the ratio of two positive variables, overall and within groups.
BAYES ONESAMPLEBayesian inference on one mean, proportion or Poisson rate: Bayes factors and posteriors.
BAYES RELATEDBayesian inference on the mean difference of paired measurements.
BAYES INDEPENDENTBayesian comparison of the means of two independent groups.
BAYES CORRELATIONBayesian inference on the Pearson correlation of every pair of variables.
BAYES ANOVABayesian one-way analysis of variance: a Bayes factor for the groups and posteriors of their means.
BAYES REGRESSIONBayesian linear regression: a Bayes factor for the model, posteriors, predictions and F tests.
BAYES REPEATEDBayesian one-way repeated measures analysis: a Bayes factor and posteriors of the condition means.
BAYES LOGLINEARBayesian test of independence in a two-way table, with simulated interaction terms.
POWER MEANS ONESAMPLEPower or sample size of a one-sample t-test of a mean.
POWER MEANS INDEPENDENTPower or group sizes of a t-test comparing the means of two independent groups.
POWER MEANS RELATEDPower or number of pairs of a paired t-test.
POWER PROPORTIONS ONESAMPLEPower or sample size of a test of one proportion against a hypothesized value.
POWER PROPORTIONS INDEPENDENTPower or group sizes of a test comparing two independent proportions.
POWER PROPORTIONS RELATEDPower or number of pairs of McNemar’s test of two paired proportions.
POWER ONEWAY ANOVAPower or group sizes of a one-way analysis of variance, its contrasts and pairwise comparisons.
POWER PEARSON ONESAMPLEPower or sample size of a test of one Pearson correlation against a hypothesized value.
POWER SPEARMAN ONESAMPLEPower or sample size of a test of one Spearman rank correlation against a hypothesized value.
POWER PARTIALCORRPower or sample size of a test of one partial correlation against a hypothesized value.
POWER UNIVARIATE LINEARPower or sample size of the F test of a set of predictors in a linear regression.
SIMPLANA simulation plan: distributions of the inputs, fitted to the data or given, their correlations and the targets of a model.
SIMRUNRuns a simulation plan: draws the inputs, computes the targets and describes their distributions.
BEGIN EXPRStarts a block of expressions that END EXPR saves as a model for SIMPLAN.
END EXPREnds the BEGIN EXPR block and writes its model file.
FACTORFactor analysis: principal components and six factoring methods, rotations, factor scores.
QUICK CLUSTERK-means clustering of cases into a given number of clusters.
CLUSTERHierarchical clustering of cases by one of 37 proximity measures and seven methods.
TWOSTEP CLUSTERClusters of cases from continuous and categorical variables, the number of clusters chosen by BIC or AIC.
DMCLUSTERAnother name for TWOSTEP CLUSTER.
DETECTANOMALYUnusual cases: peer groups by two-step clustering, an anomaly index and the variables behind it.
OPTIMAL BINNINGBins of scale variables: cuts chosen by MDLP against a guide variable, or by equal frequency.
KNNNearest neighbor analysis: classify or predict a target from the k most similar training cases.
NAIVEBAYESNaive Bayes classification of a categorical target, with forward selection of the predictors.
AIMAttribute importance: how much each variable sets every group (cluster) apart from all cases.
SELECTPREDScreens a long list of predictors and ranks them one by one by how well each relates to a target.
RESPONSE RATEResponse rates of a numerator over a denominator in each group, with cumulative rates and limits.
ADPPrepares a target and its inputs for modelling and writes the preparation as syntax.
PROXIMITIESSimilarities, dissimilarities or distances between cases or variables by one of 37 measures.
PROXSCALMultidimensional scaling of one or more proximity matrices by majorization, with optimal transformations.
PREFSCALMultidimensional unfolding of preferences or proximities between row and column objects, with penalized stress.
ALSCALMultidimensional scaling of proximity matrices, symmetric, asymmetric or rectangular, by alternating least squares on squared distances.
ORTHOPLANGenerates an orthogonal main-effects plan of profiles for a conjoint study.
PLANCARDSShows the profiles of a conjoint plan as a list or as one card per profile.
CONJOINTPart-worth utilities and importances from rankings or scores of the profiles of a plan.
DISCRIMINANTLinear discriminant analysis with direct or stepwise entry and classification of cases.
CORRESPONDENCECorrespondence analysis: rows and columns of a two-way table as points in a few dimensions.
MULTIPLE CORRESPONDENCEMultiple correspondence (homogeneity) analysis: cases and categories of several nominal variables as points in a few dimensions.
CATPCACategorical principal components: quantify each variable by optimal scaling (spline, ordinal, nominal, multiple nominal or numeric) and reduce them to a few components.
CATREGCategorical regression: quantify a response and its predictors by optimal scaling (spline, ordinal, nominal or numeric) so that a linear model fits best, with ridge, lasso and elastic net penalties.
HOMALSHomogeneity analysis in the older syntax: MULTIPLE CORRESPONDENCE with variables read as categories 1 to a stated largest value.
PRINCALSNonlinear principal components in the older syntax: CATPCA with variables read as categories 1 to a stated largest value.
OVERALSNonlinear canonical correlation analysis: what two or more sets of variables, each quantified at its own level, have in common.
ANACORCorrespondence analysis in the older syntax: CORRESPONDENCE with its own normalization names and defaults.
LOGISTIC REGRESSIONBinary logistic regression with categorical covariates, stepwise selection and case diagnostics.
DMLOGISTICAnother name for LOGISTIC REGRESSION.
NOMREGMultinomial logistic regression: a nominal dependent variable on factors and covariates.
MVAMissing value analysis: where values are missing, how that relates to the other variables, and estimates that allow for it.
HILOGLINEARHierarchical loglinear models of a multiway table of counts, with backward elimination.
LOGLINEARGeneral loglinear and logit models of a table of counts, with contrasts, cell weights and generalized residuals.
GENLOGGeneral loglinear and logit models of a table of counts, with cell weights, covariates and contrasts.
PROBITProbit and logit models of response counts out of subject counts, with effective levels.
CURVEFITFit up to eleven curves of one independent variable, or of time, by least squares.
WLSWeighted least squares: weights from a power of a source variable, or a given weight.
MODEL PROGRAMName the parameters of a nonlinear model and give their starting values; the transformations after it define the model.
DERIVATIVESStart the derivatives program of the model program.
CLEAR MODEL PROGRAMSDrop the model program and the derivatives program of the last MODEL PROGRAM.
NLRNonlinear regression by least squares (Levenberg-Marquardt) for the model of the last MODEL PROGRAM.
CONSTRAINED FUNCTIONSStart the program that computes the constrained functions of the next CNLR.
CNLRConstrained nonlinear regression: least squares or a loss function of your own, under bounds, linear constraints and constrained functions.
MULTIPLE IMPUTATIONMultiple imputation: several completed copies of the data with plausible values in place of the missing ones.
PLUMOrdinal regression: a cumulative link model of an ordered dependent variable.
QUANTILE REGRESSIONLinear regression of a chosen quantile of the dependent variable, fitted by linear programming.
PLSPartial least squares regression of one or more dependent variables on many, possibly collinear, predictors.
GENLINGeneralized linear models: normal, binomial, Poisson, gamma, inverse Gaussian, negative binomial and ordinal responses.
UNIANOVAGeneral linear model of one dependent variable: factorial ANOVA, ANCOVA and regression.
GLMGeneral linear model: one dependent variable as in UNIANOVA, several (multivariate analysis of variance and covariance), or repeated measures with WSFACTOR.
MANOVAAnalysis of variance and covariance for one or several dependents, with nested and pooled terms, partitions and chosen error terms.
MIXEDLinear mixed model: fixed effects with random effects of subjects and correlated repeated measures.
VARCOMPVariance components: how much each random effect of a linear model adds to the variance of the dependent variable.
GENLINMIXEDGeneralized linear mixed model: a target with a normal, binomial, multinomial, gamma, inverse Gaussian, Poisson or negative binomial distribution and a link, fixed effects, random effects of subjects and repeated measures.
COXREGCox proportional hazards regression of survival times, with strata, categorical covariates, stepwise selection and time-dependent covariates.
TIME PROGRAMStart the transformations that define time-dependent covariates for the next COXREG.
CLEAR TIME PROGRAMDrop the time-dependent covariates of the last TIME PROGRAM.
ANOVAAnalysis of variance for factorial designs with covariates, the older form with MCA tables.
TREEA decision tree grown by CHAID, exhaustive CHAID, CRT or QUEST, with gain tables, rules and saved predictions.
DMTREEAnother name for TREE.
MLPMultilayer perceptron: a neural network with one or two hidden layers that predicts scale dependents and classifies categorical ones.
RBFRadial basis function network: Gaussian hidden units at two-step clusters and least squares output weights.
GRAPHOne chart: summaries by category as bars, lines, areas, a pie, points with error bars, a Pareto chart or ranges, a histogram, a scatterplot or a scatterplot matrix.
GGRAPHA chart from a graph dataset and a chart program in BEGIN GPL: bars (clustered, stacked), lines, areas, points, a pie or a histogram.
BEGIN GPLThe chart program of the GGRAPH command right before it, up to END GPL.
IGRAPHThe older chart command: bars, lines, areas, pies, boxes, error bars, histograms and scatterplots built from variables placed on axes and legends.
XGRAPHCharts from one expression: summaries as bars or lines, clustered, stacked and paneled, population pyramids, binned histograms, dot plots and boxes.
PPLOTProbability plots: Q-Q or P-P plots of variables against a test distribution.
NPPLOTAnother name for PPLOT.
ROCROC curve of test variables against a state, with the area under the curve.
DMROCAnother name for ROC.
ROC ANALYSISROC curves with paired or two-group comparisons of their areas, precision-recall curves and classifier metrics.
SPCHARTControl charts (X-bar with R or s, individuals, p, np, c, u) and the process capability chart.
KMKaplan-Meier survival estimates by factor level and stratum, with tests that compare the levels.
K-MAnother name for KM.
SURVIVALActuarial life tables over fixed time intervals, with the Wilcoxon (Gehan) comparison of groups.
REPORTCase listings and summary statistics by break groups, laid out as a report.
MATRIXRun a program in the matrix language, up to END MATRIX.

All commands