From the course: Complete Guide to R: Wrangling, Visualizing, and Modeling Data
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Grouping cases with hierarchical clustering
From the course: Complete Guide to R: Wrangling, Visualizing, and Modeling Data
Grouping cases with hierarchical clustering
- [Instructor] Marketing and medicine and so many other applied domains. One of the most important questions is what cases, what people, what organizations go with whom? If you're in marketing, you may want to send out the same appeals to similar groups of people. If you're in medicine, you want to find out which patients are similar to one another so you can make a better prognosis and treatment plan. Underlying both of these is cluster analysis, the idea that you want to take the data that you have, and based on that data, find out which cases are most similar to one another. Now, the important thing about this is there's judgment calls in this one, because similar is a psychological concept, it's a construct, and there are many different ways of going about that. I want to show you one of the most flexible is called hierarchical clustering. Now, to do this, I'm going to load a few packages including one called cluster, another called factoextra. We can do cluster analysis, but…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Grouping cases with hierarchical clustering10m 58s
-
(Locked)
Grouping cases with k-means clustering7m 54s
-
(Locked)
Classifying cases with k-nearest neighbors11m 57s
-
(Locked)
Classifying cases with decision tree analysis9m 13s
-
(Locked)
Creating ensemble models with random forest classification9m 20s
-
(Locked)
-