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.

764 IGRAPH<br />

Example<br />

IGRAPH<br />

/X1=VAR(sales95) TYPE=SCALE<br />

/Y=VAR(sales96) TYPE=SCALE<br />

/COLOR=VAR(region) TYPE=CATEGORICAL<br />

/SCATTER<br />

/FITLINE METHOD=LLR EPANECHNIKOV BANDWIDTH=CONSTRAINED<br />

X1MULTIPLIER=2.00 LINE=MEFFECT.<br />

• SCATTER creates a scatterplot of sales95 and sales96.<br />

• FITLINE adds a local linear regression smoother to the scatterplot. The Epanechnikov<br />

smoother is used with an X1 multiplier of 2. A separate line is fit for each category of<br />

region and the bandwidth is constrained to be equal across region categories.<br />

Summary Functions<br />

Summary functions apply to scale variables selected for a dependent axis or a slice summary.<br />

Percentages are based on the specified percent base. For a slice summary, only summary<br />

functions appropriate for the type of chart are available.<br />

The following summary functions are available:<br />

First Values (FIRST). The value found in the first case for each category in the data file at the<br />

time the summary was defined.<br />

Kurtosis (KURTOSIS). A measure of the extent to which observations cluster around a<br />

central point. For a normal distribution, the value of the kurtosis statistic is 0. Positive<br />

kurtosis indicates that the observations cluster more and have longer tails than those in the<br />

normal distribution, and negative kurtosis indicates the observations cluster less and have<br />

shorter tails.<br />

Last Values (LAST). The value found in the last case for each category in the data file at the<br />

time the summary was defined.<br />

Maximum Values (MAXIMUM). The largest value for each category.<br />

Minimum Values (MINIMUM). The smallest value within the category.<br />

Means (MEAN). The arithmetic average for each category.<br />

Medians (MEDIAN). The values below which half of the cases fall in each category.<br />

Modes (MODE). The most frequently occurring value within each category.<br />

Number of Cases Above (NGT(x)). The number of cases having values above the specified<br />

value.<br />

Number of Cases Between (NIN(x1,x2)). The number of cases between two specified values.<br />

Number of Cases Equal to (NEQ(x)). The number of cases equal to the specified value.<br />

Number of Cases Greater Than or Equal to (NGE(x)). The number of cases having values above<br />

or equal to the specified value.<br />

Number of Cases Less Than (NLT(x)). The number of cases below the specified value.

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

Saved successfully!

Ooh no, something went wrong!