Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Dec;63(12):3156-3167.
doi: 10.1111/epi.17415. Epub 2022 Oct 9.

Seizure count forecasting to aid diagnostic testing in epilepsy

Affiliations

Seizure count forecasting to aid diagnostic testing in epilepsy

Emily T Wang et al. Epilepsia. 2022 Dec.

Abstract

Objective: Epilepsy monitoring unit (EMU) admissions are critical for presurgical evaluation of drug-resistant epilepsy but may be nondiagnostic if an insufficient number of seizures are recorded. Seizure forecasting algorithms have shown promise for estimating the likelihood of seizures as a binary event in individual patients, but methods to predict how many seizures will occur remain elusive. Such methods could increase the diagnostic yield of EMU admissions and help patients mitigate seizure-related morbidity. Here, we evaluated the performance of a state-space method that uses prior seizure count data to predict future counts.

Methods: A Bayesian negative-binomial dynamic linear model (DLM) was developed to forecast daily electrographic seizure counts in 19 patients implanted with a responsive neurostimulation (RNS) device. Holdout validation was used to evaluate performance in predicting the number of electrographic seizures for forecast horizons ranging 1-7 days ahead.

Results: One-day-ahead prediction of the number of electrographic seizures using a negative-binomial DLM resulted in improvement over chance in 73.1% of time segments compared to a random chance forecaster and remained >50% for forecast horizons of up to 7 days. Superior performance (mean error = .99) was obtained in predicting the number of electrographic seizures in the next day compared to three traditional methods for count forecasting (integer-valued generalized autoregressive conditional heteroskedasticity model or INGARCH, 1.10; Croston, 1.06; generalized linear autoregressive moving average model or GLARMA, 2.00). Number of electrographic seizures in the preceding day and laterality of electrographic pattern detections had highest predictive value, with greater number of electrographic seizures and RNS magnet swipes in the preceding day associated with a higher number of electrographic seizures the next day.

Significance: This study demonstrates that DLMs can predict the number of electrographic seizures a patient will experience days in advance with above chance accuracy. This study represents an important step toward the translation of seizure forecasting methods into the optimization of EMU admissions.

Keywords: Bayesian inference; count forecasting; epilepsy monitoring unit; responsive neurostimulation; seizure prediction.

PubMed Disclaimer

Conflict of interest statement

S.Cl. is employed by NeuroPace. V.R.R. has served as a consultant for NeuroPace, manufacturer of the RNS System, but declares no targeted compensation or other support for this study. M.V. has no conflicts of interest to disclose. We confirm that we have read the Journal’s position on issues involved in ethical publication and affirm that this report is consistent with those guidelines.

Figures

FIGURE 1
FIGURE 1
Flow diagram of patient selection criteria and data preprocessing steps. Steps 1–6 correspond to the data selection steps described in Section 2. LE, long episode; RNS, responsive neurostimulation
FIGURE 2
FIGURE 2
Sample forecasting results. (A) Combined results of model fitting and forecasting procedure for a sample patient. Long episodes (LEs) are shown on the log scale. (B) In-depth zoom into model fitting: expected number of long episodes, obtained as pointwise posterior means of negative binomial mean process from the training phase with the first 75% of the patient’s data. Data are shown with 95% credible bands (gray area). (C) In-depth zoom into seizure forecasting: one-step-ahead point forecasts for the remaining 25% of the data, with 95% posterior predictive intervals shown as the gray area
FIGURE 3
FIGURE 3
Heatmap of Pearson correlation matrix of responsive neurostimulation variables. Values are shown as Pearson correlation coefficients between pairs of variables. LE, long episode

References

    1. Ghougassian DF, D’Souza W, Cook MJ, O’Brien TJ. Evaluating the utility of inpatient video-EEG monitoring. Epilepsia. 2004;45(8):928–32. - PubMed
    1. Haneef Z, Stern J, Dewar S, Engel J. Referral pattern for epilepsy surgery after evidence-based recommendations: a retrospective study. Neurology. 2010;75(8):699–704. - PMC - PubMed
    1. Moseley BD, Dewar S, Haneef Z, Stern JM. How long is long enough? The utility of prolonged inpatient video EEG monitoring. Epilepsy Res. 2015;109:9–12. - PubMed
    1. Brunnhuber F, Slater J, Goyal S, Amin D, Thorvardsson G, Freestone DR, et al. Past, present and future of home video-electroencephalographic telemetry: a review of the development of in-home video-electroencephalographic recordings. Epilepsia. 2020;61(Suppl 1):S3–10. - PubMed
    1. Smart O, Rolston JD, Epstein CM, Gross RE. Hippocampal seizure-onset laterality can change over long timescales: a same-patient observation over 500 days. Epilepsy Behav Case Rep. 2013;1:56–61. - PMC - PubMed

Publication types