27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1666 WLS<br />

without erasing values saved earlier (see the TSET command). You can also use the SAVE<br />

subcommand on WLS to override the NONE or the default CURRENT settings on NEWVAR for<br />

the current procedure.<br />

Statistical Output. You can change the PRINT setting on the TSET command prior to WLS to<br />

display regression coefficients or the list of log-likelihood functions at each delta value, or to<br />

limit the output to only the regression statistics for the delta value at which the log-likelihood<br />

function is maximized (see the TSET command). You can also use the PRINT subcommand to<br />

override the PRINT setting on the TSET command for the current procedure and obtain regression<br />

coefficients at each value of delta in addition to the default output.<br />

Basic Specification<br />

• The basic specification is the VARIABLES subcommand specifying one dependent variable,<br />

the keyword WITH, and one or more independent variables. Weights are calculated<br />

using the first independent variable as the source variable and a default delta value of 1.<br />

• The default output for calculated weights displays the log-likelihood function for each<br />

value of delta. For the value of delta at which the log-likelihood function is maximized,<br />

the displayed summary regression statistics include R, R , adjusted , standard errors,<br />

analysis of variance, and t tests of the individual coefficients. A variable named WGT#1<br />

containing the calculated weights is automatically created, labeled, and added to the<br />

working data file.<br />

2 R2 <strong>Syntax</strong> Rules<br />

• VARIABLES can be specified only once.<br />

• DELTA can be specified more than once. Each specification will be executed.<br />

• If other subcommands are specified more than once, only the last specification of each<br />

one is executed.<br />

• You can specify either SOURCE and DELTA, or just the WEIGHT subcommand. You<br />

cannot specify all three, and you cannot specify WEIGHT with SOURCE or with DELTA.<br />

Subcommand Order<br />

Operations<br />

• Subcommands can be specified in any order.<br />

• If neither the WEIGHT subcommand nor the SOURCE and DELTA subcommands are<br />

specified, a warning is issued and weights are calculated using the default source and<br />

delta value.<br />

• Only one WGT#1 variable is created per procedure. If more than one delta value is specified,<br />

the weights used when the log-likelihood function is maximized are the ones saved<br />

as WGT#1.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!