Home  /  Products  /  Stata 15  /  Panel-data tobit models with random coefficients and intercepts

This page announced the new features in Stata 15. Please see our Stata 18 page for the new features in Stata 18.

Panel-data tobit models with random coefficients and intercepts

What's this about?

Panel-data models with random effects can be fit with Stata's me commands for multilevel modeling. And the new metobit command can fit panel-data tobit models to censored outcomes. For instance, if y is left-censored at 10, you could type

  . metobit y x1 x2, ll(10) || id:

to fit a model with random intercepts by id. In fact, you could fit this model with the existing xttobit command.

What you cannot do with xttobit is allow the slopes to vary by id. With metobit, we include random slopes for x1 in addition to the random intercepts by typing

  . metobit y x1 x2, ll(10) || id: x1

You can see Multilevel tobit models for more information on metobit and for an example with both random slopes and random intercepts.

Tell me more

You can also fit Bayesian panel-data (multilevel) tobit models using the bayes prefix.

Learn more about Stata's panel-data features.

Read more about multilevel tobit models in the Stata Multilevel Mixed-Effects Reference Manual; see [ME] metobit.


  • Random effects
    • Random intercepts
    • Random coefficients (slopes)
  • Left-censoring, right-censoring, or both
  • Censoring that varies by observation
  • Make inferences about either the uncensored or the censored outcome
  • Graph marginal effects and marginal means
  • Predict random effects and their standard errors
  • Support for complex survey data
  • Support for Bayesian estimation