1. Homepage
  2. Programming
  3. ECON6087 - Assignment 1: A Million News Headlines

ECON6087 - Assignment 1: A Million News Headlines

Engage in a Conversation
Hong KongHKUUniversity of Hong KongTextual Analysis for Economists RECON6087

ECON6087 2023Spring Assignment1 CourseNana.COM

For assignment 1, we will use a new corpus, “A Million News Headlines” Corpus, cov- ering all the news headlines published on the Australian news source ABC (Australian Broadcasting Corporation, http://www.abc.net.au) over a period of 19 years. The data can be accessed from the following Kaggle page https://www.kaggle.com/datasets/therohk/ million-headlines. You may also learn more details about this dataset and even found some coding examples from the same page. Please use this data to finish the following tasks: CourseNana.COM

1. Train word embeddings using word2vec on this corpus, and perform a sentiment analysis based on the word embeddings and the “positivity” vector. We construct this vector based on the same way as Luca Bellodi (2022): CourseNana.COM

2. Plot CourseNana.COM

the article-level sentiment scores by year-month. CourseNana.COM

positivity = success + good + happy + perfect + +important + worth + rich
failure bad sad terrible bad regret poor CourseNana.COM

·       Use the appropriate pre-processing steps that you feel fit; CourseNana.COM

·       Decide on the size of dimensions, number of iterations, and which model you CourseNana.COM

would like to train; CourseNana.COM

·       Choose a reasonable distance (or similarities) measure; CourseNana.COM

·       Find a reasonable way to aggregate the sentiment scores for each word to the document level. CourseNana.COM

3. Try to construct sentiment scores toward different countries or international organiza- tions, such as “US”, “UK”, and “Russia”, “Iran”, “NATO”, and “UN”. CourseNana.COM

Please submit your Rmarkdown files with both codes to complete the above tasks and the plots as output. The deadline is 8 March before class (at 6:15pm). CourseNana.COM

  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Hong Kong代写,HKU代写,University of Hong Kong代写,Textual Analysis for Economists 代写,R代写,ECON6087代写,Hong Kong代编,HKU代编,University of Hong Kong代编,Textual Analysis for Economists 代编,R代编,ECON6087代编,Hong Kong代考,HKU代考,University of Hong Kong代考,Textual Analysis for Economists 代考,R代考,ECON6087代考,Hong Konghelp,HKUhelp,University of Hong Konghelp,Textual Analysis for Economists help,Rhelp,ECON6087help,Hong Kong作业代写,HKU作业代写,University of Hong Kong作业代写,Textual Analysis for Economists 作业代写,R作业代写,ECON6087作业代写,Hong Kong编程代写,HKU编程代写,University of Hong Kong编程代写,Textual Analysis for Economists 编程代写,R编程代写,ECON6087编程代写,Hong Kongprogramming help,HKUprogramming help,University of Hong Kongprogramming help,Textual Analysis for Economists programming help,Rprogramming help,ECON6087programming help,Hong Kongassignment help,HKUassignment help,University of Hong Kongassignment help,Textual Analysis for Economists assignment help,Rassignment help,ECON6087assignment help,Hong Kongsolution,HKUsolution,University of Hong Kongsolution,Textual Analysis for Economists solution,Rsolution,ECON6087solution,