Analysing How People Post Tweets - IT Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task:

Task:

A well-known Public Figure is investigating its public image and has approached your team to identify what the public associates with their name. They want four pieces of analysis to be performed.

8.1 Analysing how people post tweets (8 marks: 0.5+0.5+2+2+2+1) You want to analyse how followers post their tweets. The Public Figure is wondering whether their follower's behaviour is different from the other Twitter users. This would help them to decide the content of their posts. To examine this, we want to test if there is a relationship between the source of tweets and who posted them. To perform this: Use rtweet package to download tweets.

1. Download 1000 tweets about the person you selected (ignore retweets and download the tweets that are posted in the English language). Save as “tweets".

2. Download 1000 random tweets that contain the word “the” (ignore retweets and download the tweets that are posted in the English language). Save it as “random".

3. We would like to analyse the source of the tweets posted in the tweets and in the random tweets. Create a 2 by n table that contains the number of tweets posted from each source for the tweets and the random tweets. Print your table, it should look similar to the table below. Source 1 Source 2 ... Source n tweets # # # # random tweets # # # #

4. Test whether there is a relationship between the source of the tweets and the tweet group (tweets vs random )? Justify your result.

5. Obtain a bootstrap distribution of the proportion of the tweets posted from “Twitter for iPhone”.

6. Compute a 95% confidence interval of the proportion of the tweets posted from “Twitter for iPhone”.

8.2 Clustering the tweets (8 marks: 2+2+2+1+1) Public figure wants you to identify how many different topics exists in the tweet about themselves. In order to do this, you should cluster the tweets.

7. Pre-process your data (tweets) and construct a document-term matrix or a term-document matrix of the tweets (do not use random tweets),

8. Find the most appropriate number of clusters using the elbow method for the tweets by using cosine distance.

9. Cluster the tweets using k-means clustering.

10. Visualize your clustering in 2-dimensional vector space. Show each cluster in a different colour.

11. Identify the number of tweets in each cluster and print your results. Which cluster is the largest?

8.3 Identifying the topics in the cluster (5 marks: 2+2+1) The Public Figure wants to be aware of the content of the most common topic. We do not want to present all tweets to them, so we must identify what is common in tweets. They also want you to examine the language used in these tweets and would like to have a general idea about what people are talking about. We should analyse the most populated cluster that you found in the previous question.

12. Draw a word cloud of the words in the cluster.

13. Create the dendrogram of the words in the cluster and plot it. You do not need to visualize all words in the cluster in your dendrogram, set up appropriate boundaries to improve your visualization. Make sure your visualizations is readable!

14. Interpret your findings. What are the common themes/topics in the cluster?

The above IT Assignment has been solved by our  IT Assignment  Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.