Skip to main content
Journal of the Royal Society Interface logoLink to Journal of the Royal Society Interface
. 2022 Feb 23;19(187):20210742. doi: 10.1098/rsif.2021.0742

Fractality of tics as a quantitative assessment tool for Tourette syndrome

Payton Beeler 1, Nicholas O Jensen 3, Soyoung Kim 4, Amy Robichaux-Viehoever 5, Bradley L Schlaggar 8,9, Deanna J Greene 10, Kevin J Black 4,5,6,7,, Rajan K Chakrabarty 1,2,
PMCID: PMC8864347  PMID: 35193387

Abstract

Tics manifest as brief, purposeless and unintentional movements or noises that, for many individuals, can be suppressed temporarily with effort. Previous work has hypothesized that the chaotic temporal nature of tics could possess an inherent fractality, that is, have neighbour-to-neighbour correlation at all levels of timescale. However, demonstrating this phenomenon has eluded researchers for more than two decades, primarily because of the challenges associated with estimating the scale-invariant, power law exponent—called the fractal dimension Df—from fractional Brownian noise. Here, we confirm this hypothesis and establish the fractality of tics by examining two tic time series datasets collected 6–12 months apart in children with tics, using random walk models and directional statistics. We find that Df is correlated with tic severity as measured by the YGTTS total tic score, and that Df is a sensitive parameter in examining the effect of several tic suppression conditions on the tic time series. Our findings pave the way for using the fractal nature of tics as a robust quantitative tool for estimating tic severity and treatment effectiveness, as well as a possible marker for differentiating typical from functional tics.

Keywords: tics, Tourette syndrome, fractal, ‌provisional tic disorder

1. Introduction

Tics are brief, purposeless, unintentional behaviours appearing as repeated movements of skeletal or vocal musculature, affecting more than 20% of all children [1,2]. Approximately 0.5% of children have Tourette syndrome (TS), which is diagnosed when both motor and vocal tics occur over a period of a year or longer [3]. Tic disorders, including TS, are moderately heritable, but despite decades of active scientific research, no consensus has been reached on their pathophysiological foundations [4,5]. The COVID-19 pandemic has resulted in increased symptoms in children diagnosed with tic disorders, as well as an influx of patients with sudden onset of severe tics and tic-like attacks, the latter of which are commonly believed to be functional tic-like movements [6,7]. The similarity of tics and functional tic-like movements, and the variability of symptoms over time in tic disorders make diagnosis of functional tic-like movements a historically challenging task. Current best practice requires extensive expertise with tic disorders, thorough elicitation of historical information from the patient and family, and careful observation of the patient.

In 1998, Peterson & Leckman [8] noted that tics tend to arise in clusters (bouts of several tic occurrences within a few seconds, separated by longer tic-free intervals), but also that at longer timescales, bouts of tics lasting several seconds similarly recur in grouped episodes over the course of hours [8,9]. Such recursive behaviour in turn extends to longer time spans (days, weeks and months), maintaining self-similarity (figure 1a). Their observation suggests that the chaotic temporal nature of tics could possess an inherent fractality, that is, have neighbour-to-neighbour correlation at all levels of timescale. However, confirming this phenomenon has eluded researchers for more than two decades, primarily because of the challenges associated with estimating the scale-invariant, power law exponent—called the fractal dimension Df—from fractional Brownian noise.

Figure 1.

Figure 1.

(a) Fractal pattern in the occurrence of tics. Tics tend to arise in bouts of several tic occurrences within a few seconds, separated by longer tic-free intervals, and at longer timescales, bouts of tics lasting several seconds similarly recur in grouped episodes over the course of hours. Figure adapted from [9]. (b) Trajectory of a tic-modulated random walk (black) is compared with that of Brownian diffusive motion (blue) and non-Brownian ballistic motion (red). The position of each walker at time t is normalized by the maximum displacement of the walker, rendering the trajectories in one-dimensional space as a function of time. (c) Estimation of Df for a walker undergoing diffusive motion (blue), non-Brownian ballistic motion (red) and tic-modulated motion (black).

