EconPapers    
Economics at your fingertips  
 

Between and beyond: irregular series, interpolation, variograms and smoothing

Nicholas Cox

United Kingdom Stata Users' Group Meetings 2015 from Stata Users Group

Abstract: Time series (and similar one-dimensional series) are more often irregularly spaced than many methods texts or courses admit. Even with a plan of regular measurements, gaps can arise for many human or inhuman reasons, while some series are naturally irregular. Interpolation of values between known values is a centuries-old need, but one neglected by official Stata, which offers only linear interpolation and cubic spline interpolation (in Mata). I review additional user-written commands for interpolation, including those for cubic, nearest neighbour and piecewise cubic Hermite methods available from SSC. Beyond interpolation of irregular series lie the questions of characterising the structure of such series and smoothing in various ways. One useful tool standard in spatial statistics is the variogram, which relates dissimilarity as squared differences between values to their separation in time or distance in space. Diggle and others have shown uses for variograms in time series and longitudinal data analysis. I discuss user-written Stata commands for variogram calculation, plotting and use in relation to exploratory data analysis on the one hand and smoothing on the other.

Date: 2015-09-16
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2015/cox_uksug15.ppt (application/x-ms-powerpoint)

Related works:
Working Paper: Between and beyond: irregular series, interpolation, variograms and smoothing (2015) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:usug15:05

Access Statistics for this paper

More papers in United Kingdom Stata Users' Group Meetings 2015 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-04-14
Handle: RePEc:boc:usug15:05