Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study

summary

Video file (mp4)

The gist

Interrupted time series analyses of proportion and rate outcomes are frequently estimated using ordinary least squares regression, despite the bounded nature of these outcomes.

In short

This study introduced 'betark,' a new joint maximum likelihood estimator for beta regression with autoregressive errors, to analyze proportion and rate outcomes in interrupted time series. It compared betark against the standard quasi-binomial GLM plus Newey–West HAC errors. Betark provided better-calibrated inference than the comparator across most conditions, especially when high autocorrelation was present.

Key concepts

betark
A joint conditional maximum likelihood estimator for beta regression with AR(k) errors. It models the mean and precision parameters together in one likelihood function, which helps produce more accurate standard errors than traditional methods.
Quasi-binomial GLM with Newey–West HAC standard errors
The standard competing method used to analyze bounded outcomes (like proportions). This approach uses a generalized linear model with a logit link and corrects for autocorrelation using Newey–West HAC standard errors, but it often leads to poorly calibrated inference.
Autoregressive Error Structure (AR(k))
A mathematical structure where the error term at any time point depends on the errors from previous time points. This models persistent autocorrelation in the data, which is common in health or cumulative outcome studies.
Better-Calibrated Inference
This means that when you calculate a confidence interval, it actually covers the true value as often as expected (e.g., a 95% CI should contain the true parameter 95% of the time). Betark showed better calibration than other methods in this study.

Terminology used across episodes

This episode discusses

The paper

Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study · Read on arXiv

Ariel Linden, DrPH

University of California, San Francisco

Interrupted time series analyses (ITSA) of proportion and rate outcomes are frequently estimated using ordinary least squares regression despite the bounded nature of these outcomes. When methods appropriate for bounded outcomes are used, the standard approach is a quasi-likelihood generalized linear model (GLM) with heteroskedasticity- and autocorrelation-consistent (HAC) standard errors. However, no existing estimator jointly models the beta-distributed conditional density and autoregressive (AR) error structure. We introduce betark, a Stata implementation of a joint conditional maximum likelihood estimator for beta regression with AR(k) errors based on a recursive substitution that yields a closed-form conditional beta likelihood with autoregressive dependence of arbitrary order. Unlike two-stage approaches, betark jointly estimates the mean, precision, and AR(k) coefficients in a single likelihood, so reported standard errors directly account for autocorrelation without separate correction. A Monte Carlo study compared betark with a quasi-binomial GLM using Newey-West HAC standard errors across AR(1)-AR(3) processes, three series lengths, and four effect sizes in a single-group ITSA design. Both methods were essentially unbiased, but betark produced better-calibrated inference than GLM+HAC in most scenarios, with the largest gains under highly persistent autocorrelation, where GLM+HAC Type I error exceeded 60% for short series. Misspecifying the AR order by one lag and varying the starting mean and pre-intervention trend had only modest effects on performance. However, betark's own Type I error remained elevated under highly persistent AR(3) processes even for the longest series examined.

Transcript

Introduction to the show: ident: Statistics. The day in statistics: methods, theory and the inference under them.

Tom: We're looking at the paper: "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes".

Jane: Here's the gist of the paper. Interrupted time series analyses of proportion and rate outcomes are frequently estimated using ordinary least squares regression, despite the bounded nature of these outcomes.

Tom: betark provides better-calibrated inference than a quasi-binomial GLM with Newey–West HAC standard errors across the large majority of conditions examined.

Jane: The core contribution of this study is the introduction and systematic evaluation of betark, a joint conditional maximum likelihood estimator for beta regression with AR(k) errors, which provides better-calibrated inference than the quasi-binomial GLM with Newey–West HAC standard errors across the large majority of conditions examined.

Tom: Model Formulation and Methodology The paper introduces the betark estimator, a Stata implementation of a joint conditional maximum likelihood estimator for beta regression with AR(k) errors based on a recursive substitution yielding a closed-form conditional beta likelihood with autoregressive dependence of arbitrary order.

Title and authors: Tom: So we're looking at this paper, "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study," and the authors are Ariel Linden from UC San Francisco. Jane, what's the big picture here?

Jane: Well, Tom, it’s about how we estimate things that are bounded between zero and one, like infection rates or readmission percentages. The paper points out that usually people use ordinary least squares regression for these proportion outcomes even when they shouldn't.

