Diff for "FAQ/lines" - CBU statistics Wiki
location: Diff for "FAQ/lines"
Differences between revisions 9 and 10
Revision 9 as of 2010-01-25 12:33:29
Size: 1216
Editor: PeterWatson
Comment:
Revision 10 as of 2012-07-02 12:49:47
Size: 1580
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:

Incidentally, Morey et al (1983) suggest the use of Ward's hierarchical clustering method due to its relatively superior power compared to other methods.

__Reference__

Morey LC, Blashfield RK and Skinner HA (1983) A comparison of cluster analysis techniques within a sequential validation framework. ''Multivariate Behavioral Research'' '''18''' 309-329.

How do I do a multiple line plot of cluster profiles?

Suppose we gave four columns of factor scores, f1av to f4av, which we wish plot for each of two clusters, cluster membership forming a sixth column, as in the table below. [attachment:lines.doc A bit of editing in the chart editor yields this.]

F1av

F2av

F3av

F4av

clus

1

2

2

2

1

2

5

1

4

1

3

4

3

5

2

2

3

4

6

2

A multiple line plot can be drawn using the syntax below.

VARSTOCASES                                          
/MAKE score FROM f1av TO f4av.                        
LIST.

compute facno=$casenum.
compute facno=mod(facno,4).
if(facno eq 0) facno=4.
exe.


GRAPH
  /title = 'cluster profiles of four factors'
  /LINE(MULTIPLE)MEAN(score) BY facno BY clus
  /MISSING=REPORT.

Incidentally, Morey et al (1983) suggest the use of Ward's hierarchical clustering method due to its relatively superior power compared to other methods.

Reference

Morey LC, Blashfield RK and Skinner HA (1983) A comparison of cluster analysis techniques within a sequential validation framework. Multivariate Behavioral Research 18 309-329.

None: FAQ/lines (last edited 2013-03-08 10:17:39 by localhost)