Book Image

Mathematica Data Analysis

By : Sergiy Suchok
Book Image

Mathematica Data Analysis

By: Sergiy Suchok

Overview of this book

There are many algorithms for data analysis and it’s not always possible to quickly choose the best one for each case. Implementation of the algorithms takes a lot of time. With the help of Mathematica, you can quickly get a result from the use of a particular method, because this system contains almost all the known algorithms for data analysis. If you are not a programmer but you need to analyze data, this book will show you the capabilities of Mathematica when just few strings of intelligible code help to solve huge tasks from statistical issues to pattern recognition. If you're a programmer, with the help of this book, you will learn how to use the library of algorithms implemented in Mathematica in your programs, as well as how to write algorithm testing procedure. With each chapter, you'll be more immersed in the special world of Mathematica. Along with intuitive queries for data processing, we will highlight the nuances and features of this system, allowing you to build effective analysis systems. With the help of this book, you will learn how to optimize the computations by combining your libraries with the Mathematica kernel.
Table of Contents (10 chapters)
9
Index

Time series in Mathematica

Normally, a time series is set by a number of pairs consisting of the value observation time and the value. For example, in order to monitor the progress in the development of a child, parents measure their height and note the time of the measurement. This data being accumulated can form a time series.

In order to set the time series in Mathematica, you should use the TimeSeries function. The plurality of pairs can serve as its parameters:

Time series in Mathematica

It is also possible to separately specify the set of values and the plurality of time intervals:

Time series in Mathematica

Please note that to build graphs, we've used here different functions: ListPlot for point graphs and ListLinePlot for graphs connecting the points with a line.

If we only have data values that are not tied to a specific interval, then you can use the Automatic parameter that will assign time values:

Time series in Mathematica

Mathematica can also set a series with only the beginning of a time interval. You can directly indicate that this will be the date...