Lu: Exactly. And the issue with OLS is that it assumes the mean function is unbounded, which means you can get predictions outside the actual range of zero to one, and it completely ignores how the variance changes as you get closer to those boundaries <ref:2607.07914#pg2>.

Meng: So if we aren't using a method that understands that the outcome is bounded, we’re messing up our model assumptions even before we even look at the error structure. How does this paper fix that?

Tom: It introduces an estimator called betark, which is described as a joint conditional maximum likelihood estimator for beta regression with AR(k) errors. That sounds like they’re trying to get the mean and precision parameters right at the same time within a single likelihood <ref:2607.07914#pg1>.

Jane: Right, so instead of just estimating the mean, betark tries to estimate both that conditional mean mu t and that precision parameter phi t simultaneously, which is important because they are linked in the beta distribution <ref:2607.07914#pg3>.

Lu: The key mechanism here is a recursive substitution approach that leads to a closed-form conditional beta likelihood with an autoregressive dependence of arbitrary order <ref:2607.07914#pg1>. This means they're handling the autocorrelation directly in the likelihood structure, not just adding it on top later <ref:2607.07914#pg3>.

Meng: If they’re modeling the AR(k) error structure directly into the likelihood, that sounds like a much more robust way to handle things at scale than just using some standard correction on top <ref:2607.07914#pg3>. What kind of error structure are we talking about with this AR(k)?

Tom: They define the disturbance xi t as g(mu t) minus x prime beta, and that disturbance follows an autoregressive process of order k, which is what they're calling the AR(k) errors <ref:2607.07914#pg1>. It’s a specific way to link the mean structure to the error autocorrelation <ref:2607.07914#pg3>.

Jane: So, for someone listening who isn't a statistician, it means they are building a model where the uncertainty in the outcome at one time point depends on what happened at previous time points through this specific lagged relationship <ref:2607.07914#pg3>. It’s not just random noise; it has memory that follows an AR(k) process.

Title and authors: Lu: The core idea is that betark provides better-calibrated inference than the quasi-binomial GLM with Newey–West HAC standard errors across most conditions they tested <ref:2607.07914#pg1>. This is the main comparison they are making, and it’s a test of whether their joint likelihood approach actually leads to better confidence intervals <ref:2607.07914#pg3>.

Meng: Better calibration sounds good, but how much better are we talking? I mean, in production, we care about deployment stability. What were the actual numbers on that calibration?

Tom: They found that betark provided better-calibrated inference than the GLM+HAC comparator in the large majority of conditions examined <ref:2607.07914#pg3>. Specifically, they saw higher ninety-five percent confidence interval coverage in seven out of nine autocorrelation scenarios <ref:2607.07914#pg3>.

Jane: So, if you’re running a health study and you use betark instead of the standard GLM approach with those HAC errors, your confidence intervals are more likely to actually capture the true value more often <ref:2607.07914#pg3>. That’s a tangible difference for anyone making decisions based on these results.

Lu: But they also found that betark’s standard error ratio was closer to one point than the GLM+HAC comparator’s in seven of nine autocorrelation scenarios <ref:2607.07914#pg3>. That closeness to one suggests the variance estimation is more accurate <ref:2607.07914#pg3>.

Meng: Accuracy in variance estimation is key for me. If the standard errors are over- or under-estimated, my model will either be too conservative or too aggressive in its conclusions <ref:2607.07914#pg3>. So, if betark gives us a better estimate of that ratio, it means our operational risk assessment is more reliable <ref:2607.07914#pg3>.

Tom: The paper also tested this across three series lengths—one hundred, two hundred, and four hundred time points—and nine different autocorrelation structures, from AR(one) to AR(three) <ref:2607.07914#pg3>. That’s a big test for how stable this performance is <ref:2607.07914#pg3>.

Jane: And the authors found that when the autocorrelation is highly persistent, like in the AR(three) high-persistent condition, betark is clearly preferable to the GLM+HAC comparator at every series length they tested <ref:2607.07914#pg3>. That’s a strong recommendation for researchers dealing with slow-moving outcomes.

Lu: But there’s a caveat they mentioned about betark itself, and this is important: their own inference remains materially anticonservative at series lengths up to T equals four hundred for AR(three) high-persistent autocorrelation <ref:2607.07914#pg3>.

