Last Homework, data mining

(1) Run the program below inserting the proper path at the end. This creates a gamblers data set of 200 observations (combines train and validation data from the discriminant demos) in your aaem data library.

(2) Create in EM a new data source for Gamblers

Set the dsm variables and the subject number to the rejected role. Set the type variable role to ID. This leaves the Gamblers Anonymous variables for clustering. This is a raw data set.

(3) Create a new diagram window and drag in the gamblers data.

(4) Add and run a default cluster node. How many clusters does it give? Under “View” while looking at the results window you can find variable importance. Which four GA questions are most important in determining the cluster membership? Write a couple of sentences stating how importance is computed in Enterprise Miner’s Cluster node. For the most important GA question, how many tree splits used that variable? For how many was it a surrogate for the main splitting variable?

(5) Try selecting viewsummary statistics  CCC. Did our rules of thumb for determining the number of clusters from the CCC work well here? Explain. When (for how many clusters) did the CCC first exceed 2?

(5) It appears that the clusters as formed by the psychologist do not match those as diagnosed by the questions, either in number or in structure. Of course these categories are probably divisions along some continuous scale of addiction so it may not be so surprising that we do not get 3 clusters. Try forcing a 3 cluster solution. Did the importance statistics change? Did the order of variable importance change?

(6) Look at the exported data from this node. For the 9 combinations of 3 segments (the diagnosed clusters) and 3 types (the psychologist’s diagnosed categories) fill in a 3x3 table that shows how each of the psychologist’s categories distributed itself over the 3 clusters. One way to do this is to go to the plot icon, select 3D plots and the bar chart and make a bar chart of type by segment. Mousing over those 3 dimensional bars will give the counts in each. A more challenging way is to connect a SAS code node from the utilities subtab, figure out the macro names of the data sets, and write some PROC FREQ code like that in our demos. It will take some effort to find the data set names in the SAS code node.

Is there a clear correspondence between the psychologist’s categories and the clusters found by EM? That is, is there a cluster that seems to represent binge gamblers? Steady? Control? What does this say about the computation of an overall error rate?

Data gamblers;

length type $8.;

input sub $ dsm1-dsm12 ga1-ga20 type $;

datalines;

1 3 3 3 1 0 0 0 1 3 0 0 2 3 0 2 3 0 1 4 3 1 1 0 4 1 1 0 3 0 0 0 4 Steady

2 2 3 4 0 4 3 4 1 2 0 3 1 1 4 1 3 4 2 2 2 1 2 1 3 4 1 4 2 1 4 3 2 Control

3 3 3 4 4 1 2 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2 1 1 1 2 3 1 1 1 0 1 1 1 1 1 0 2 2 1 1 2 0 0 Control

107 1 1 2 1 2 2 4 1 0 1 0 3 3 2 3 0 2 4 1 1 2 2 2 0 1 2 2 2 2 3 2 1 Control

108 3 4 4 4 3 1 4 4 2 3 2 4 3 2 3 4 0 3 3 4 3 2 4 3 1 3 4 3 2 1 1 3 Binge

109 2 1 1 2 1 3 2 1 3 1 0 2 2 2 0 1 1 0 2 1 1 2 1 3 1 0 0 0 1 0 1 3 Control

110 2 3 1 1 1 2 0 1 2 1 4 1 1 3 0 2 1 1 2 2 2 1 1 3 2 1 0 1 2 0 0 2 Steady

111 2 2 2 0 0 4 0 0 3 0 4 0 0 4 0 1 0 0 1 2 1 0 0 0 4 0 1 2 0 1 0 1 Control

112 4 4 4 2 2 3 2 2 4 3 2 1 3 0 1 4 1 2 4 3 1 1 3 4 0 3 2 4 2 3 2 4 Control

113 3 1 2 4 1 2 1 4 3 4 2 4 3 3 1 2 3 4 3 3 3 3 4 3 3 3 2 3 4 1 1 1 Control

114 1 0 2 2 1 4 1 3 0 2 2 2 2 2 3 2 4 3 1 1 2 2 2 1 3 2 2 1 4 3 4 0 Control

115 4 4 2 1 1 0 4 1 4 1 1 1 1 1 2 4 3 0 4 4 0 0 1 4 1 2 4 4 1 4 3 3 Steady

116 1 2 1 4 0 1 1 4 1 4 3 3 4 2 4 2 0 4 0 1 3 4 3 1 2 4 0 1 4 3 2 1 Binge

117 4 4 4 3 2 3 1 3 4 1 2 2 3 3 1 4 2 1 4 4 3 2 1 4 0 2 4 4 0 0 3 4 Binge

118 3 4 1 3 4 2 3 3 3 1 2 1 2 2 1 2 3 1 2 2 1 2 1 3 2 2 4 3 0 4 4 3 Binge

119 2 1 2 2 0 1 0 3 2 4 2 2 2 1 3 1 0 0 1 1 1 1 3 2 1 2 0 3 2 0 0 3 Control

120 1 1 3 0 2 1 2 0 2 1 0 0 1 0 0 2 2 0 2 2 0 0 0 2 0 1 3 3 0 4 4 1 Control

121 1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 2 1 3 3 3 0 Control

136 3 3 2 0 4 0 2 1 3 3 1 2 1 0 1 2 4 0 3 2 1 1 2 1 1 0 3 3 0 2 4 0 Control

137 3 3 4 3 1 2 2 4 4 2 3 3 3 4 2 4 1 4 4 4 3 3 4 3 3 4 0 4 4 2 1 3 Control

138 3 3 1 2 3 4 2 0 4 1 3 1 0 4 0 2 4 1 4 1 0 1 1 2 4 0 4 1 0 2 4 4 Steady

