Skip to content

The purpose of this assignment is to develop a statistical model to provide near real-time estimates of ILI activity in Italy using freely available data gathered from the online encyclopedia, Wikipedia.

Notifications You must be signed in to change notification settings

dastagiri7/Influenza-Like-Illness-ILI-in-Italy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Influenza-Like-Illness-ILI-in-Italy

Introduction

The goal of this assignment is trying to estimate, in near-real time, the level of influenza-like illness (ILI) in Italy by monitoring the rate of particular Wikipedia article views on a daily basis. We calculated the number of times certain influenza- or health-related Wikipedia articles were accessed each day between July 2015 and December 2018 and compared these data to official ILI activity levels provided by Influent (Rete Italiana Sorveglianza Influenza).

To this end, we have created a method of estimating current ILI activity in Italy by gathering information on the number of times particular Wikipedia articles have been viewed. Wikipedia is a massive, user-regulated, online encyclopedia.

The purpose of this assignment is to develop a statistical model to provide near real-time estimates of ILI activity in Italy using freely available data gathered from the online encyclopedia, Wikipedia.

Folder Structure

-Python Notebook

-influnet - [contains the PDF files from influnet survivelence system. We are considering the data of 2015-16, 2016-17, 2017-18 for our analysis]

-wiki - [contains the all the data collected from wikipedia based on the pages that we selected for our analysis]

Project pipeline

  1. Data Collection and Transformation

  2. Data Correlation Analysis:

    2.1 Influenza page view time series from 2015 to 2018.

    2.2 Influenza and Influnet time series from 2015 to 2018.

    2.3 Find other Wikipedia pages related to flu whose pageview time series are correlated with the Influnet signal.

    2.4 Find the pages which are closely related to Influenza page by Pearson correlation coefficient.

    2.5 Find the pages which are closely related to Influnet data by Pearson correlation coefficient

  3. Regression Analysis (Multiple Linear Regression and Lasso):

    3.1 Build a regression model that predicts the Influnet incidence for a given week based on the Wikipedia pageview data for the same week.

    3.2 Add new features to your model to include data from the preceding week.

Consolidation of results

3.1 - Multiple linear regression - Mean squared error: 0.18 Variance score: 0.89 LASSO - Mean squared error: 0.06 Variance score: 0.94

3.2 - Multiple linear regression - Mean squared error: 1.23 Variance score: -0.23 LASSO - Mean squared error: 0.06 Variance score: 0.94

As we can observe, with the actual dataset both the regression model performed comparatively well with LASSO having the best performance.

With new features (pertaining to preceding weeks' data) added the performance of the multiple linear regression model decreased multifold whereas the performance of the LASSO model remained the same irrespective of the new features. so we conclude our regression analysis that, for good prediction performance of the Influnet prevalence LASSO is a good choice.

About

The purpose of this assignment is to develop a statistical model to provide near real-time estimates of ILI activity in Italy using freely available data gathered from the online encyclopedia, Wikipedia.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published