How this calculation works
Estimate a Gaussian latent regression when recorded outcomes have been censored at known lower and upper bounds. Censored observations contribute tail probabilities rather than ordinary residual densities. The result includes latent mean coefficients, residual standard deviation, fitted latent means and likelihood. This is a two-bound Tobit calculation, not a correction for observations that were entirely absent from the sample.
L=∏observed φ((y−xβ)/σ)/σ ×∏lower Φ((l−xβ)/σ) ×∏upper [1−Φ((u−xβ)/σ)].A worked example
The data and censoring limits are symmetric about 2.5. An intercept-only latent Gaussian model therefore fits mean 2.5. The two zeros and two fives contribute tail probabilities, while 1,2,3,4 contribute densities. Treating the endpoints as four exact measurements gives a different variance estimate.
Good to know
Gaussian fixed-limit Tobit likelihood, 6–150 rows and ≤3 explicit design columns. Censored values must equal their stated boundary. At least p+2 uncensored records. Approximate normal CDF and local fit; no truncation, heteroscedasticity, intervals or global-optimum guarantee.
Reference: Method reference: Tobit censored regression calculator from observed values (opens in a new tab) ↗
Censoring is not truncation
A censored record remains in the data with information that its latent outcome lies beyond a threshold. A truncated record is missing altogether.
Replacing either situation with an ordinary least-squares response at the boundary changes the likelihood. Here every row has an explicit status: minus one for a lower-censored value, zero for an exact observation and one for an upper-censored value. Boundary values alone do not silently determine the observation type.
Censoring contributes Gaussian tail probabilities rather than treating censored values as exact responses or deleting them. The Bradley Terry paired comparison calculator from win counts offers a complementary calculation under its own stated assumptions.
Building the design matrix
Include a column of ones if the latent mean requires an intercept. Match each row to one response and one censoring flag. A lower-censored recorded response must equal the lower bound; an upper-censored response must equal the upper bound.
Exact observations must lie strictly inside the interval. The calculator requires enough uncensored observations to resolve the regression and rejects rank-deficient designs. Rescaling columns is sensible when predictor magnitudes differ substantially.
Worked example and mathematical rule
The data and censoring limits are symmetric about 2.5. An intercept-only latent Gaussian model therefore fits mean 2.5. The two zeros and two fives contribute tail probabilities, while 1,2,3,4 contribute densities. Treating the endpoints as four exact measurements gives a different variance estimate.
L=∏observed φ((y−xβ)/σ)/σ ×∏lower Φ((l−xβ)/σ) ×∏upper [1−Φ((u−xβ)/σ)].
How each observation enters the likelihood
An exact observation uses the normal density at its residual divided by the residual scale. A lower-censored observation uses the probability that the latent outcome is below the lower threshold.
Upper censoring uses the corresponding upper tail. These terms depend on the latent mean and shared residual standard deviation together. A large pile of boundary responses can therefore influence both coefficients and scale; treating them as repeated exact measurements would imply a different statistical model.
Latent means versus recorded means
The displayed fitted value is the mean of the unobserved Gaussian response before censoring. It can legitimately lie outside the recording interval.
The expected recorded response instead combines boundary masses with the interior continuous distribution and is generally different. Coefficients therefore describe the latent response scale, not an automatic marginal effect on recorded spending, scores or durations. State which quantity you need before using the fitted coefficients in another calculation.
Identifiability and numerical warnings
When nearly every row is censored on the same side, many combinations of location and scale can explain the observations. A local numerical optimizer cannot manufacture missing information.
The implementation rejects unresolved residual variation and search-boundary solutions, but it does not calculate confidence intervals or prove a global optimum. A successful fit also depends on Gaussian errors and a common residual variance. Heteroscedasticity or a separate zero-generating mechanism can require a different model.
Checking the data-generating story
Ask whether the limit reflects an instrument or reporting rule, rather than a natural biological or economic bound. A true bounded variable may be poorly represented by a Gaussian latent response.
Refit after checking every flag, and inspect how conclusions change when influential uncensored observations are removed. Compare likelihoods only for the same response records and censoring scheme. Prediction for a new individual still includes residual uncertainty even when the latent mean is precisely estimated.
A few questions, answered
Is a zero response always censored?
No. Use a censoring flag only when the recording process says the latent value is at or beyond a known bound.
Can fitted means exceed the upper bound?
Yes. They are latent means before the recording rule is applied.
Does this handle truncated samples?
No. Truncation conditions on entering the sample and needs a different likelihood.
Are coefficient intervals included?
No. This bounded fit provides point estimates and likelihood only.