CSGLM
CSGLM
is available in Sampling and Testing.
CSGLM
performs linear regression analysis, as well as analysis of variance and
covariance, for samples that are drawn by complex sampling methods.
Note: Square brackets that are used in the CSGLM
syntax
chart are required parts of the syntax and are not used to indicate
optional elements. Equals signs (=) that are used in the syntax chart
are required elements. All subcommands, save the PLAN
subcommand,
are optional.
CSGLM dependent var BY factor list WITH covariate list
/PLAN FILE = file
/JOINTPROB FILE = file
/MODEL effect list
/INTERCEPT INCLUDE = {YES**} SHOW = {YES**}
{NO } {NO }
{ONLY }
/CUSTOM LABEL = "label"
LMATRIX = {number effect list effect list ...; ...}
{number effect list effect list ... }
{effect list effect list ...; ... }
{effect list effect list ... }
{ALL list; ALL ... }
{ALL list }
KMATRIX = {number; number; ...}
{number }
/CUSTOM ...
/EMMEANS TABLES = {factor }
{factor*factor...}
OTHER = [varname (value) varname (value) ...]
COMPARE = factor
CONTRAST = {SIMPLE** (value) }
{DEVIATION (value) }
{DIFFERENCE }
{HELMERT }
{REPEATED }
{POLYNOMIAL (number list)}
/EMMEANS ...
/CRITERIA CILEVEL = {95** } DF = n SINGULAR = {1E-12**}
{value} {value }
/STATISTICS PARAMETER SE TTEST CINTERVAL DEFF DEFFSQRT
/TEST TYPE = {F** } PADJUST = {LSD** }
{ADJF } {BONFERRONI }
{CHISQUARE } {SEQBONFERRONI}
{ADJCHISQUARE} {SIDAK }
{SEQSIDAK }
/DOMAIN VARIABLE = varname (value)
/MISSING CLASSMISSING = {EXCLUDE**}
{INCLUDE }
/PRINT SAMPLEINFO** VARIABLEINFO** SUMMARY**
GEF LMATRIX COVB CORB NONE
/SAVE PRED(varname) RESID(varname)
/OUTFILE {COVB='savfile'|'dataset'} {MODEL = 'file' }
{CORB='savfile'|'dataset'} {PARAMETER = 'file'}
**Default if the keyword or subcommand is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for the CSGLM command can be generated from the Complex Samples General Linear Model dialog box.
Release History
Release 13.0
- Command introduced.
Example
CSGLM y BY a b c WITH x
/PLAN FILE='/survey/myfile.csplan'.