CSDESCRIPTIVES
Design-based means, totals and ratios with standard errors, confidence intervals and design effects.
Syntax
Section titled “Syntax”CSDESCRIPTIVES /PLAN FILE='file.csaplan' [/SUMMARY VARIABLES=varlist] [/MEAN [TTEST=value]] [/SUM [TTEST=value]] [/RATIO NUMERATOR=varlist DENOMINATOR=varlist [TTEST=value]] … [/STATISTICS SE CV DEFF DEFFSQRT CIN(95) COUNT POPSIZE] [/SUBPOP TABLE=var [BY var]] [/MISSING SCOPE=ANALYSIS|LISTWISE CLASSMISSING=EXCLUDE|INCLUDE].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /MEAN, /MISSING, /PLAN, /PRINT, /RATIO, /STATISTICS, /SUBPOP, /SUM, /SUMMARY |
| Menu | Analyze ▸ Complex Samples |
| Slot: Measures | 0+ variable(s); levels: scale; types: numeric |
| Slot: Subpopulations | 0–2 variable(s); levels: nominal, ordinal, scale; types: numeric, string |
Specifications
Section titled “Specifications”- SUMMARY: the measures to summarise
- MEAN / SUM: which estimates (MEAN by default)
- RATIO: ratios of totals; may be repeated
- STATISTICS: SE and CIN(95) by default
- SUBPOP: estimates for every category (or category combination) of up to two variables
Examples
Section titled “Examples”CSDESCRIPTIVES /PLAN FILE='survey.csaplan' /SUMMARY VARIABLES=income /MEAN /SUM /STATISTICS SE CIN(95) DEFF /SUBPOP TABLE=region.- The analysis plan (CSPLAN ANALYSIS or CSSELECT /ANALYSISPLAN) supplies the weight, strata, clusters and finite population correction. Variances are Taylor-series linearization estimates; tests and intervals use the design degrees of freedom (first-stage units − strata). WEIGHT BY is ignored.
- Subpopulation estimates keep every design unit (cases outside the domain contribute zero), which is why they differ from analysing a filtered file.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.