F.Åberg (1996)
1 * 2 *DATA MAAT A,B,N 3 *Eräiden juomien kulutus 12 Euroopan maassa 4 * 5 N Maa Kahvi Tee Olut Viini Viina 6 A Englanti 1.8 3.49 113.7 5.1 1.4 7 * Espanja 2.5 0.03 43.6 73.2 2.7 8 * Hollanti 9.2 0.58 75.5 9.7 2.7 9 * Irlanti 0.2 3.73 124.5 3.8 1.9 10 * Italia 3.6 0.06 13.6 106.6 2.0 11 * Norja 9.4 0.19 43.5 3.1 1.8 12 * Portugali 2.2 0.03 27.5 89.3 0.9 13 * Ranska 5.2 0.10 44.5 104.3 2.5 14 * Ruotsi 12.9 0.30 58.3 7.9 2.9 15 * Suomi 12.5 0.15 54.7 7.6 2.7 16 * Sveitsi 9.1 0.25 73.5 44.9 2.1 17 B Tanska 11.8 0.41 113.9 10.4 1.7 18 * 19 *HCLUSTER MAAT,CUR+4
/ METHOD=COMPLETE PLOT=PS 20 * 21 *Allaolevat rivit kirjoittaa HCLUSTER-operaatio:
22 * 23 * Hierarchical cluster analysis of observations in MAAT N=12 24 * Method : Complete_linkage Distance : Squared_Euclidian 25 *....................................................................... 26 * Activate the line below to plot the tree to file #TREE#.PS 27 *PLOT #TREE#,X,Y
28 * Change YSCALE and XSCALE below to plot subtrees. 29 * YSCALE=1,12 POINT=Label FRAME=0 XLABEL= <-_Distance 30 * XSCALE=-22900/1,0 PEN=[Swiss(12)] MODE VGA YLABEL= 31 * Change LINE spec. below to 1 for a 'triangular' tree. 32 * LINE=3 XDIV=100,816,100 YDIV=100,980,200 33 * HEADER= [Swiss(18)],Complete_linkage;_Input:_MAAT 34 * DEVICE=PS,#TREE#.PS SIZE=1016,1280 HOME=100,1620 35 *....................................................................... 36 * Stage Cluster 1 Cluster 2 Distance 37 * 1 Ruotsi Suomi 13.27249 38 * 2 Englanti Irlanti 121.1977 39 * 3 Norja GROUP 1 255.5521 40 * 4 GROUP 2 Tanska 301.5424 41 * 5 Italia Portugali 495.6707 42 * 6 GROUP 5 Ranska 962.9116 43 * 7 Hollanti GROUP 3 1068.562 44 * 8 Espanja Sveitsi 1738.868 45 * 9 GROUP 8 GROUP 7 5095.052 46 * 10 GROUP 4 GROUP 9 11380.79 47 * 11 GROUP 10 GROUP 6 22891.69 48 *
Hakemisto | Kuvasto | Edellinen | Seuraava