Journal on Policy & Complex Systems Volume 3, Issue 2 | Page 180

Simulating Heterogeneous Farmer Behaviors
the number of clusters we should use in the K-means clustering .
Separation Examination
We examine if the three clusters generated by K-means clustering provide
reasonable separation for the data . We perform K-means clustering , assigning three as the number of clusters , and setting the seed to 20 to ensure reproducibility .
The results of the K-means clustering are summarized in Table 2 . As we can see , the median values for Group 3 in all
Figure 7 . Results of using a majority rule with 26 grouping indices .
Table 2 . Group frequencies and median value by grouping variables and groups .
176