scieee AI-readable full text Open interactive document viewer

Análisis de sentimiento en eventos con contrincantes

Naveso Cranford, Ashley Jaime

Abstract

En este trabajo consideramos el problema de la caracterización de mensajes y usuarios en las redes sociales, en este caso el servicio de microblogging Twitter. Para ello hemos descargado 13,3 millones de tweets utlizando como contexto las elecciones generales estadounidenses que tuvieron lugar en el mes de noviembre de 2016. A partir de los tweets descargados construimos un conjunto coherente mediante un proceso de limpieza de datos. Una vez construido, analizamos el conjunto utilizando la técnica del análisis de sentimiento para asignar de forma automática una etiqueta descriptiva a cada tweet que indica si el autor del tweet apoya a alguno de los candidatos o, por lo contrario, se opone activamente a alguno de los candidatos. Una vez compilados los datos obtenemos una serie de resultados, especialmente donde analizamos el comportamiento de los usuarios que apoyan a un candidato con respecto al oponente. Encontramos que los seguidores del candidato republicano Donald Trump fueron más activos en Twitter y más beligerantes contra la candidata Hillary Clinton que viceversa. Finalmente, comparamos nuestro conjunto de datos con un estudio similar en Twitter.

Full text

An´alisis de sentimiento en eventos con contrincantes Ashley J Naveso Cranford Director: Rafael Caballero Rold´an 2 Resumen En este trabajo consideramos el problema de la caracterizaci´on de mensajes y usuarios en las redes sociales, en este caso el servicio de microblogging Twitter. Para ello hemos descargado 13,3 millones de tweets utlizando como contexto las elecciones generales estadounidenses que tuvieron lugar en el mes de noviembre de 2016. A partir de los tweets descargados construimos un conjunto coherente mediante un proceso de limpieza de datos. Una vez construido, analizamos el conjunto utilizando la t´ecnica del an´alisis de sentimiento para asignar de forma autom´atica una etiqueta descriptiva a cada tweet que indica si el autor del tweet apoya a alguno de los candidatos o, por lo contrario, se opone activamente a alguno de los candidatos. Una vez compilados los datos obtenemos una serie de resultados, especialmente donde analizamos el comportamiento de los usuarios que apoyan a un candidato con respecto al oponente. Encontramos que los seguidores del candidato republicano Donald Trump fueron m´as activos en Twitter y m´as beligerantes contra la candidata Hillary Clinton que viceversa. Finalmente, comparamos nuestro conjunto de datos con un estudio similar en Twitter. Palabras clave: an´alisis de sentimiento, Naive Bayes, Twitter, elecciones, contrincantes, clasificadores. Abstract This paper considers the problem of categorizing text and users in the context of social networking, in this case the microblogging service Twitter. To to this we downloaded over 13 million tweets in the days leading up to the 2016 U.S presidential elections. Using the tweets we downloaded we used a process known as data cleansing to build a coherent dataset. Once the dataset was built, we used sentiment analysis to automatically assign a label indicating whether the tweet’s author supports one of the candidates, or on the contrary, actively opposes them. Once every tweet was labeled we compiled a series of results, the most interesting of which being analyzing the behavior of users who support a candidate while opposing the other. We found that supporters of the republican candidate Donald Trump were more active on Twitter and more belligerent against the democratic candidate Hillary Clinton than vice versa. Finally, we compare our dataset to the dataset of a similar study. Keywords: sentiment analysis, sentiment classification, Naive Bayes classifiers, Twitter, elections, candidates. 4 Table of contents 1 Introducci´on 7 2 Introduction 9 3 Data Capture 11 3.1 DataCollection............................ 11 3.2 DataStorage ............................. 12 4 Data cleaning 15 4.1 Remove data to obtain a coherent set . . . . . . . . . . . . . . . 15 4.2 Adding information . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.3 Data quality dimensions . . . . . . . . . . . . . . . . . . . . . . . 17 4.3.1 Completeness......................... 18 4.3.2 Uniqueness .......................... 18 4.3.3 Timeliness........................... 18 4.3.4 Validity ............................ 18 4.3.5 Accuracy ........................... 19 4.3.6 Consistency.......................... 19 5 Dataset description 21 5.1 Users.................................. 21 5.2 Tweets................................. 22 6 Tweet classification 27 6.1 Precision and Recall . . . . . . . . . . . . . . . . . . . . . . . . . 30 7 Classification results 33 7.1 Tweetresults ............................. 33 7.2 Userresults.............................. 37 8 One million follower fallacy 41 9 Conclusions 43 10 Conclusiones 45 5 6TABLE OF CONTENTS Chapter 1 Introducci´on Las redes sociales est´an cambiando c´omo se comparten noticias e informaci´on en la red. No solo en el campo del periodismo, sino muchos otros campos como por ejemplo la pol´ıtica. Adem´as, plataformas como el servicio de microblogging Twitter hacen posible que personalidades pol´ıticas hagan llegar sus mensajes a los usuarios directamente, que a su vez pueden crear contenido, as´ı fomentando debate en la red. Nuestro trabajo se propone analizar este debate en el contexto de las elecciones generales estadounidenses de noviembre de 2016. Para ello descargamos durante la semana que tuvieron lugar las elecciones todos los tweets que mencionaron a alguno de los dos candidatos para la presidencia: Donald Trump (@realDonaldTrump) y Hillary Clinton (@HillaryClinton). Durante la semana de captura de datos descargamos alrededor de 13 millones de tweets. Como parte novedosa en el campo nos proponemos caracterizar el tipo de usuarios que apoya a cada candidato. En particular, la novedad de este trabajo es que nos interesamos por el sentimiento que los usuarios muestran hacia el candidato opuesto, es decir, al que no apoyan. Antes de poder utilizar estos tweets hicimos una limpieza de datos para obtener un conjunto coherente. A continuaci´on comprobamos el grado de calidad del conjunto mediante un proceso de auditor´ıa descrito en el cap´ıtulo 4. El an´alisis de sentimiento es una t´ecnica com´un que se ha utilizado en muchos trabajos para obtener y clasificar autom´aticamente el significado de textos. Esta t´ecnica se ha utilizado en redes sociales[1], en el contexto comercial para analizar opiniones de usuarios, y, como en nuestro caso, para estudiar las opiniones de los usuarios de Twitter en elecciones pol´ıticas[2]. Este trabajo contempla el problema de clasificar autom´aticamente millones de tweets utilizando un clasificador probabil´ıstico conocido como clasificador Bayesiano ingenuo. Estos clasificadores pueden emplearse para tomar decisiones binarias simples, como por ejemplo decirnos si un nombre es masculino o femenino, o si un texto habla de un producto de manera positiva o negativa. Nuestro caso es m´as complicado ya que un tweet puede tener sentimiento negativo hacia Trump y positivo hacia Clinton o tener sentimiento neutral hacia 7 8CHAPTER 1. INTRODUCCI ´ ON ambos. Esto da lugar a muchas posibilidades y es un problema que afrontamos en el cap´ıtulo 6. Para minimizar el n´umero de posibilidades de clasificaci´on abordamos el problema de forma paralela. Es decir, clasificamos cada tweet una vez por candidato. Una vez clasificados todos los tweets podemos proceder a analizarlos y extraer resultados aplicados a tweets y usuarios como veremos en el cap´ıtulo 7. Para aplicar los resultados a los usuarios exportamos la clasificaci´on de tweets para clasificarlos por usuarios. Estos resultados se encuentran en la secci´on 7.2. Una vez terminado el proceso encontramos unas diferencias significativas entre los seguidores de ambos candidatos y veremos que en la mayor parte de los casos, los n´umeros benefician al candidato Donald Trump. Chapter 2 Introduction Social networking is changing how news and information is shared online. Not only in journalism, but in fields like marketing and politics as well. Social networking also gives politicians a platform that allows them to directly interact with users, who at the same time create content, leading to online debate. This paper analyzes this debate in the context of the November 2016 U.S elections. In the week leading to the elections we downloaded over 13 million tweets published by users who mentioned one of the two presidential candidates: Donald Trump (@realDonaldTrump) and Hillary Clinton (@HillaryClinton). Previous works have studied Twitter but few have tried to characterize the type of users who support each candidate. The novelty of this paper is that we examine the sentiment that users show toward the candidate they do not support. The tweets we used could not be used in their raw format and we used a technique known as data cleansing to build a coherent dataset. We followed this up by assessing the quality of the data, a process described in chapter 4. Sentiment analysis is a method that has been frequently used in other studies to automatically obtain and classify the meaning of texts. This method has been used in social networking[1], and, like in our case, to study the opinions of Twitter users during political elections[2]. Once the coherent dataset was built we encountered the problem of classifying every tweet. This was done using a probabilistic classifier known as a Naive Bayes Classifier. These classifiers ca be used to make simple binary decisions. For example, we could use a classifier to determine whether a name is male or female, or if a product review is positive or negative. Our case is more complex because a tweet can have negative sentiment toward Trump and positive sentiment toward Clinton, or a tweet could simply be stating a fact and not have sentiment at all. The number of classifying choices makes the decision harder to make and is more thoroughly discussed in chapter 6. We made the classifier’s job easier by taking a parallel approach, meaning each tweet was classified one time for each candidate. When every tweet in the dataset was classified we were able to survey them 9 16 CHAPTER 4. DATA CLEANING Create tweets collection Create users collection Remove duplicates and tweets published by suspended or deleted accounts Remove retweets whose original tweet is outside of the time frame Remove all tweets without a source. 2.44 million tweets were removed Figure 4.1: Data removal cleanup 4.2 Adding information To have a better understanding of the dataset we also added additional fields to both user and tweet documents. We added three fields related to retweets to every tweet document: RT screen for tweet documents. Indicates the original user’s Twitter handle. Its value is nothing(””) if the tweet was never retweeted source the original tweet’s ID. Its value is nothing(””) if the tweet was never retweeted RTin number of times the tweet has been retweeted. 0 if the tweet was never retweeted We also compiled a summary for each user: tweets : the user’s Twitter activity report all : user’s tweet count at the time of their first tweet in the time frame total : user’s tweet count in the time frame. total = RT + original RT : number of retweets in the time frame original : number of original tweets in the time frame Finally, fields related to sentiment analysis were added during the classification process. These fields will be discussed in chapter 4: Tweet classification. 4.3. DATA QUALITY DIMENSIONS 17 A detailed illustration of the steps taken to add information to the dataset can be found in figure 4.2. Add retweet information to tweets and users Calculate and add ”mentions” field to each user Calculate and add ”RTin” field and tweets posted by each user Add sentiment analysis details to users and tweets Figure 4.2: Data addition flowchart 4.3 Data quality dimensions Once we cleaned the dataset and added new fields to the documents, we examined the dataset to measure the quality of the data. To do this, we based our analysis on a paper titled The Six Primary Dimensions for Data Quality Assessment[3]. Another interesting book on data quality is Data Quality Assessment[4]. This paper outlines six key ‘dimensions’ recommended to be used when assessing or describing data quality. In this context, the authors take the term data quality dimension to mean: some thing that can either be measured or assessed in order to understand the quality of the data. The six dimensions are: •Completeness •Uniqueness •Timeliness •Validity •Accuracy •Consistency 18 CHAPTER 4. DATA CLEANING 4.3.1 Completeness Completeness is defined as The proportion of stored data against the potential of ”100% complete”. In our case, this would be calculated by dividing the total number of tweets and users in our database by 100% of the tweets published in the time frame and the active users. During the data capture phase our collection program experienced several short pauses during which we weren’t able to collect data. Because our program was not running, we are unable to know how many tweets were missed, and thus unable to accurately measure completeness. However, we estimate that the data we missed is a small percentage of our dataset, and that the missed data is not critical. A way we can calculate the completeness of our dataset is by comparing the initial data to the final usable dataset. Completeness =7.803.405 13.358.219 ×100 = 58.4% 4.3.2 Uniqueness Uniqueness is defined as No thing will be recorded more than once based upon how that thing is identified. One way of calculating the degree of uniqueness would be to divide the number of unique documents by the number of total documents. Our case is special because we store original tweets and retweets. If we were to consider retweets exact copies of tweets, the uniqueness of the dataset would be of 71.1%. However, in our case we consider each retweet to be unique because we don’t only store the tweet’s text, but data about the users who are forwarding the tweets. With that in mind, we can say that our dataset’s uniqueness is of 100%. 4.3.3 Timeliness Timeliness is defined as The degree to which data represent reality from the required point in time. This can be understood as the time that has elapsed between data collection and data storage. Our data collection program builds and stores the MongoDB documents as soon as they are detected, so there is a high degree of timeliness. 4.3.4 Validity Validity is defined as Data are valid if it conforms to the syntax (format, type, range) of its definition. In our case validy means that our data conforms to a series of rules. One of the most important aspects of our dataset are that dates and times are stored in the same timezone. Because of this, all of our data is stored using Zulu time and date. 4.3. DATA QUALITY DIMENSIONS 19 4.3.5 Accuracy Accuracy is defined as The degree to which data correctly describes the ”real world” object or event being described. We can apply this measure to our dataset by asking one question: how closely do our tweet documents resemble the tweets themselves in the ”real world”?. We’re able to store only what the Twitter API provides us. In some cases for long tweets, Twitter didn’t provide the tweet’s full text. Instead, it’s cut off and replaced by an ellipsis (...). We believe the rest of our data to be accurate. 4.3.6 Consistency Consistency is defined as The absence of difference, when comparing two or more representations of a thing against a definition. The unit of measure is percentage and it can be obtained by comparing the number of inaccurate records against the total number of records. An interesting characteristic about this dimension is that consistency can be achieved without validity or accuracy. If we apply this measure to our dataset we can say that it’s consistent because of the way the database was built. If a user’s document specifies they have published ten tweets, ten distinct tweets will appear in the tweet collection by that user. This makes our dataset 100% consistent. With these data quality dimensions in mind, we feel confident of the quality of our dataset. 20 CHAPTER 4. DATA CLEANING Chapter 5 Dataset description To have a better understanding of the data obtained we queried the dataset and compiled a number of statistics that will be illustrated in this chapter. There will be a subsection for the two aforementioned entities: users and tweets. 5.1 Users To compare the users tweeting each candidate we separated users by grouping them together depending on which candidate they mentioned: @HillaryClinton or @realDonaldTrump. The obvious first step is to see what percentage of users mentioned each candidate in their tweets. Both candidates were mentioned equally in our dataset; no discernible difference was observed. Clinton Trump 51.2 48.8 Mentions (percentage) Verified accounts are those that Twitter considers to be of public interest. The owners of these accounts are usually news networks, celebrities, performers, users specializing in key interest areas, and others. Twitter uses a blue verified badge to let others know that an account of public interest is authentic. It is not easy to obtain a verified badge; the vast majority (98.65%) of users in our dataset are unverified users. Accounts must meet a variety of requirements for them to be verified, the most important being that all published tweets by the account must have an open privacy setting, meaning tweets by the account are able to be seen by any Twitter user. Additionally, the owner of the account must 21 22 CHAPTER 5. DATASET DESCRIPTION fill out a form and submit it to Twitter, who assesses each request individually and approves or denies it. If the request is denied, users must wait 30 days before submitting another. 0 20 40 60 80 100 1.3598.65 Percentage of verified accounts in blue (dataset) Since verified accounts are deemed to be of public interest, they attract more users and therefore have a far larger average amount of followers than regular accounts do. The average number of followers for verified accounts is 173054 whereas unverified accounts have an average of 1387 followers. If we perform the same calculation on each candidate’s set we saw a considerable difference: 0 20 40 60 80 100 3.2296.79 Percentage of verified accounts in blue (Clinton) 0 20 40 60 80 100 8.6791.33 Percentage of verified accounts in blue (Trump) This difference is important because, as we’ve seen, verified users are more influential than standard users and in this case it could be said that tweets mentioning Trump had more exposure than tweets mentioning Clinton. 5.2 Tweets After cleaning up the data we had a sizable dataset of tweets that we divided into two groups in the same manner as we divided the users: using mentions. These groups are not disjoint; a tweet that mentions both candidates will be part of both groups. 5.2. TWEETS 23 Clinton Trump 53.75 46.25 Percentage of tweets mentioning each candidate An important aspect about our dataset of tweets is how many of the tweets are actually original and how many tweets are simply retweets, or forwarded tweets. Original Retweet 63.2 36.8 Percentage of tweets vs retweets (dataset) We found that during the time we built the dataset, users interacted with each other by forwarding others’ tweets, rather than posting their own original tweets. We also performed the same calculation on each candidate’s tweet dataset and no significant difference was observed. Indeed, the results are almost identical to the dataset of all tweets. We can divide the original tweets in the dataset in two categories: original tweets with retweets and original tweets that weren’t retweeted. Retweeted Not retweeted 85.1 14.9 Percentage of retweeted original tweets Of our dataset of several million tweets, only 36.8% of tweets are original tweets. Only 14.9% of those original tweets were retweeted. This means that 63.2% of the tweets in the dataset are actually retweets of a small 5.49% of the entire dataset. This leads us to believe that a vast majority of tweets fall on deaf ears. The most retweeted tweet mentions both candidates, so it tops the list of the most retweeted tweet of both candidate’s dataset. The author of this tweet is @ladygaga, the second most followed account on Twitter and the tweet was 24 CHAPTER 5. DATASET DESCRIPTION forwarded 17993 times. The most retweeted tweet by an unverified author is part of @realDonaldTrump’s dataset, and was retweeted 17143 times: Conversely, the most retweeted tweet of @HillaryClinton’s dataset by an unverified author was retweeted 9546 times: 5.2. TWEETS 25 The average number of retweets of a tweet with at least one retweet is 11.5 retweets. If we compare the candidate’s dataset we can see that retweeted tweets mentioning @realDonaldTrump are forwarded more times than those mentioning @HillaryClinton. Clinton Trump 12.06 10.64 Average number of retweets of a retweeted tweet With the data at hand we were able to plot the frequency of tweets by time and date shown in figure 3.1. We can clearly see the frequency of activity rise during the day and fall at night, as well as a considerable surge in Twitter activity after election day (November 8) once the results came in. Figure 5.1: Thousands of tweets per day and hour 32 CHAPTER 6. TWEET CLASSIFICATION Label Recall TPos 85.68% ZeroT 89.81% TNeg 86.9% Figure 6.5: Recall results for the republican candidate Donald Trump Label Recall HPos 91% ZeroH 97% HNeg 58% Figure 6.6: Recall results for the democratic candidate Hillary Clinton Candidate Overall accuracy Donald Trump (R) 87.8% Hillary Clinton (D) 86.4% Figure 6.7: Overall accuracy results for both candidates Chapter 7 Classification results The classifier we described in the previous chapter assigned one or more labels to each tweet depending on its sentiment. Once the classifier was finished labeling tweets, we had a set of 7,8 million labeled tweets and 1,5 million users to analyze. 7.1 Tweet results After the classifier was finished, three new fields were added to every tweet in the dataset: opinion : if the tweet has sentiment it’s equal to 1, otherwise it’s 0 hlabel : if the sentiment is positive toward Clinton the field takes a value of 1. If it’s negative it will be -1, and if it has no sentiment toward Clinton it will be 0 tlabel : if the sentiment is positive toward Trump the field takes a value of 1. If it’s negative it will be -1, and if it has no sentiment toward Clinton it will be 0 The first step the classifier took, as mentioned in chapter 4, was to decide if a tweet has sentiment or not. This results in two disjoint sets: one set of tweets with ascertainable sentiment and a second set of tweets without sentiment. Without sentiment With sentiment 62.4 37.6 The classifier provided us with a set of 4,86 million tweets with sentiment, 62.4% of the original set. This is the set that we will consider in this chapter. The set of tweets without sentiment will not be discussed any further. 33 34 CHAPTER 7. CLASSIFICATION RESULTS The following graph illustrates the number of tweets for each individual label, that is to say, only one label and no other, in thousands of tweets. TPos HPos TNeg HNeg 948.1 1,020.71 966.75 1,386.42 Label appearances (thousands of tweets) As we can see, there are clearly more tweets with positive sentiment toward Trump than Clinton, and the proportion of tweets with positive sentiment vs negative sentiment is larger for Trump than for Clinton. Indeed, Clinton’s ratio is almost 1:1, which means that for every tweet with positive sentiment, there is another with negative sentiment. Now we can take a look at the tweets that were assigned more than one label. Two combinations will not appear because they’re complementary: TPos and TNeg, HPos and HNeg. TNeg & HNeg TNeg & HPos TPos & HNeg TPos & HPos 58.13 309.76 101.82 77.06 Label combinations (thousands of tweets) In this case one of the combinations immediately captures our attention. The number of tweets with a positive sentiment toward Trump and negative sentiment toward Clinton more than triples the second most observed combination of labels. We interpret this to mean that Trump followers, those who publish tweets with positive sentiment toward Trump, are far more likely to use Twitter to speak ill of Clinton than Clinton supporters are to speak ill of Trump. 7.1. TWEET RESULTS 35 Perhaps unsurprisingly, the least observed combination of labels was the combination of positive sentiment toward both candidates. We queried our dataset to find the most representative tweet for each label, which we determined to be the one with the most retweets and a correctly guessed sentiment by the classifier. We will begin by finding the most representative tweets that were only assigned one label. The tweets were taken directly from Twitter in order to better illustrate them. We’ll also show how many times the tweet was retweeted at the time we finished capturing our data. If we were to search for the tweet today, the number of retweets would differ because the tweet continued to be retweeted after we finished the process of capturing data. The most representative tweet for the label TPos was posted by the user @Trumptbird and it has 7705 retweets: The most representative tweet for the label HPos was posted by the user @VigilanteArtist and it has 16485 retweets: The most representative tweet for the label TNeg was posted by the user @ladygaga and it has 17993 retweets. This is the same tweet we saw in the second section of the third chapter: 36 CHAPTER 7. CLASSIFICATION RESULTS The most representative tweet for the label HNeg was posted by the user @TeamTrump and it has 11462 retweets: Now we can query the set to find the most representative tweets that the classifier assigned more than one label to. In the case of the combination of the labels TNeg and HNeg the most representative tweet was posted by the user @joe012594 and was retweeted 8882 times: In the case of the combination of the labels TNeg and HPos the most representative tweet was posted by the user @syeddoha and was retweeted 2845 times: 7.2. USER RESULTS 37 In the case of the combination of the labels TPos and HNeg, the most repeated combination of labels, the most representative tweet was posted by the user @JoseANunez1 and was retweeted 4555 times: Finally, in the case of the combination of the labels TPos and HPos, the least frequent combination of labels, the most representative tweet was posted by the user @Harlan and was retweeted 3230 times: 7.2 User results Once every tweet was labeled, a sentiment summary of the every user’s published tweets was added to the user documents: h0 : number of tweets published during the time frame with neutral sentiment toward Clinton hp : number of tweets published during the time frame with positive sentiment toward Clinton hn : number of tweets published during the time frame with negative sentiment toward Clinton t0 : number of tweets published during the time frame with neutral sentiment toward Trump 38 CHAPTER 7. CLASSIFICATION RESULTS tp : number of tweets published during the time frame with positive sentiment toward Trump tn : number of tweets published during the time frame with neutral sentiment toward Trump ph0 : h0/tweets.total php : hp/tweets.total phn : hn/tweets.total pt0 : t0/tweets.total ptp : tp/tweets.total ptn : tn/tweets.total Where the following is true: t0+tp+tn = tweets.total = tweets.RT + tweets.original h0+hp+hn = tweets.total = tweets.RT + tweets.original Using these fields we used a formula using a 20% margin for error to ascertain whether a user supports a candidate. If we were to find Trump supporters we would use this formula to find users that make it true: ptp >(pt0 + ptn + 0.2) & tweets.total >5 Conversely we can use the same formula to find users who actively oppose Trump: ptn >(pt0 + ptp + 0.2) & tweets.total >5 The total amount of supporters is proportionally low to the total number of users. However, taking into account the margin of error of the classifier and the strictness of our measure we can be reasonably sure that these users have been classified correctly. Using these measures we were able to build four subsets of users: Trump supporters Clinton supporters Against Trump Against Hillary 5,061 3,944 6,859 9,775 Number of users by sentiment The results seem to confirm the data observed in the previous section: there 7.2. USER RESULTS 39 are more Trump supporters in our dataset and more users are publishing tweets with negative sentiment toward Clinton than toward Trump. Using these four new subsets we can take a look at their characteristics and compare the types of user: Trump supporters Clinton supporters Against Trump Against Hillary 22.28 13.57 13.62 24.22 Average number of published tweets by user type Again, this measurement seems to be in line with what we’ve observed so far: Trump has more supporters than opponents in our dataset, and the opposite is true for Clinton. Furthermore, Trump supporters publish considerably more tweets than Clinton supporters. Trump supporters Clinton supporters Against Trump Against Hillary 0.18 3.06 2.85 0.61 Percentage of verified users An interesting phenomenon takes place if we query the dataset to obtain the percentage of verified users for the different types of user. While verified users are a small fraction of the dataset we can see that the results differ from the ”pro Trump” trend: Clinton supporters and Trump opponents show a bigger proportion of verified users than Trump supporters and Clinton opponents. A possible explanation for this is that Trump supporters are more active on Twitter and have more presence than Clinton supporters, while Clinton supporters are not as vocal but their tweets have more public interest than tweets published by Trump supporters. 40 CHAPTER 7. CLASSIFICATION RESULTS Now that we have identified Trump and Clinton supporters we can query the dataset to find users who support a candidate and actively oppose the other. We consider a supporter to oppose the other candidate if at least 20% of their tweets have negative sentiment toward the other candidate. Trump supporters against Clinton Clinton supporters against Trump 12 51 Percentage of supporters that oppose the other candidate The results are clear and they confirm what we suspected: Trump supporters are far more likely to publish negative tweets about Clinton than Clinton supporters are to publish negative tweets about Trump. Chapter 8 One million follower fallacy During the course of our research we encountered a term coined million follower fallacy[6] by Avnit (Avnit 2009) who claims that having a large amount of followers does not always equate to being influential in the Twitter world. We based our analysis on the paper[7] titled Measuring User Influence in Twitter: The Million Follower Fallacy that discusses and expands upon the original Avni paper. First, we must define what having influence on Twitter means. The Cambridge Dictionary defines influence as ”the power to have an effect on people or things, or someone or something having such power”. Since there is no concrete way of measuring influence on Twitter, we follow Cha et al’s example and underline three activities that we will use to measure influence: •Followers: the number of followers the user has directly indicates the size of their audience. •Mentions: the number of times the user has been mentioned indicates the user’s means to interact with other Twitter users •RTin: the number of times the user’s original tweets have been shared indicates the user’s ability to generate content In order to investigate how the three measures correlate, we compared the relative influence of the top 2033 users based on number of followers. The following table represents a graphical example of the dataset’s top 10 users based on number of followers: 41