Here, we uncover the fractal pattern associated with the occurrence of tics from time series datasets collected 6–12 months apart in children. We demonstrate that at timescales ranging from seconds to minutes, the occurrences exhibit neighbour-to-neighbour correlation, and have an associated Df. The robustness and replicability of Df as a quantitative measure lends itself as a simple yet accurate tool for quantifying tic fractality and severity. We are unaware of any previous attempts at estimating Df of tics, which would not only provide quantitative insights into the chaotic nature of tic disorders, but also facilitate new ways for assessing tic disorders quantitatively. We also hypothesize that Df may be a sensitive parameter in differentiating tics associated with TS from functional tic-like movements.

2. Methods

2.1. Measuring the time series of tics

The clinical methods appear in detail elsewhere [10]. Briefly, we first recorded the timing of tics in patients during 5 min video sessions corresponding to one of four conditions: free to tic (baseline); verbal request not to tic (verbal); immediate token rewards for 10 s tic-free periods (differential reinforcement of other, ‘DRO’); and tokens given at the same timing as in a previous DRO session regardless of current tic appearance (non-contingent reinforcement, ‘NCR’). Author K.J.B. recorded the timing of tics as they occurred, and rewards were delivered using a custom computer program connected to a token dispenser [11]. In some participants, the NCR condition was omitted, so that most participants had 30–40 min of video at each visit. Video sessions were conducted within the first 6 months after onset of tics (screening visit), when provisional tic disorder (PTD) can be diagnosed, and again at the 12-month anniversary of the first tic (12-month visits), when a chronic tic disorder can be diagnosed. At the 12-month visit, all children still had tics, and most met diagnostic criteria for TS [12]. Data from 78 children were used to generate 535 tic time series during screening visits (164 baseline, 84 NCR, 144 verbal, 143 DRO) and 358 tic time series during 12-month visits (97 baseline, 72 NCR, 94 verbal, 95 DRO). Reproducibility and repeatability of conclusions were confirmed by co-author A.R.V., who independently recorded tic timing from the video recordings blind to visit or video condition [13]. Analysis was then performed on both sets of tic time series.

2.2. Modelling tic-modulated motion

Next, we used a random walk model in which the velocity of walkers is reversed with each tic exhibited by the patient, generating what is hereafter referred to as a ‘tic-modulated random walk'. The random walkers are first placed at position x = 0, and given an initial velocity of one position unit (arbitrary) per second. Time is then incremented by 0.1 s, and the walker will either reverse velocity or continue with the same velocity as the previous time step, according to a certain probability function (pturn(t)).

Walkers undergoing tic-modulated motion have pturn(t), which is determined by the tic time series. If a tic is not detected at time t, then pturn(t) is equal to zero, and the walker continues moving with the same velocity as the previous time step. If a tic is detected at time t, then pturn(t) is equal to unity, and the velocity of the walker is reversed. This is summarized by

