Set as Homepage - Add to Favorites

精品东京热,精品动漫无码,精品动漫一区,精品动漫一区二区,精品动漫一区二区三区,精品二三四区,精品福利导航,精品福利導航。

【ポルノ 映画 2ch】Analysis of Trump on Twitter indicates he writes only the angry tweets

(Editor's note: This post has been republished from the blog Variance Explained. Visit the original post to see the code used by the author in this analysis.)

I don’t normally post about politics (I’m not particularly savvy about polling,ポルノ 映画 2ch which is where data science has had the largest impact on politics). But this weekend I saw a hypothesis about Donald Trump’s twitter account that simply begged to be investigated with data:

When Trump wishes the Olympic team good luck, he’s tweeting from his iPhone. When he’s insulting a rival, he’s usually tweeting from an Android. Is this an artifact showing which tweets are Trump’s own and which are by some handler?


You May Also Like

Others have explored Trump’s timelineand noticed this tends to hold up -- and Trump himself does indeed tweet from a Samsung Galaxy. But how could we examine it quantitatively? I’ve been writing about text mining and sentiment analysisrecently, particularly during my development of the tidytext R packagewith Julia Silge, and this is a great opportunity to apply it again.

My analysis, shown below, concludes that the Android and iPhone tweets are clearly from different people, posting during different times of day and using hashtags, links, and retweets in distinct ways. What’s more, we can see that the Android tweets are angrier and more negative, while the iPhone tweets tend to be benign announcements and pictures. Overall I’d agree with @tvaziri’s analysis: this lets us tell the difference between the campaign’s tweets (iPhone) and Trump’s own (Android).

The dataset

First we’ll retrieve the content of Donald Trump’s timeline.

We're analyzing a dataset extracted of Donald Trump’s timeline. (We’re looking only at the iPhone and Android tweets — a much smaller number are from the web client or iPad).

Overall, this includes 628 tweets from iPhone, and 762 tweets from Android. We'll start by considering what time of day the tweets occur, which we’d expect to be a “signature” of their user. Here we can spot a difference as well:

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

Trump on the Android does a lot more tweeting in the morning, while the campaign posts from the iPhone more in the afternoon and early evening. Another place we can spot a difference is in Trump’s anachronistic behavior of “manually retweeting” people by copy-pasting their tweets, then surrounding them with quotation marks:

Almost all of these quoted tweets are posted from the Android:

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

In the remaining by-word analyses in this text, I’ll filter these quoted tweets out (since they contain text from followers that may not be representative of Trump’s own tweets). Somewhere else we can see a difference involves sharing links or pictures in tweets.

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

It turns out tweets from the iPhone were 38 times as likely to contain either a picture or a link.This also makes sense with our narrative: the iPhone (presumably run by the campaign) tends to write “announcement” tweets about events, like this:

Mashable Trend Report Decode what’s viral, what’s next, and what it all means. Sign up for Mashable’s weekly Trend Report newsletter. By clicking Sign Me Up, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy. Thanks for signing up!

While Android (Trump himself) tends to write picture-less tweets like:

Comparison of words

Now that we’re sure there’s a difference between these two accounts, what can we say about the difference in the content?

What were the most common words in Trump’s tweets overall?

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

These should look familiar for anyone who has seen the feed. Now let’s consider which words are most common from the Android relative to the iPhone, and vice versa.

Which are the words most likely to be from Android and most likely from iPhone?

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

A few observations:

  • Most hashtags come from the iPhone. Indeed, almost no tweets from Trump’s Android contained hashtags, with some rare exceptions like this one. (This is true only because we filtered out the quoted “retweets,” as Trump does sometimes quote tweets like thisthat contain hashtags).

  • Words like “join” and “tomorrow,” and times like “7pm,” also came only from the iPhone. The iPhone is clearly responsible for event announcements like this one(“Join me in Houston, Texas tomorrow night at 7pm!”).

  • A lot of “emotionally charged” words, like “badly,” “crazy,” “weak,” and “dumb,” were overwhelmingly more common on Android.This supports the original hypothesis that this is the “angrier” or more hyperbolic account.

Sentiment analysis: Trump’s tweets are much more negative than his campaign’s

Since we’ve observed a difference in sentiment between the Android and iPhone tweets, let’s try quantifying it. We’ll work with the NRC Word-Emotion Associationlexicon, available from the tidytext package, which associates words with 10 sentiments: positive, negative, anger, anticipation, disgust, fear, joy, sadness, surprise, and trust.

We then want to measure how much more likely the Android account is to use an emotionally-charged term relative to the iPhone account. Since this is count data, we can use a Poisson test to measure the difference, and visualize it with a 95% confidence interval:

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

Thus, Trump’s Android account uses about 40-80 percent more words related to disgust, sadness, fear, anger, and other “negative” sentiments than the iPhone account does. (The positive emotions weren’t different to a statistically significant extent.)

We’re especially interested in which words drove this difference in sentiment. Let’s consider the words with the largest changes within each category:

Original image replaced with Mashable logoOriginal image has been replaced. Credit: Mashable

This confirms that lots of words annotated as negative sentiments (with a few exceptions like “crime” and “terrorist”) are more common in Trump’s Android tweets than the campaign’s iPhone tweets.

Conclusion: the ghost in the political machine

I was fascinated by the recent New Yorker articleabout Tony Schwartz, Trump’s ghostwriter for The Art of the Deal. Of particular interest was how Schwartz imitated Trump’s voice and philosophy:

In his journal, Schwartz describes the process of trying to make Trump’s voice palatable in the book. It was kind of “a trick,” he writes, to mimic Trump’s blunt, staccato, no-apologies delivery while making him seem almost boyishly appealing ... Looking back at the text now, Schwartz says, “I created a character far more winning than Trump actually is.”

Like any journalism, data journalism is ultimately about human interest, and there’s one human I’m interested in: who is writing these iPhone tweets? The majority of the tweets from the iPhone are fairly benign declarations. But consider cases like these, both posted from an iPhone:

These tweets certainly sound like the Trump we all know. Maybe our above analysis isn’t complete: maybe Trump has sometimes, however rarely, tweeted from an iPhone (perhaps dictating, or just using it when his own battery ran out). But what if our hypothesis is right, and these weren’t authored by the candidate -- just someone trying their best to sound like him? Or what about tweets like this (also iPhone), which defend Trump’s slogan, but doesn’t really sound like something he’d write?

A lot has been written about Trump’s mental state. But I’d really rather get inside the head of this anonymous staffer, whose job is to imitate Trump’s unique cadence (“Very sad!”), or to put a positive spin on it, to millions of followers.

Is he a true believer, or just a cog in a political machine, mixing whatever mainstream appeal he can into the @realDonaldTrump concoction? Like Tony Schwartz, will he one day regret his involvement?

David Robinson is a data scientist at Stack Overflow. In May 2015 he received his PhD in quantitative and computational biology from Princeton University. His interests include statistics, data analysis, genomics, education, and programming in R and Python. You can read more of his work at his blog,Variance Explained. 

0.1477s , 9890.6640625 kb

Copyright © 2025 Powered by 【ポルノ 映画 2ch】Analysis of Trump on Twitter indicates he writes only the angry tweets,Info Circulation  

Sitemap

Top 主站蜘蛛池模板: 精品一区二区三区影院在线午夜 | 999亚洲国产精华液 999在线观看国产 | 亚洲av无码片一区二区三区 | 国产精品亚洲产品一区二区三区 | 久久国产一区二 | 亚洲一区自拍高清亚洲精品 | 2024国产麻豆剧传媒在线观看综艺在线观看 | 爆乳无码系列肉感在线播放免费手机免费播放 | 国产成人av网站手机不卡 | 含紧一点H边做边走动免费视频 | 自偷自拍亚洲综合精品 | 亚洲av永久无无码精品一区二区 | 亚洲国产精品一区二区久久hs | 国产午夜片无码区在线导航 | 国产三级精品三级在线播放 | 岛国一区二区三区在线观看免费 | 国产精品亚洲精品在线观看 | 人妻系列在线专区视频 | 精品久久无码AV片动漫网站 | 欧美又大又粗又爽视频在线播放 | 高清香蕉在线观看视频网站 | 一二三四在线观看免费高清在 | 久久永久地址在久久线播放 | 人妻少妇中文字幕乱码 | 亚洲精品中文字幕乱码 | 久久国产欧美另类久久久 | 国产精品久久久久久久久久久威 | 亚色九九九全国免费视频 | 999精产国品一二三产区区别 | AV亚洲精品影视 | 日韩无码国产精品 | 麻豆成人91久久精品二区三区 | 成人娱乐网 | 二区三区国产野外无码理论片 | 亚洲国产精品成人五月天 | 国产成人高清亚洲一区 | 天天操天天干天天人天天干 | 国产精品露脸国语对白 | 2024久久国产精品免费热麻豆 | 2024亚洲欧美日韩在线观看 | 国产乱伦无码 |