Basic Data Analysis for Time Series with R
eBook - ePub

Basic Data Analysis for Time Series with R

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Basic Data Analysis for Time Series with R

About this book

Presents modern methods to analyzing data with multiple applications in a variety of scientific fields

Written at a readily accessible level, Basic Data Analysis for Time Series with R emphasizes the mathematical importance of collaborative analysis of data used to collect increments of time or space. Balancing a theoretical and practical approach to analyzing data within the context of serial correlation, the book presents a coherent and systematic regression-based approach to model selection. The book illustrates these principles of model selection and model building through the use of information criteria, cross validation, hypothesis tests, and confidence intervals.

Focusing on frequency- and time-domain and trigonometric regression as the primary themes, the book also includes modern topical coverage on Fourier series and Akaike's Information Criterion (AIC). In addition, Basic Data Analysis for Time Series with R also features:

  • Real-world examples to provide readers with practical hands-on experience
  • Multiple R software subroutines employed with graphical displays
  • Numerous exercise sets intended to support readers understanding of the core concepts
  • Specific chapters devoted to the analysis of the Wolf sunspot number data and the Vostok ice core data sets

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Publisher
Wiley
Year
2014
Print ISBN
9781118422540
eBook ISBN
9781118593363

PART I
BASIC CORRELATION STRUCTURES

1
R BASICS

1.1 GETTING STARTED

Programming, writing code, is an integral part of modern data analysis. This book assumes some experience with a programming language. R is simply a high level programming language with several functions that perform specialized statistical analysis. Any R programmer may also write their own functions, but the focus of this book is using functions already in R and writing some basic code using these functions.
In this book, R code is always shaded. Related R output that follows is always underlined or, if extensive, presented in a table. Comments in R code follow the pound sign, #. When R functions are discussed in the text, they will be italicized.
images
FIGURE 1.1 An example of a plot in R.
Some basic statistical analysis might involve inputting some values and performing some basic statistical analysis. Following the conventions already stated,
# this is a comment x <- c(0.1,1.1,2.3,4.1, 5.6, 8.3) # create a vector of 6 values, these were just made up y <- c(8.7, 6.5, 3.1, 3.3, −1.1, −0.9) #create a second vector plot(x,y,xlab = “this places a label on the x axis”, ylab = “this labels the y axis”) title(“this is a demo”) # either “<-” or “=” can be used for assignments, but “<-” makes more sense. # The reader should be aware that “=” and “<-” are not always interchangeable in R 
(Figure 1.1).
The R code produces the data plotted in Figure 1.1.
[The commands for plots used in the book are simple commands that produce bitmap files that can easily be pasted into any report and resized. The actual graphs produced for the book use the slightly more complex tiff() function for better quality. For more information on better graphs check out help(tiff)].
Naming conventions used in this book:
n is always the sample size.
y variants represent response variables.
noise simulated white noise (independent normal random variables).
error random error added to models (may not be white noise).
x variants are independent/explanatory variables.
i the square root of −1, in other words, we will not use this for any other purpose in this book. We will not use it as a variable or name.
time usually integers from 1 to n, representing equally spaced time intervals.
A number of simple statistical operations are worth mentioning, using the data simulated for Figure 1.1.
  • mean(x) produces the output: 3.583333 which is the mean of the x values.
  • sum(x) produces the o...

Table of contents

  1. Cover
  2. Titlepage
  3. Copyright
  4. PREFACE
  5. ACKNOWLEDGMENTS
  6. PART I BASIC CORRELATION STRUCTURES
  7. PART II ANALYSIS OF PERIODIC DATA AND MODEL SELECTION
  8. PART III COMPLEX TEMPORAL STRUCTURES
  9. PART IV SOME DETAILED AND COMPLETE EXAMPLES
  10. Appendix A Using Datamarket
  11. Appendix B AIC is PRESS!
  12. Appendix C A 15-Minute Tutorial on Nonlinear Optimization
  13. REFERENCES
  14. INDEX
  15. End User License Agreement

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Basic Data Analysis for Time Series with R by DeWayne R. Derryberry in PDF and/or ePUB format, as well as other popular books in Mathematics & Probability & Statistics. We have over one million books available in our catalogue for you to explore.