Social Media Means
Photo by ThisIsEngineering Pexels Logo Photo: ThisIsEngineering

How do you analyze k-means?

How k-means cluster analysis works Step 1: Specify the number of clusters (k). ... Step 2: Allocate objects to clusters. ... Step 3: Compute cluster means. ... Step 4: Allocate each observation to the closest cluster center. ... Step 5: Repeat steps 3 and 4 until the solution converges.

Is Vskit the same as TikTok?
Is Vskit the same as TikTok?

It is not TikTok though, but another China-originated short video app called Vskit that has now over 15 million users in Africa. Its parent...

Read More »
How much do Instagram ads pay?
How much do Instagram ads pay?

On average, Instagram advertising costs between $0.20 to $6.70, depending on the bidding model. For CPC or cost-per-click, advertisers pay $0.20 to...

Read More »

k-means cluster analysis is an algorithm that groups similar objects into groups called clusters. The endpoint of cluster analysis is a set of clusters, where each cluster is distinct from each other cluster, and the objects within each cluster are broadly similar to each other.

Download your free DIY Market Segmentation ebook

The required data for k-means cluster analysis

k-means cluster analysis is performed on a table of raw data, where each row represents an object and the columns represent quantitative characteristics of the objects. These quantitative characteristics are called clustering variables. For example, in the table below there are 18 objects, and there are two clustering variables, x, and y. In a real-world application, there will typically be many more objects and more variables. For example, in market segmentation, where k-means is used to find groups of consumers with similar needs, each object is a person and each variable is commonly a rating of how important various things are to consumers (e.g., quality, price, customer service, convenience).

How k-means cluster analysis works

Step 1: Specify the number of clusters (k). The first step in k-means is to specify the number of clusters, which is referred to as k. Traditionally researchers will conduct k-means multiple times, exploring different numbers of clusters (e.g., from 2 through 10). Step 2: Allocate objects to clusters. The most straightforward approach is to randomly assign objects to clusters, but there are many other approaches (e.g., using hierarchical clustering). The 18 objects have been represented by dots on a scatterplot, as seen in the diagram below, where x is shown by the horizontal position of each object and y by the vertical. The objects have been randomly assigned to the two clusters (k = 2), where one cluster is shown with filled dots and the other with unfilled dots. Step 3: Compute cluster means. For each cluster, the average value is computed for each of the variables. In the plot below, the average value of the filled dots for the variable represented by the horizontal position (x) of the dots is around 15; for the variable on the vertical dimension, it is around twelve. These two means are represented by the filled cross. Or, stated slightly differently: the filled cross is in the middle of the black dots. Similarly, the white cross is in the middle of the white dots. These crosses are variously referred to as the cluster centers, cluster means, and cluster medoids. Step 4: Allocate each observation to the closest cluster center. In the plot above, some of the filled dots are closer to the white cross and some of the white dots are closer to the black cross. When we reallocate the observations to the closest clusters we get the plot below.

Is there a new social media platform?
Is there a new social media platform?

10 New Social Media Platforms & Apps TikTok. TikTok has quickly become a major player with its detailed algorithms and unique content creation...

Read More »
Does FB pay for followers?
Does FB pay for followers?

Does Facebook pay for followers? Facebook doesn't pay for followers, but having a lot of followers on your Facebook page does help you earn more...

Read More »

Step 5: Repeat steps 3 and 4 until the solution converges. Looking at the plot above, we can see that the crosses (the cluster means) are no longer accurate. The following plot shows that they have been recomputed using step 3. In this example, the cluster analysis has converged (i.e., reallocating observations and updating means cannot improve the solution). When you have more data, more iterations are typically required (i.e., steps 3 and 4 are repeated until no respondents change clusters). The algorithm described above is known as the batch algorithm. Many other variants of k-means have been developed. Perhaps the most popular of these moves objects to a cluster one at a time, updating the mean each time.

Download your free DIY Market Segmentation ebook

The outputs from k-means cluster analysis

The main output from k-means cluster analysis is a table showing the mean values of each cluster on the clustering variables. The table of means produced from examining the data is shown below: A second output shows which object has been classified into which cluster, as shown below. Other outputs include plots and diagnostics designed to assess how much variation exists within and between clusters.

Download your free DIY Market Segmentation ebook

Can an employer refuse remote work?
Can an employer refuse remote work?

These include the fact that the nature of the work does not allow for it to be done remotely, a potential negative impact on performance, planned...

Read More »
Who reached 2 trillion first?
Who reached 2 trillion first?

Apple became the world's first $3 trillion company for a brief time during intraday trading on Jan. 3, 2022. The iPhone maker also holds the...

Read More »
Is being social media manager Hard?
Is being social media manager Hard?

It's challenging to be consistent as a social media manager, especially when you have additional marketing responsibilities. It can take hours to...

Read More »
Is a 2 million SNAP score a red flag?
Is a 2 million SNAP score a red flag?

While there are no exact numbers, most people would agree that a Snap Score over 200,000 shows that the person has used the app a lot – more than...

Read More »