Statscraft 0.61.0, release v0.61.0
Procedures
| 命令 | 功能 {#what-it-does} |
|---|---|
| FREQUENCIES | Frequency tables, summary statistics and percentiles. |
| DESCRIPTIVES | Summary statistics of numeric variables, optionally saved as z-scores. |
| CROSSTABS | Contingency tables with percentages, residuals and chi-square tests. |
| MULT RESPONSE | Frequency tables and crosstabulations of multiple response groups and variables. |
| MEANS | Statistics of dependent variables within groups of control variables. |
| SUMMARIZE | Statistics of dependents within groups of control variables, optionally listing the cases. |
| OLAP CUBES | Statistics of scale variables in nested groups, with differences between groups or variables. |
| CODEBOOK | Dictionary entries and summary statistics of variables and multiple response sets. |
| VALIDATEDATA | Find suspicious variables, incomplete or duplicate IDs, empty cases and rule violations. |
| T-TEST | One-sample, independent-samples and paired-samples t tests with effect sizes. |
| ONEWAY | One-way analysis of variance with contrasts and post hoc comparisons. |
| CORRELATIONS | Pearson correlations with significance and case counts. |
| NONPAR CORR | Spearman’s rho and Kendall’s tau-b rank correlations with significance. |
| PARTIAL CORR | Partial correlations of variables controlling for others, with significance. |
| NPAR TESTS | Nonparametric tests: one-sample, two and k related samples, two and k independent samples. |
| NPTESTS | Nonparametric tests picked by measurement level: one sample, independent samples, related samples. |
| PROPORTIONS | Tests and confidence intervals for a proportion or a difference of two proportions. |
| EXAMINE | Descriptives, percentiles, M-estimators, extreme values and normality tests, by factor cells. |
| REGRESSION | Linear regression with forced entry or removal and stepwise selection, residuals and diagnostics. |
| RELIABILITY | Reliability of a scale: Cronbach’s alpha, split-half and other models, item statistics and ICC. |
| WEIGHTED KAPPA | Cohen’s weighted kappa: how well two raters agree on an ordered scale. |
| FLEISS MULTIRATER KAPPA | Fleiss’ kappa: how well several raters agree when they sort subjects into categories. |
| RATIO STATISTICS | Statistics of the ratio of two positive variables, overall and within groups. |
| BAYES ONESAMPLE | Bayesian inference on one mean, proportion or Poisson rate: Bayes factors and posteriors. |
| BAYES RELATED | Bayesian inference on the mean difference of paired measurements. |
| BAYES INDEPENDENT | Bayesian comparison of the means of two independent groups. |
| BAYES CORRELATION | Bayesian inference on the Pearson correlation of every pair of variables. |
| BAYES ANOVA | Bayesian one-way analysis of variance: a Bayes factor for the groups and posteriors of their means. |
| BAYES REGRESSION | Bayesian linear regression: a Bayes factor for the model, posteriors, predictions and F tests. |
| BAYES REPEATED | Bayesian one-way repeated measures analysis: a Bayes factor and posteriors of the condition means. |
| BAYES LOGLINEAR | Bayesian test of independence in a two-way table, with simulated interaction terms. |
| POWER MEANS ONESAMPLE | Power or sample size of a one-sample t-test of a mean. |
| POWER MEANS INDEPENDENT | Power or group sizes of a t-test comparing the means of two independent groups. |
| POWER MEANS RELATED | Power or number of pairs of a paired t-test. |
| POWER PROPORTIONS ONESAMPLE | Power or sample size of a test of one proportion against a hypothesized value. |
| POWER PROPORTIONS INDEPENDENT | Power or group sizes of a test comparing two independent proportions. |
| POWER PROPORTIONS RELATED | Power or number of pairs of McNemar’s test of two paired proportions. |
| POWER ONEWAY ANOVA | Power or group sizes of a one-way analysis of variance, its contrasts and pairwise comparisons. |
| POWER PEARSON ONESAMPLE | Power or sample size of a test of one Pearson correlation against a hypothesized value. |
| POWER SPEARMAN ONESAMPLE | Power or sample size of a test of one Spearman rank correlation against a hypothesized value. |
| POWER PARTIALCORR | Power or sample size of a test of one partial correlation against a hypothesized value. |
| POWER UNIVARIATE LINEAR | Power or sample size of the F test of a set of predictors in a linear regression. |
| SIMPLAN | A simulation plan: distributions of the inputs, fitted to the data or given, their correlations and the targets of a model. |
| SIMRUN | Runs a simulation plan: draws the inputs, computes the targets and describes their distributions. |
| BEGIN EXPR | Starts a block of expressions that END EXPR saves as a model for SIMPLAN. |
| END EXPR | Ends the BEGIN EXPR block and writes its model file. |
| FACTOR | Factor analysis: principal components and six factoring methods, rotations, factor scores. |
| QUICK CLUSTER | K-means clustering of cases into a given number of clusters. |
| CLUSTER | Hierarchical clustering of cases by one of 37 proximity measures and seven methods. |
| TWOSTEP CLUSTER | Clusters of cases from continuous and categorical variables, the number of clusters chosen by BIC or AIC. |
| DMCLUSTER | Another name for TWOSTEP CLUSTER. |
| DETECTANOMALY | Unusual cases: peer groups by two-step clustering, an anomaly index and the variables behind it. |
| OPTIMAL BINNING | Bins of scale variables: cuts chosen by MDLP against a guide variable, or by equal frequency. |
| KNN | Nearest neighbor analysis: classify or predict a target from the k most similar training cases. |
| NAIVEBAYES | Naive Bayes classification of a categorical target, with forward selection of the predictors. |
| AIM | Attribute importance: how much each variable sets every group (cluster) apart from all cases. |
| SELECTPRED | Screens a long list of predictors and ranks them one by one by how well each relates to a target. |
| RESPONSE RATE | Response rates of a numerator over a denominator in each group, with cumulative rates and limits. |
| ADP | Prepares a target and its inputs for modelling and writes the preparation as syntax. |
| PROXIMITIES | Similarities, dissimilarities or distances between cases or variables by one of 37 measures. |
| PROXSCAL | Multidimensional scaling of one or more proximity matrices by majorization, with optimal transformations. |
| PREFSCAL | Multidimensional unfolding of preferences or proximities between row and column objects, with penalized stress. |
| ALSCAL | Multidimensional scaling of proximity matrices, symmetric, asymmetric or rectangular, by alternating least squares on squared distances. |
| ORTHOPLAN | Generates an orthogonal main-effects plan of profiles for a conjoint study. |
| PLANCARDS | Shows the profiles of a conjoint plan as a list or as one card per profile. |
| CONJOINT | Part-worth utilities and importances from rankings or scores of the profiles of a plan. |
| DISCRIMINANT | Linear discriminant analysis with direct or stepwise entry and classification of cases. |
| CORRESPONDENCE | Correspondence analysis: rows and columns of a two-way table as points in a few dimensions. |
| MULTIPLE CORRESPONDENCE | Multiple correspondence (homogeneity) analysis: cases and categories of several nominal variables as points in a few dimensions. |
| CATPCA | Categorical principal components: quantify each variable by optimal scaling (spline, ordinal, nominal, multiple nominal or numeric) and reduce them to a few components. |
| CATREG | Categorical 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. |
| HOMALS | Homogeneity analysis in the older syntax: MULTIPLE CORRESPONDENCE with variables read as categories 1 to a stated largest value. |
| PRINCALS | Nonlinear principal components in the older syntax: CATPCA with variables read as categories 1 to a stated largest value. |
| OVERALS | Nonlinear canonical correlation analysis: what two or more sets of variables, each quantified at its own level, have in common. |
| ANACOR | Correspondence analysis in the older syntax: CORRESPONDENCE with its own normalization names and defaults. |
| LOGISTIC REGRESSION | Binary logistic regression with categorical covariates, stepwise selection and case diagnostics. |
| DMLOGISTIC | Another name for LOGISTIC REGRESSION. |
| NOMREG | Multinomial logistic regression: a nominal dependent variable on factors and covariates. |
| MVA | Missing value analysis: where values are missing, how that relates to the other variables, and estimates that allow for it. |
| HILOGLINEAR | Hierarchical loglinear models of a multiway table of counts, with backward elimination. |
| LOGLINEAR | General loglinear and logit models of a table of counts, with contrasts, cell weights and generalized residuals. |
| GENLOG | General loglinear and logit models of a table of counts, with cell weights, covariates and contrasts. |
| PROBIT | Probit and logit models of response counts out of subject counts, with effective levels. |
| CURVEFIT | Fit up to eleven curves of one independent variable, or of time, by least squares. |
| WLS | Weighted least squares: weights from a power of a source variable, or a given weight. |
| MODEL PROGRAM | Name the parameters of a nonlinear model and give their starting values; the transformations after it define the model. |
| DERIVATIVES | Start the derivatives program of the model program. |
| CLEAR MODEL PROGRAMS | Drop the model program and the derivatives program of the last MODEL PROGRAM. |
| NLR | Nonlinear regression by least squares (Levenberg-Marquardt) for the model of the last MODEL PROGRAM. |
| CONSTRAINED FUNCTIONS | Start the program that computes the constrained functions of the next CNLR. |
| CNLR | Constrained nonlinear regression: least squares or a loss function of your own, under bounds, linear constraints and constrained functions. |
| MULTIPLE IMPUTATION | Multiple imputation: several completed copies of the data with plausible values in place of the missing ones. |
| PLUM | Ordinal regression: a cumulative link model of an ordered dependent variable. |
| QUANTILE REGRESSION | Linear regression of a chosen quantile of the dependent variable, fitted by linear programming. |
| PLS | Partial least squares regression of one or more dependent variables on many, possibly collinear, predictors. |
| GENLIN | Generalized linear models: normal, binomial, Poisson, gamma, inverse Gaussian, negative binomial and ordinal responses. |
| UNIANOVA | General linear model of one dependent variable: factorial ANOVA, ANCOVA and regression. |
| GLM | General linear model: one dependent variable as in UNIANOVA, several (multivariate analysis of variance and covariance), or repeated measures with WSFACTOR. |
| MANOVA | Analysis of variance and covariance for one or several dependents, with nested and pooled terms, partitions and chosen error terms. |
| MIXED | Linear mixed model: fixed effects with random effects of subjects and correlated repeated measures. |
| VARCOMP | Variance components: how much each random effect of a linear model adds to the variance of the dependent variable. |
| GENLINMIXED | Generalized 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. |
| COXREG | Cox proportional hazards regression of survival times, with strata, categorical covariates, stepwise selection and time-dependent covariates. |
| TIME PROGRAM | Start the transformations that define time-dependent covariates for the next COXREG. |
| CLEAR TIME PROGRAM | Drop the time-dependent covariates of the last TIME PROGRAM. |
| ANOVA | Analysis of variance for factorial designs with covariates, the older form with MCA tables. |
| TREE | A decision tree grown by CHAID, exhaustive CHAID, CRT or QUEST, with gain tables, rules and saved predictions. |
| DMTREE | Another name for TREE. |
| MLP | Multilayer perceptron: a neural network with one or two hidden layers that predicts scale dependents and classifies categorical ones. |
| RBF | Radial basis function network: Gaussian hidden units at two-step clusters and least squares output weights. |
| GRAPH | One 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. |
| GGRAPH | A chart from a graph dataset and a chart program in BEGIN GPL: bars (clustered, stacked), lines, areas, points, a pie or a histogram. |
| BEGIN GPL | The chart program of the GGRAPH command right before it, up to END GPL. |
| IGRAPH | The older chart command: bars, lines, areas, pies, boxes, error bars, histograms and scatterplots built from variables placed on axes and legends. |
| XGRAPH | Charts from one expression: summaries as bars or lines, clustered, stacked and paneled, population pyramids, binned histograms, dot plots and boxes. |
| PPLOT | Probability plots: Q-Q or P-P plots of variables against a test distribution. |
| NPPLOT | Another name for PPLOT. |
| ROC | ROC curve of test variables against a state, with the area under the curve. |
| DMROC | Another name for ROC. |
| ROC ANALYSIS | ROC curves with paired or two-group comparisons of their areas, precision-recall curves and classifier metrics. |
| SPCHART | Control charts (X-bar with R or s, individuals, p, np, c, u) and the process capability chart. |
| KM | Kaplan-Meier survival estimates by factor level and stratum, with tests that compare the levels. |
| K-M | Another name for KM. |
| SURVIVAL | Actuarial life tables over fixed time intervals, with the Wilcoxon (Gehan) comparison of groups. |
| REPORT | Case listings and summary statistics by break groups, laid out as a report. |
| MATRIX | Run a program in the matrix language, up to END MATRIX. |