Abstract
Time series data may be stored, manipulated and visualized in a variety of ways in S-PLUS1. This chapter discusses the basics of working with financial time series data in the form of S-PLUS “timeSeries” objects. It begins with a discussion of the specification of “timeSeries” and “timeDate” objects in S-PLUS and gives examples of how to specify common “timeDate” sequences for financial time series. Basic manipulations of financial time series are discussed and illustrated. These manipulations include aggregating and disaggregating time series, handling of missing values, creations of lags and differences and asset return calculations. The chapter ends with an overview of time series visualization tools and techniques, including the S-PLUS plotting functions for “timeSeries” as well as specialized plotting functions in S+FinMetrics.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Chow, G., and Lin, A. (1971). “Best Linear Unbiased Interpolation, Distribution, and Extrapolation of Time Series by Related Series”, Review of Economics & Statistics, 53, 372–375.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer Science+Business Media New York
About this chapter
Cite this chapter
Zivot, E., Wang, J. (2003). Time Series Specification, Manipulation, and Visualization in S-PLUS. In: Modeling Financial Time Series with S-Plus®. Springer, New York, NY. https://doi.org/10.1007/978-0-387-21763-5_2
Download citation
DOI: https://doi.org/10.1007/978-0-387-21763-5_2
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-91624-8
Online ISBN: 978-0-387-21763-5
eBook Packages: Springer Book Archive