Hi This dataset contains the responses of a gas multisensor device deployed on the field in an Italian city. The dataset contains 9,358 instances of hourly averaged responses from an array of several metal oxide chemical sen- sors embedded in an Air Quality Chemical Multisensor Device. The device was located on the field in a significantly polluted area, at road level, within an Italian city. Data were recorded from March 2004 to April 2005 (one year). Ground Truth hourly averaged concentrations for Total Nitrogen Oxides (NOx) and Nitrogen Dioxide (NO2) are pro- vided, together with information on weather conditions. Missing values are tagged with -200 value.

  • Im trying to split the data into two datasets: a training dataset and a test dataset. The training dataset should incude the first 7,111 observations (until the last observation of 2004). The aim will be to use the training dataset to forecast the value of NOx concentration at 9am in January 2005. Therefore, split the original dataset into a training and a test dataset. The test dataset should include the 31 observations at 9am every day in January 2005.
  • Fit a statistical model to the training data and use it to forecast the NOx concentra- tion at 9am every day in January 2005

Please guide me, I'm unable to proceed

install.packages("fma")

library(fma)

install.packages("xts")

library(xts)install.packages("dplyr")

library(dplyr) airq

Similar questions and discussions