pturn(t)={0,noticdetectedatt1,ticdetectedatt. 2.1

Figure 1b shows the trajectory of a tic-modulated random walker with data obtained from one child with TS (black line). The trajectory of the tic-modulated random walker is compared with two cases that represent the two extremes of a tic time series. The first case is the most chaotic case for a tic time series, Brownian diffusive motion. Under this regime, pturn(t) is a constant value of 0.5. A tic-modulated time series that closely resembles Brownian diffusive motion indicates that the patient is equally likely to tic or not tic at any given time. The second case is the most ordered case for a tic time series, non-Brownian ballistic motion. Under this regime, pturn(t) is a constant value of zero (i.e. the patient has a 0% chance of exhibiting a tic at any given time). When compared to the trajectory of a walker undergoing Brownian diffusive motion, some excursive episodes of the walker (i.e. longer periods without a tic) can be observed in the tic-modulated trajectories. Qualitatively speaking, the mobility of the tic-driven walker is stronger than that of Brownian diffusive motion but weaker than that of non-Brownian ballistic motion.

2.3. Estimation of Df using the spectral density function

The fractal dimension of the tic time series was determined by analysing the squared Fourier transform of the density autocorrelation function of the random walkers (Sf) [14], which is given by:

Sf=|1Nj=1Nexp[i(frj)]|2 2.2

whererj is the position of the walker at the jth time step, N is the total number of time steps (3000) and f is the frequency [14,15]. Equation (2.2) has been used extensively in engineering to estimate the fractal dimension of objects from their angular scattering pattern. Equation (2.2) has been slightly modified for the purpose of this work; full derivation can be found in [15]. For each random walk trajectory, Sf was found by rotating the trajectory of the walker by an angle (θ), then solving equation (2.2) for a given frequency. The result of equation (2.2) is then averaged over 180 values of θ (evenly distributed between 0 and 2π), to give Sf as a function of frequency. The slope of Sf versus f in log–log space then gives Df of the tic time series [14]. It should be noted that this work uses a stochastic model to investigate the dynamics of tic time series at relatively short timescales. Therefore, in the context of this work, Df is a local property that is independent of the Hurst coefficient [16]. Figure 1c shows examples of Sf for a tic-modulated random walker, as well as walkers undergoing Brownian diffusion and non-Brownian ballistic motion. Non-Brownian ballistic motion and Brownian diffusion can be, respectively, quantified by Df ≈ 2 and Df ≈ 1. Brownian diffusive motion and non-Brownian ballistic motion define an expected range for Df that correlates with tic severity, and experimentally measured tic time series can be interpreted within this domain.

3. Results

Figure 2a shows that for individual patients, the change in Df of the tic time series is correlated with change in tic severity, as measured by the Yale Global Tic Severity Scale total tic score (TTS) between screening and 12-month visits (r = −0.33, p = 0.03). Patients with decreased TTS between screening and 12-month visits (greater improvement in tics) also had increased Df of the tic time series. Given these results, Df of the tic time series can be used to measure tic severity, with more severe tics having Df ≈ 1, and less severe tics having Df ≈ 2. Figure 2b demonstrates the overall effectiveness of various tic suppression methods using the average Df of the tic-modulated walkers. We find that there are statistically significant changes to Df depending on suppression condition (p = 0.004, using repeated measures ANOVA) [17]. Figure 2b shows that during screening visits, DRO and verbal conditions were the most effective suppression techniques, marked by the largest increase in Df, while NCR's effects on Df were not as significant. These findings are consistent with previous results, which show that DRO is an effective suppression technique [10]. Similarly, 12 months after the onset of tics, DRO and verbal suppression conditions led to increases in Df, and the effect of NCR was not as significant. The reproducibility of our results is demonstrated in figure 2c,d. Figure 2c,d shows that Df of time series generated by examiner 2 was higher on average than Df of time series generated by examiner 1. However, Df from the two independent raters was highly correlated (r = 0.71, N = 194 sessions from screening visits), indicating that the fractal dimension can be used to draw objective conclusions regarding tic severity.

Figure 2.

Figure 2.

(a) Change in fractal dimension between screening and 12-month visit (ΔDf) as a function of change in YGTSS TTS (ΔTTS). Here, ΔDf is calculated using the tic time series under baseline condition. The red dashed line shows linear regression of ΔDf versus ΔTTS, r = −0.333, N = 41. (b) Comparison of average Df for the patients under various suppression conditions during screening visits shows that DRO led to the most effective tic suppression (largest Df). Additionally, the fractal dimension of all suppression conditions increased at 12 months (when most patients met diagnostic criteria for TS). Error bars show 95% confidence intervals. (c,d) Rater-blind reproducibility of Df as an assessment tool. Comparison of Df for tic time series generated by two examiners, with examiner 2 being blind to visit and condition. Good agreement is observed between examiners, verifying inter-rater reliability of results. Error bars show 95% confidence intervals.

4. Discussion

In the present study, we validate the hypothesis of fractal timing of tics in TS first reported over 20 years ago [8] and extend that observation for the first time to tics shortly after they appear (PTD). We first show that Df of the tic time series is correlated with a standard clinical measure of tic severity (TTS), suggesting that Df of the tic time series can be used as an objective measure of tic severity. Additionally, we measure for the first time the effect of tic suppression on the temporal dynamics of tic occurrence by quantification of Df. Using this analytical framework, we further demonstrate that various tic suppression techniques have an effect on this relationship, with increased effectiveness reflected by increased Df. Overall, DRO and verbal instruction were effective tic suppression conditions during screening and 12-month visits, with DRO being the most effective. In addition, all conditions showed increased Df at 12-month visits compared to screening visits, which may be attributed to the passage of time, with continuing cognitive development and additional practice with environmental tic suppression resulting in improved tic inhibition in the social environment. Finally, we demonstrate the robustness of this parameter via the congruence with our results by a blinded rater. Additionally, we also use a stochastic random walk model to observe Df, which does not require complex mathematical treatment in order to obtain Df. Future work should be directed to extend the scaling analysis to longer time spans, since qualitatively the temporal dynamics of tics have been observed to maintain self-similarity over months and even years. This method for analysing the timing of tic occurrence shows promise for documenting and understanding tic suppression-based behaviour therapies for TS [18]. We also speculate that tic timing patterns in patients with functional tics may be different than those seen in TS, potentially providing an objective tool to help with diagnosis [6]. Future work will include examination of the behaviour of tics outside of a laboratory setting, and the effects of environmental stressors on tic suppression.

Acknowledgements

The authors would like to thank Drs William R. Heinson, David Song and Pai Liu. A draft of this article appeared on medRxiv.

Contributor Information

Kevin J. Black, Email: kevin@wustl.edu.

Rajan K. Chakrabarty, Email: chakrabarty@wustl.edu.

Data accessibility

All relevant datasets used for this study, including time series of tics and calculated fractal dimensions, can be found in the electronic supplementary material, datasets S1 and S2. The data are provided in the electronic supplementary material [19]. Code is available at https://doi.org/10.5281/zenodo.5949339.

Authors' contributions

P.B.: data curation, formal analysis, investigation, methodology, software, validation, visualization and writing—original draft; N.O.J.: data curation and writing—review and editing; S.K.: data curation and writing—review and editing; A.R.-V.: methodology, project administration, supervision and writing—review and editing; B.L.S.: project administration and writing—review and editing; D.J.G.: methodology, project administration and writing—review and editing; K.J.B.: formal analysis, funding acquisition, project administration, resources, supervision and writing—review and editing; R.K.C.: conceptualization, formal analysis, funding acquisition, project administration, supervision, writing—original draft and writing—review and editing. All authors gave final approval for publication and agreed to be held accountable for the work performed therein.

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. This study was approved by the Washington University Human Research Protection Office (IRB), protocol nos. 201109157 and 201707059. Each child assented and a parent (guardian) gave informed consent.

Funding

Funding for this study was provided by a McKelvey Collaboration Initiation Grant (CIG) and NIH grant nos. K24MH087913; R21NS091635; K01MH104592; R01MH104030; UL1RR024992; UL1TR000448. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

References

  • 1.Black KJ. 2010. Tics. Chapter 385. In Encyclopedia of movement disorders, vol. 3 (eds Kompoliti K, Verhagen Metman L), pp. 231-236. Oxford, UK: Academic Press. [Google Scholar]
  • 2.Black KJ, Black ER, Greene DJ, Schlaggar BL. 2016. Provisional tic disorder: what to tell parents when their child first starts ticcing. F1000Research 5, 696. ( 10.12688/f1000research.8428.1) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Robertson MM. 2008. The prevalence and epidemiology of Gilles de la Tourette syndrome. J. Psychosom. Res. 65, 461-472. ( 10.1016/j.jpsychores.2008.03.006) [DOI] [PubMed] [Google Scholar]
  • 4.Singer HS, Augustine F. 2019. Controversies surrounding the pathophysiology of tics. J. Child Neurol. 34, 851-862. ( 10.1177/0883073819862121) [DOI] [PubMed] [Google Scholar]
  • 5.Zilhao NR, Olthof MC, Smit DJ, Cath DC, Ligthart L, Mathews CA, Delucchi K, Boomsma DI, Dolan CV. 2017. Heritability of tic disorders: a twin-family study. Psychol. Med. 47, 1085-1096. ( 10.1017/S0033291716002981) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Heyman I, Liang H, Hedderly T. 2021. COVID-19 related increase in childhood tics and tic-like attacks. Arch. Dis. Child. 106, 420-421. ( 10.1136/archdischild-2021-321748) [DOI] [PubMed] [Google Scholar]
  • 7.Forsyth RJ. 2021. Tics, TikTok and COVID-19. Arch. Dis. Child. 106, 417. ( 10.1136/archdischild-2021-321885) [DOI] [PubMed] [Google Scholar]
  • 8.Peterson BS, Leckman JF. 1998. The temporal dynamics of tics in Gilles de la Tourette syndrome. Biol. Psychiatry 44, 1337-1348. ( 10.1016/S0006-3223(98)00176-0) [DOI] [PubMed] [Google Scholar]
  • 9.Leckman JF. 2002. Tourette's syndrome. Lancet 360, 1577-1586. ( 10.1016/S0140-6736(02)11526-1) [DOI] [PubMed] [Google Scholar]
  • 10.Greene DJ, Koller JM, Robichaux-Viehoever A, Bihun EC, Schlaggar BL, Black KJ. 2015. Reward enhances tic suppression in children within months of tic disorder onset. Dev. Cogn. Neurosci. 11, 65-74. ( 10.1016/j.dcn.2014.08.005) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Black JK, Koller JM, Black KJ. 2017. TicTimer software for measuring tic suppression. F1000Research 6, 1560. ( 10.12688/f1000research.12327.2) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Kim S, Greene DJ, Bihun EC, Koller JM, Hampton JM, Acevedo H, Reiersen AM, Schlaggar BL, Black KJ. 2019. Provisional tic disorder is not so transient. Sci. Rep. 9, 3951. ( 10.1038/s41598-019-40133-4) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Kim S, Greene DJ, Robichaux-Viehoever A, Bihun EC, Koller JM, Acevedo H, Schlaggar BL, Black KJ. 2019. Tic suppression in children with recent-onset tics predicts 1-year tic outcome. J. Child Neurol. 34, 757-764. ( 10.1177/0883073819855531) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Schepers HE, van Beek JHGM, Bassingthwaighte JB. 2002. Four methods to estimate the fractal dimension from self-affine signals. IEEE Eng. Med. Biol. Mag 11, 57-64. ( 10.1109/51.139038) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Sorensen CM. 2001. Light scattering by fractal aggregates: a review. Aerosol Sci. Technol. 40, 648-687. ( 10.1080/02786820117868) [DOI] [Google Scholar]
  • 16.Gneiting T, Schlather M. 2004. Stochastic models that separate fractal dimension and the Hurst effect. SIAM Rev. 46, 269-282. ( 10.1137/S0036144501394387) [DOI] [Google Scholar]
  • 17.Girden ER. 1992. ANOVA: repeated measures. Newbury Park, CA: Sage. [Google Scholar]
  • 18.McGuire JF, Ricketts EJ, Piacentini J, Murphy TK, Storch EA, Lewin AB. 2015. Behavior therapy for tic disorders: an evidenced-based review and new directions for treatment research. Curr. Dev. Disord. Rep. 2, 309-317. ( 10.1007/s40474-015-0063-5) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Beeler P, Jensen NO, Kim S, Robichaux-Viehoever A, Schlaggar BL, Greene DJ, Black KJ, Chakrabarty R. 2022. Fractality of tics as a quantitative assessment tool for Tourette syndrome. FigShare. [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Citations

  1. Beeler P, Jensen NO, Kim S, Robichaux-Viehoever A, Schlaggar BL, Greene DJ, Black KJ, Chakrabarty R. 2022. Fractality of tics as a quantitative assessment tool for Tourette syndrome. FigShare. [DOI] [PMC free article] [PubMed]

Data Availability Statement

All relevant datasets used for this study, including time series of tics and calculated fractal dimensions, can be found in the electronic supplementary material, datasets S1 and S2. The data are provided in the electronic supplementary material [19]. Code is available at https://doi.org/10.5281/zenodo.5949339.


Articles from Journal of the Royal Society Interface are provided here courtesy of The Royal Society

RESOURCES