Meng: Anticonservative how much? Does that mean we’re overstating the certainty of our results? Because in deployment, I need conservative estimates so I don't deploy something that fails unexpectedly <ref:2607.07914#pg3>.

Tom: They also noted that missing the exact order of the autoregressive process by just one lag carried a substantially smaller inferential cost than choosing a longer series length or having high persistence <ref:2607.07914#pg3>. The misspecification of the AR order, not just the AR structure itself, was less damaging <ref:2607.07914#pg3>.

Jane: So, for a listener who only wants to know what this means for applied analysis, it’s that if your data has slow memory—like health trends or cumulative data—betark is the better tool to use compared to the standard GLM with HAC errors <ref:2607.07914#pg3>.

Title and authors: Lu: The paper explicitly states that the differences in inferential performance between these two methods arise from differences in variance estimation rather than from systematic error in point estimation <ref:2607.07914#pg3>. That’s a crucial distinction for how we interpret the results.

Meng: That makes sense. It means they aren't necessarily finding that one method is fundamentally "right" and the other is "wrong" at estimating the mean itself, but rather they are doing a better job of estimating the uncertainty around that mean <ref:2607.07914#pg3>.

Tom: So, to wrap up this paper on "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study," the main takeaway is that betark offers better-calibrated inference than the quasi-binomial GLM with Newey–West HAC standard errors in most scenarios <ref:2607.07914#pg3>.

Jane: It suggests that for outcomes bounded between zero and one, we should move beyond just applying OLS or simple logit models if we suspect there's autocorrelation present <ref:2607.07914#pg1>. This paper gives us a concrete method to handle both the bounded nature of the data and the autocorrelation at once <ref:2607.07914#pg3>.

Lu: The authors show that this joint maximum likelihood estimator, betark, handles the AR(k) structure more naturally than other approaches like fractional regression plus HAC <ref:2607.07914#pg3>. It's about how the model is built from the ground up to account for both sources of misspecification simultaneously <ref:2607.07914#pg3>.

Meng: From a deployment standpoint, I see it as a tool that respects the underlying data structure more thoroughly than just patching standard error calculations <ref:2607.07914#pg3>. It’s about building the model right, not just correcting the output <ref:2607.07914#pg3>.

Tom: So, we’ve seen that betark improves coverage and reduces the standard error ratio in many tests, especially when persistence is high <ref:2607.07914#pg3>. It's a solid methodological improvement for time series analysis of proportions and rates <ref:2607.07914#pg1>.

Jane: For listeners, this means if you’re analyzing data where the outcome is a proportion—like infection rates or adherence percentages—and you have some memory in that data, using betark instead of a simpler approach gives you more trustworthy confidence intervals <ref:2607.07914#pg3>.

Lu: The authors did flag that while they found improvements, their own inference with betark could still be material anticonservative at series lengths up to T equals four hundred for the AR(three) high-persistent condition <ref:2607.07914#pg3>. They’re being honest about where the method is still pushing its limits <ref:2607.07914#pg3>.

Meng: That's a fair caveat. It tells us that even with a good estimator, we need to be mindful of the assumptions we’re making about how long the memory lasts in our real data <ref:2607.07914#pg3>. We can't just trust it blindly without checking those persistence assumptions <ref:2607.07914#pg3>.

Title and authors: Tom: So, to wrap up this discussion on "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study," the paper shows that betark is a superior method over the GLM+HAC comparator for estimating these bounded outcomes when autocorrelation is present <ref:2607.07914#pg3>.

Jane: It’s about moving towards methods that account for both the bounded nature of the proportion and the memory structure in one single framework <ref:2607.07914#pg3>. This gives us a clearer path for analyzing complex, real-world data like health services or policy outcomes <ref:2607.07914#pg2>.

Lu: The idea is that by jointly modeling the mean, precision, and AR(k) coefficients, we get a more complete picture of the uncertainty than splitting those components up <ref:2607.07914#pg1>. That’s the core conceptual shift they are proposing for this type of analysis <ref:2607.07914#pg3>.

Meng: For me, it means that when I'm deploying models to production, I need to know which tools are actually doing a better job of capturing the true uncertainty in my predictions <ref:2607.07914#pg3>. That’s where this work is relevant for practical applications <ref:2607.07914#pg3>.

