rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781584885733

Hidden Markov Models for Time Series: An Introduction Using R

by ;
  • ISBN13:

    9781584885733

  • ISBN10:

    1584885734

  • Format: Hardcover
  • Copyright: 2009-04-28
  • Publisher: Chapman & Hall/
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $99.95

Summary

This book illustrates the wonderful flexibility of HMMs as general-purpose models for time series data. It presents an accessible overview of HMMs for analyzing time series data, from continuous-valued, circular, and multivariate series to binary data, bounded and unbounded counts, and categorical observations. It explores a variety of applications in animal behavior, finance, epidemiology, climatology, and sociology. The authors discuss how to employ the freely available computing environment R to carry out computations for parameter estimation, model selection and checking, decoding, and forecasting. They provide all of the data sets analyzed in the text online.

Table of Contents

Prefacep. xvii
Notation and abbreviationsp. xxi
Model structure, properties and methodsp. 1
Preliminaries: mixtures and Markov chainsp. 3
Introductionp. 3
Independent mixture modelsp. 6
Definition and propertiesp. 6
Parameter estimationp. 9
Unbounded likelihood in mixturesp. 10
Examples of fitted mixture modelsp. 11
Markov chainsp. 15
Definitions and examplep. 16
Stationary distributionsp. 18
Reversibilityp. 19
Autocorrelation functionp. 19
Estimating transition probabilitiesp. 20
Higher-order Markov chainsp. 22
Exercisesp. 24
Hidden Markov models: definition and propertiesp. 29
A simple hidden Markov modelp. 29
The basicsp. 30
Definition and notationp. 30
Marginal distributionsp. 32
Momentsp. 34
The likelihoodp. 35
The likelihood of a two-state Bernoulli-HMMp. 35
The likelihood in generalp. 37
The likelihood when data are missing at randomp. 39
The likelihood when observations are interval-censoredp. 40
Exercisesp. 41
Estimation by direct maximization of the likelihoodp. 45
Introductionp. 45
Scaling the likelihood computationp. 46
Maximization subject to constraintsp. 47
Reparametrization to avoid constraintsp. 47
Embedding in a continuous-time Markov chainp. 49
Other problemsp. 49
Multiple maxima in the likelihoodp. 49
Starting values for the iterationsp. 50
Unbounded likelihoodp. 50
Example: earthquakesp. 50
Standard errors and confidence intervalsp. 53
Standard errors via the Hessianp. 53
Bootstrap standard erros and confidence intervalsp. 55
Example: parametric bootstrapp. 55
Exercisesp. 57
Estimation by the EM algorithmp. 59
Forward and backward probabilitiesp. 59
Forward probabilitiesp. 60
Backward probabilitiesp. 61
Properties of forward and backward probabilitiesp. 62
The EM algorithmp. 63
EM in generalp. 63
EM for HMMsp. 64
M step for Poisson-and normal-HMMsp. 66
Starting from a specified statep. 67
EM for the case in which the Markov chain is stationaryp. 67
Examples of EM applied to Poisson-HMMsp. 68
Earthquakesp. 68
Foetal movement countsp. 70
Discussionp. 72
Exercisesp. 73
Forecasting, decoding and state predictionp. 75
Conditional distributionsp. 76
Forecast distributionsp. 77
Decodingp. 80
State probabilities and local decodingp. 80
Global decodingp. 82
State predictionp. 86
Exercisesp. 87
Model selection and checkingp. 89
Model selection by AIC and BICp. 89
Model checking with pseudo-residualsp. 92
Introducing pseudo-residualsp. 93
Ordinary pseudo-residualsp. 96
Forecast pseudo-residualsp. 97
Examplesp. 98
Ordinary pseudo-residuals for the earthquakesp. 98
Dependent ordinary pseudo-residualsp. 98
Discussionp. 100
Exercisesp. 101
Bayesian inference for Poisson-HMMsp. 103
Applying the Gibbs sampler to Poisson-HMMsp. 103
Generating sample paths of the Markov chainp. 105
Decomposing observed countsp. 106
Updating the parametersp. 106
Bayesian estimation of the number of statesp. 106
Use of the integrated likelihoodp. 107
Model selection by parallel samplingp. 108
Example: earthquakesp. 108
Discussionp. 110
Exercisesp. 112
Extensions of the basic hidden Markov modelp. 115
Introductionp. 115
HMMs with general univariate state-dependent distributionp. 116
HMMs based on a second-order Markov chainp. 118
HMMs for multivariate seriesp. 119
Series of multinomial-like observationsp. 119
A model for categorical seriesp. 121
Other multivariate modelsp. 122
Series that depend on covariatesp. 125
Covariates in the state-dependent distributionsp. 125
Covariates in the transition probabilitiesp. 126
Models with additional dependenciesp. 128
Exercisesp. 129
Applicationsp. 133
Epileptic seizuresp. 135
Introductionp. 135
Models fittedp. 135
Model checking by pseudo-residualsp. 138
Exercisesp. 140
Eruptions of the Old Faithful geyserp. 141
Introductionp. 141
Binary time series of short and long eruptionsp. 141
Markov chain modelsp. 142
Hidden Markov modelsp. 144
Comparison of modelsp. 147
Forecast distributionsp. 148
Normal-HMMs for durations and waiting timesp. 149
Bivariate model for durations and waiting timesp. 152
Exercisesp. 153
Drosophila speed and change of directionp. 155
Introductionp. 155
Von Mises distributionsp. 156
Von Mises-HMMs for the two subjectsp. 157
Circular autocorrelation functionsp. 158
Bivariate modelp. 161
Exercisesp. 165
Wind direction at Koebergp. 167
Introductionp. 167
Wind direction classified into 16 categoriesp. 167
Three HMMs for hourly averages of wind directionp. 167
Model comparisons and other possible modelsp. 170
Conclusionp. 173
Wind direction as a circular variablep. 174
Daily at hour 24: von Mises-HMMsp. 174
Modelling hourly change of directionp. 176
Transition probabilities varying with lagged speedp. 176
Concentration parameter varying with lagged speedp. 177
Exercisesp. 180
Models for financial seriesp. 181
Thinly traded sharesp. 181
Univariate modelsp. 181
Multivariate modelsp. 183
Discussionp. 185
Multivariate HMM for returns on four sharesp. 186
Stochastic volatility modelsp. 190
Stochastic volatility models without leveragep. 190
Application: FTSE 100 returnsp. 192
Stochastic volatility models with leveragep. 193
Application: TOPIX returnsp. 195
Discussionp. 197
Births at Edendale Hospitalp. 199
Introductionp. 199
Models for the proportion Caesareanp. 199
Models for the total number of deliveriesp. 205
Conclusionp. 208
Homicides and suicides in Cape Townp. 209
Introductionp. 209
Firearm homicides as a proportion of all homicides, suicides and legal intervention homicidesp. 209
The number of firearm homicidesp. 211
Firearm homicide and suicide proportionsp. 213
Proportion in each of the five categoriesp. 217
Animal behaviour model with feedbackp. 219
Introductionp. 219
The modelp. 220
Likelihood evaluationp. 222
The likelihood as a multiple sump. 223
Recursive evaluationp. 223
Parameter estimation by maximum likelihoodp. 224
Model checkingp. 224
Inferring the underlying statep. 225
Models for a heterogeneous group of subjectsp. 226
Models assuming some parameters to be constant across subjectsp. 226
Mixed modelsp. 227
Inclusion of covariatesp. 227
Other modifications of extensionsp. 228
Increasing the number of statesp. 228
Changing the nature of the state-dependent distributionp. 228
Application to caterpillar feeding behaviourp. 229
Date description and preliminary analysisp. 229
Parameter estimates and model checkingp. 229
Runlength distributionsp. 233
Joint models for seven subjectsp. 235
Discussionp. 236
Examples of R codep. 239
Stationary Poisson-HMM, numerical maximizationp. 239
Transform natural parameters to workingp. 240
Transform working parameters to naturalp. 240
Log-likelihood of a stationary Poisson-HMMp. 240
ML estimation of a stationary Poisson-HMMp. 241
More on Poisson-HMMs, including EMp. 242
Generate a realization of a Poisson-HMMp. 242
Forward and backward probabilitiesp. 242
EM estimation of a Poisson-HMMp. 243
Viterbi algorithmp. 244
Conditional state probabilitiesp. 244
Local decodingp. 245
State predictionp. 245
Forecast distributionsp. 246
Conditional distribution of one observation given the restp. 246
Ordinary pseudo-residualsp. 247
Bivariate normal state-dependent distributionsp. 248
Transform natural parameters to workingp. 248
Transform working parameters to naturalp. 249
Discrete log-likelihoodp. 249
MLEs of the parametersp. 250
Categorical HMM, constrained optimizationp. 250
Log-likelihoodp. 251
MLEs of the parametersp. 252
Some proofsp. 253
Factorization needed for forward probabilitiesp. 253
Two results for backward probabilitesp. 255
Conditional independence of Xt1 and $$p. 256
Referencesp. 257
Author indexp. 267
Subject indexp. 271
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program