01.03.2013 Views

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

2.2 Presenting the Data 45<br />

Figure 2.12. Specification of a bar chart for variable PClass (Example 2.1) using<br />

<strong>STATISTICA</strong>. The category codes can be filled in directly or by clicking the All<br />

button.<br />

Figure 2.13. Bar graph, obtained with <strong>STATISTICA</strong>, representing the frequencies<br />

(counts) of variable PClass (Example 2.1).<br />

If one has available the vector with the counts, it is then also possible to use the<br />

bar comm<strong>and</strong>. In the present case, after obtaining the previously mentioned t<br />

vector (see Comm<strong>and</strong>s 2.1), one would proceed to obtain the bar graph<br />

corresponding to column 3 of t, with:<br />

» colormap([.5 .5 .5]); bar(t(:,3))

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

Saved successfully!

Ooh no, something went wrong!