139 3 3 3 0 4 1 4 1 4 0 4 0 0 2 1 4 4 1 3 4 0 1 0 2 2 0 4 4 0 4 4 3 Steady

140 3 4 3 3 0 1 0 2 3 2 1 4 2 0 3 4 2 2 4 4 2 3 3 3 1 3 2 4 3 2 1 4 Steady

141 2 3 1 3 4 4 4 4 2 3 4 4 4 4 4 3 4 4 2 1 4 4 4 2 4 4 3 0 3 3 2 2 Control

142 3 2 2 0 3 0 3 2 0 0 0 0 1 1 1 3 3 2 1 1 1 2 1 3 0 2 4 2 1 4 2 1 Control

143 0 1 1 2 3 0 2 4 0 2 0 3 4 1 4 1 3 3 2 0 3 4 3 1 1 4 3 0 3 4 4 1 Control

144 3 3 3 2 4 2 4 2 3 3 0 3 2 1 2 2 4 1 4 1 2 4 3 2 0 3 4 3 2 4 3 3 Steady

145 0 1 0 2 3 4 2 3 0 3 4 2 1 4 3 0 1 2 0 0 3 2 0 0 3 2 3 0 4 2 3 0 Control

146 1 1 0 0 0 2 2 0 1 1 3 0 1 3 0 0 1 1 0 0 0 0 0 0 3 0 1 1 1 2 2 1 Control

147 4 4 4 0 0 3 0 0 4 0 0 1 1 3 1 4 0 0 4 3 0 2 0 4 0 1 0 4 2 0 0 4 Steady

148 1 0 1 4 1 3 3 3 0 3 1 3 2 2 3 0 2 3 0 0 2 4 4 0 3 4 2 1 3 1 0 0 Steady

149 0 1 0 0 0 3 0 1 0 4 4 2 2 4 2 0 2 2 1 0 1 1 1 0 4 0 1 0 1 0 0 0 Control

150 3 4 3 3 4 3 4 2 3 3 3 1 3 3 2 4 2 1 4 4 1 2 3 2 1 1 3 3 3 3 1 3 Steady

151 0 1 0 4 2 4 0 3 0 4 4 4 3 2 4 1 1 3 0 1 3 3 4 0 4 4 2 0 4 3 2 1 Binge

152 0 1 1 0 3 0 3 0 0 1 0 0 0 0 0 0 3 0 1 1 0 0 0 0 0 0 3 1 0 3 1 0 Control

153 0 2 1 0 1 0 0 0 1 0 0 0 1 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 1 1 0 1 Control

154 1 0 1 1 4 0 4 2 2 2 1 3 0 0 1 0 4 2 0 2 3 1 2 0 0 1 4 1 3 4 2 1 Control

155 0 0 2 1 2 1 1 2 1 2 1 4 3 0 1 0 1 4 3 1 2 1 3 0 1 2 3 0 3 2 1 1 Binge

156 1 2 2 0 3 1 3 2 1 3 0 2 2 0 1 1 2 3 0 2 1 2 2 1 1 2 2 1 2 1 1 2 Control

157 4 4 3 1 2 2 3 2 4 4 2 1 2 1 3 3 4 2 4 4 2 2 0 4 1 4 3 4 2 1 1 4 Steady

158 4 3 4 1 2 0 1 0 4 0 0 0 0 0 0 3 2 0 2 1 0 0 2 4 0 0 1 4 0 2 2 3 Steady

159 0 0 0 1 3 3 3 1 0 0 2 0 0 3 0 1 1 0 0 1 1 0 0 0 3 0 1 0 0 0 3 0 Control

160 1 0 0 2 4 3 3 1 0 1 2 2 3 2 2 0 4 3 1 0 1 3 4 0 3 2 4 0 3 4 4 0 Control

161 2 2 3 1 1 0 2 0 3 2 1 0 0 1 2 2 3 1 2 2 1 1 0 0 0 0 2 0 0 2 3 2 Control

162 1 1 0 0 1 1 2 0 3 0 0 0 1 0 0 3 0 1 1 3 0 0 1 2 0 1 1 3 0 0 1 1 Binge

163 2 4 2 2 0 3 0 0 2 2 4 2 0 3 4 2 0 3 3 2 3 3 2 3 3 2 0 3 2 1 0 3 Control

164 2 2 1 0 4 3 4 1 1 0 4 1 1 0 1 1 4 0 3 2 0 1 1 2 4 0 1 3 1 3 4 2 Control

165 2 4 3 3 2 2 1 2 3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0 0 1 2 1 0 1 0 0 0 2 0 Control

195 2 1 4 4 0 2 1 4 3 4 1 4 3 2 4 2 0 4 2 2 4 4 4 2 1 4 0 2 4 0 0 0 Binge

196 3 1 1 2 0 3 1 1 0 0 4 1 3 4 2 1 0 1 0 1 1 0 1 3 3 1 1 2 1 0 0 0 Control

197 2 2 1 4 0 4 3 3 2 4 3 3 4 3 4 2 2 4 2 3 4 4 3 1 3 4 3 1 4 2 1 2 Binge

198 1 1 0 3 0 2 2 4 1 4 3 4 4 3 3 1 0 4 1 2 4 4 4 1 2 4 0 1 4 0 0 1 Binge

199 4 4 4 4 2 4 2 4 4 3 4 4 4 3 4 4 4 3 4 4 4 4 4 4 4 3 1 4 4 3 3 4 Binge

200 0 0 1 2 0 1 1 3 0 2 4 2 1 3 3 0 2 1 0 0 3 3 2 0 3 2 0 0 2 2 1 0 Control

;

proc print data=gamblers; run;

libname aaem " (put your path for your aaem data here) ";

data aaem.gamblers; set gamblers;

run;