Tom: Exactly. It’s not just about getting a better point estimate; it’s about having confidence intervals that are calibrated to the actual behavior of those proportion outcomes <ref:2607.07914#pg3>.

Jane: So, if you’re working on time series data where the outcome is bounded and you see autocorrelation, this paper points us toward betark as a more robust estimation technique <ref:2607.07914#pg3>. We’ll keep an eye on how these concepts develop in the next few papers out there <ref:2607.07914#pg1>.

Lu: And for future work, they suggest extending this evaluation to multiple-group and panel interrupted time series designs, and looking at even higher autoregressive orders <ref:2607.07914#pg3>. That’s where the real deep dive into the limits of this method will happen <ref:2607.07914#pg3>.

Meng: I'm curious to see how they handle those more complex designs because that’s where things get messy in a real-world setting <ref:2607.07914#pg3>. We need to know what breaks when the data structure gets more complicated <ref:2607.07914#pg3>.

Tom: It’s clear that this paper, "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study," gives us a better tool to estimate proportions in time series when you have autocorrelation <ref:2607.07914#pg3>.

Jane: It’s a practical piece of science that helps us make more reliable inferences about bounded outcomes in real-world situations <ref:2607.07914#pg3>. That’s what we wanted to talk about today <ref:2607.07914#pg3>.

Lu: And for anyone interested in the technical details, check out how they handle the recursive substitution leading to that closed-form conditional beta likelihood <ref:2607.07914#pg1>. It’s a neat way to marry those two modeling challenges <ref:2607.07914#pg3>.

Meng: Alright team, we’re done with this one for now. Next up, we'll be looking at something completely different in the arXiv feed <ref:2607.07914#pg1>.

The paper's summary: Tom: So, we've looked at how this paper uses an estimator called betark to handle data that is both bounded—between zero and one—and has memory in its errors through an AR(k) process.

Jane: Right, so what they’re saying in the summary is that betark is better than the standard way we do things, which is using a quasi-binomial GLM with Newey–West HAC standard errors.

Lu: The authors are claiming that betark provides better-calibrated inference across most conditions examined when compared to that competitor.

Meng: So, if I'm shipping a model and I'm worried about the confidence intervals being wrong, this means betark gives me more trustworthy intervals than the standard GLM setup.

Tom: Exactly. They found that in most scenarios—across different series lengths and autocorrelation structures—betark gave better coverage for its ninety-five percent confidence intervals.

Jane: That sounds like it means when you're making a decision based on these proportion outcomes, your confidence intervals are more likely to actually capture the true value than they would be with the older method.

Lu: They also found that betark’s standard error ratio was closer to one point than the competitor's in seven of nine autocorrelation scenarios.

Meng: So, better calibration means the standard errors aren't just a random guess; they are actually reflecting how much uncertainty there really is in the data structure.

Tom: It points to better variance estimation, which is what we need when we're trying to figure out operational risk at scale.

Jane: It suggests that for time series data with bounded outcomes and autocorrelation, using this joint likelihood estimator is a more solid way to build your model from the start.

Lu: The core idea they’re pushing is modeling the mean, the precision parameter, and those AR(k) coefficients all in one single likelihood function.

Tom: That’s what makes it different from just adding an error correction on top of a regression model. They build the autoregressive structure right into the likelihood.

Meng: I'm interested because if you don't build it right, you introduce errors later, and that’s when things break at scale.

Jane: And they did flag a limitation—their own inference with betark could still be materially anticonservative when dealing with the highest persistence, AR(three) high-persistent autocorrelation, even at longer series lengths.

Lu: So, the authors are being honest that even this advanced method has its limits in terms of how much it can push its own bounds for a specific data structure.

Tom: They also pointed out that if you mess up the order of the autoregressive process by just one lag, it doesn't cause a huge drop in accuracy compared to choosing a longer time series or having high persistence.

Jane: So, for someone just listening, it means betark is a more robust estimation technique than the standard GLM approach when you have slow memory and bounded outcomes.

Lu: The paper shows that by jointly modeling those three components—mean, precision, and AR(k) errors—you get a picture of the uncertainty that's much more complete than splitting it up across different methods.

Meng: It’s about building the model right from the ground up to account for both sources of misspecification at once.

