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.

GRAPH 705<br />

the variable must be dichotomous or trichotomous. If dichotomous, the first<br />

value defines low and the second value defines high; if trichotomous, the first<br />

value defines high, the second defines low and the third defines close (see<br />

Figure 35 to Figure 37).<br />

GROUPED Grouped high-low-close chart. A grouped high-low-close chart is defined by<br />

a single function and two BY variables or by multiple functions and a single<br />

BY variable. When a variable list is used for a single function, the list must<br />

contain two or three variables. If it contains two variables, the first defines the<br />

high value, and the second defines the low value. If it contains three variables,<br />

the first defines the high value, the second defines the low value, and the third<br />

defines the close value. Likewise, if multiple functions are specified, they<br />

must be either in groups of two or in groups of three. The first function defines<br />

the high value, the second defines the low value, and the third, if specified,<br />

defines the close value (see Figure 38 and Figure 39).<br />

Figure 35 HILO=MEAN(HIGH LOW CLOSE) BY DATE<br />

Specification: sum_function(varlist) BY var<br />

Legend title: fn name<br />

Legend labels: fn var labels<br />

y-axis title: none<br />

y-axis labels: fn value scale<br />

x-axis title: BY var label<br />

x-axis labels: BY var value labels<br />

You can specify three variables with one summary function or three summary functions<br />

each with one variable. The line represents the close or average series defined by the function.<br />

If you specify only two, they are used as high and low values.<br />

Figure 36 HILO=MEAN(VALUE) BY DATE BY HILO<br />

Specification: sum_function(var) BY var BY var<br />

Legend title: 2nd BY var label<br />

Legend labels: 2nd BY var value labels<br />

y-axis title: fn name+fn var label<br />

y-axis labels: fn value scale<br />

x-axis title: 1st BY var label<br />

x-axis labels: 1st BY var value labels<br />

The second BY variable must be dichotomous or trichotomous. If dichotomous, the first value<br />

defines the high and the second value defines the low value. If trichotomous, the first value<br />

defines the high value, the second value defines the low, and the last value defines the close.

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

Saved successfully!

Ooh no, something went wrong!