Estimating missing GDP
The plot on the right shows your original GDP data (on top), followed by each of the three xts objects you generated using different techniques for handling missingness: locf, nocb, and approx. Your decision about which technique to use must be informed by the circumstances, including what the data represents and what relationships you can identify from the non-missing data.
Based on your understanding of the data, which method makes the most sense in this context?
Questo esercizio fa parte del corso
Case Study: Analyzing City Time Series Data in R
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio