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.

1670 WLS<br />

Example<br />

WLS X1 WITH Y1<br />

/SOURCE=Y1<br />

/DELTA=1.5.<br />

WLS APPLY<br />

/DELTA=2.<br />

• The first command produces a weighted least-squares regression of X1, with Y1 as the<br />

source variable and delta equal to 1.5.<br />

• The second command uses the same variable and source but changes the delta value to 2.<br />

Example<br />

WLS X1 WITH Y1 Z1<br />

/SOURCE=Z1<br />

/DELTA=1 TO 3 BY 0.5<br />

WLS APPLY<br />

/WEIGHT=WGT#1.<br />

• The first command regresses X1 on Y1 and Z1, using Z1 as the source variable. The delta<br />

values range from 1 to 3, incrementing by 0.5.<br />

• The second command again regresses X1 on Y1 and Z1, but this time applies the values of<br />

WGT#1 as the weights.

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

Saved successfully!

Ooh no, something went wrong!