Tom: So, if you're analyzing proportion data in time series with memory, betark is a better tool for getting calibrated confidence intervals than that quasi-binomial GLM approach.

Jane: It’s a practical piece of science that points toward using this joint likelihood estimator when dealing with bounded outcomes and autocorrelation in real-world applications.

Lu: The next thing to watch is how they handle extending this evaluation to multiple-group designs and even higher autoregressive orders.

The paper's improvements: Tom: We're talking about how the paper suggests specific improvements to this betark method for handling those proportion outcomes in time series analysis.

Jane: So what are they suggesting that we should try next, beyond just using betark itself? What's the upgrade path?

Lu: The authors suggest extending the evaluation to multiple-group and panel interrupted time series designs.

Meng: Multiple groups, you mean like tracking different patient cohorts or different hospitals at once? That sounds like a massive increase in data complexity for deployment.

Tom: Exactly. And they also push for testing longer series lengths and higher autoregressive orders, specifically AR(k) where k is larger than three.

Jane: So they’re saying that to really see how well this estimator works, we need to test it on more complicated data structures and longer time frames.

Lu: They're looking at those conditions because the current results stabilize but don't fully settle down for all series lengths and every AR(k) order.

Meng: If you have to run a model for four hundred time points, the compute cost goes up significantly on my end. What does that mean practically?

Tom: It means the computational cost increases, but they are testing if the inferential gain is worth that extra processing time for those more demanding scenarios.

Jane: So it’s a trade-off: more complex data and longer runs in exchange for potentially more robust results on very long or multi-site studies.

Lu: The authors note that these limitations are where the method hasn't fully stabilized yet, so pushing into those areas is the next research step.

Meng: I get it. It sounds like they’re trying to map out where this tool is still reliable versus where we just need more computational muscle to test it further.

Tom: The paper confirms that these extensions are needed because the current performance metrics aren't fully settled under those extreme conditions yet.

Jane: So, if you’re thinking about applying this, you have to keep an eye on those future papers that tackle multiple groups and longer series, because that’s where the real practical validation will happen.

Conclusion: Tom: So we've covered the mechanics of betark, how it compares to standard methods, and what those future research directions look like for this paper on "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study."

Jane: It boils down to this: betark offers better calibration when you're dealing with proportion outcomes that have memory in their errors.

Lu: The main implication is that building the AR(k) structure directly into the likelihood gives a more complete picture of the uncertainty than just adding a standard correction on top.

Meng: From an engineering standpoint, it means our models might be less likely to give us wildly inaccurate confidence intervals when we deploy them in production settings.

Tom: Right. The authors confirm that the differences they found are mostly about variance estimation, not about the point estimate itself being systematically wrong.

Jane: So for someone just listening, it means if you're analyzing data where the outcome is a proportion and you see autocorrelation, you should look into this joint likelihood approach instead of simpler regression techniques.

Lu: It’s a shift in how we model the uncertainty around those bounded outcomes when there’s dependence in the errors.

Meng: I just want to make sure we remember that even with all these improvements, they still flagged that betark can be materially anticonservative under very high persistence scenarios.

Tom: That's a fair point, Meng. The method has its limits, and we need to respect those boundaries when planning deployment strategies.

Jane: So the paper gives us a concrete path forward: use betark for proportion time series with memory, but be mindful of those specific high-persistence conditions they highlighted.

Lu: Exactly. The next logical step is testing it on more complex designs, like multiple groups and panel studies, to see how that holds up in real-world complexity.

Meng: That’s where the cost analysis gets interesting for me—how does that complexity affect the runtime and the deployment pipeline?

Tom: Right. We'll need those numbers when we look at those future papers to see if it’s computationally feasible for us to run.

Jane: It’s clear that this work on "Beta Regression with Autoregressive Errors for Interrupted Time Series Analysis of Proportion and Rate Outcomes: A Simulation Study" gives us a better tool for handling bounded outcomes when autocorrelation is present.

Lu: The future work is definitely about extending the simulation to those more demanding designs, because that’s where the real test of its robustness will be.

Meng: I'll be paying attention to those panels because that’s where most of our real-world data lives right now.

Tom: Alright team, we've covered the core findings and the next steps for this paper. We'll keep an eye on those extensions in the next update.

More episodes

← Home

Watch the video for this episode