Statscraft 0.61.0, release v0.61.0
Data files and dictionary
| 命令 | 功能 {#what-it-does} |
|---|---|
| GET | Read a data file and make it the active dataset. |
| GET DATA | Read a text data file, a sheet of a workbook or a dataset of an OpenStatSpec database as the active dataset. |
| GET TRANSLATE | Read a tab-delimited text file, a dBASE file or an old Excel workbook. |
| GET STATA | Read a Stata data file (.dta) and make it the active dataset. |
| IMPORT | Read a portable (.por) file and make it the active dataset. |
| SYSFILE INFO | Show the dictionary of a data file without opening it as the active dataset. |
| SAVE | Write the active dataset to a data file. |
| SAVE TRANSLATE | Write the active dataset to a CSV or tab-delimited text file, an Excel workbook, a Stata file, a SAS transport file or a dBASE file. |
| SAVE CODEPAGE | Write the active dataset to a data file whose text is in a code page. |
| EXPORT | Write the active dataset to a portable (.por) file. |
| XSAVE | Write the cases to a data file as the next data pass reads them. |
| NEW FILE | Start a new, empty active dataset. |
| ADD CASE | A Statscraft extension: one blank case after the last case of the active dataset. |
| ADD FILES | Append the cases of several data files, matching variables by name. |
| MATCH FILES | Combine the variables of several data files case by case or by key. |
| STAR JOIN | Add the fields of lookup files to every case of a data file, by keys, as an SQL left join. |
| UPDATE | Replace values of a primary file with the values of transaction files, by key. |
| COMPARE DATASETS | Compare the values and dictionary of the active dataset with another dataset or .sav file. |
| VARIABLE LABELS | Set the labels of variables. |
| VALUE LABELS | Replace the value labels of variables. |
| MISSING VALUES | Declare user-missing values. |
| VARIABLE LEVEL | Set the measurement level of variables. |
| VARIABLE WIDTH | Set how many characters wide variables show in the data grid. |
| FORMATS | Set the display format of variables. |
| PRINT FORMATS | Set the print format of variables: how procedures and PRINT show them. |
| WRITE FORMATS | Set the write format of variables: how WRITE writes them. |
| RENAME VARIABLES | Change the names of variables. |
| DELETE VARIABLES | Remove variables from the dataset. |
| SORT CASES | Sort the cases by the values of variables. |
| SORT VARIABLES | Put the variables in order by a property of their dictionary entries. |
| SHIFT VALUES | New variables that hold the value of the same variable in an earlier or later case. |
| WEIGHT | Weight the cases by a variable, or turn weighting off. |
| AGGREGATE | Aggregate groups of cases into new variables or a new dataset. |
| VARSTOCASES | Turn groups of variables into cases: one new case per variable of the group. |
| CASESTOVARS | Turn groups of cases into one case each, with a variable per value of an index. |
| FLIP | Transpose the data: variables become cases and cases become variables. |
| ADD VALUE LABELS | Add or change value labels, keeping the other labels of the variables. |
| FILE LABEL | Set the label of the data file. |
| DOCUMENT | Add free text to the documents of the data file. |
| ADD DOCUMENT | Add quoted lines to the documents of the data file. |
| DROP DOCUMENTS | Remove the documents of the data file. |
| VARIABLE ROLE | Set the role of variables for dialogs. |
| VARIABLE ALIGNMENT | Set the alignment of variables in the data grid. |
| VARIABLE ATTRIBUTE | Set or delete custom attributes of variables. |
| DATAFILE ATTRIBUTE | Set or delete custom attributes of the data file. |
| ALTER TYPE | Change the type, string width or format of variables. |
| APPLY DICTIONARY | Copy dictionary information from a data file or dataset to the active dataset. |
| DATA LIST | Define text data, inline or in a file, and read it as the new active dataset. |
| KEYED DATA LIST | Read variables from the record of a text file that a key variable picks, for each case. |
| BEGIN DATA | Inline data for the DATA LIST before it, up to a line that holds END DATA. |
| MATRIX DATA | Read matrix materials (correlations, means, counts) as a matrix data file. |
| MCONVERT | Matrix data between covariances and correlations with standard deviations. |
| INPUT PROGRAM | Start an input program: commands that build the cases of a new active dataset. |
| END INPUT PROGRAM | End an input program and run it. |
| END CASE | In an input program: add the case built so far to the dataset and go on. |
| END FILE | In an input program or FILE TYPE: stop reading; the case being built is dropped. |
| REREAD | In an input program: let the next DATA LIST read the last record again. |
| REPEATING DATA | In an input program or FILE TYPE: one case per repeating group of a record. |
| FILE TYPE | Start the definition of a file with several kinds of records. |
| RECORD TYPE | Inside FILE TYPE: the record types the following DATA LIST reads. |
| END FILE TYPE | End a FILE TYPE definition and read the file. |
| SPLIT FILE | Run each procedure once per run of consecutive cases that share the split values. |
| FILTER | Leave out of procedures the cases whose filter value is 0 or missing. |
| TEMPORARY | Make the changes that follow last only until the next procedure. |
| N OF CASES | Keep only the first n cases from the next data pass on. |
| N | Short for N OF CASES. |
| SAMPLE | Keep a random sample of the cases. |
| BOOTSTRAP | Give the next procedure bootstrap bias, standard errors and confidence intervals. |