Skip to main content

Truncated Regression: What If Only the Tall Sons Had Been Measured?

Truncated regression in R, by hand with optim() and with truncreg, on Galton’s family heights: we keep only the sons of 68 inches or more, as an army with a minimum height would, and try to recover the truth that the full data show. Truncated normal likelihood, why least squares is biased, the inverse Mills ratio, truncation against censoring (Tobit), what rounding, a wrong cut-off and non-normal errors do, restricted maximum likelihood and APA reporting.

The question: the records of a tall army

Historians learn how tall people were, and so how well they were fed, from the records of armies. But many armies had a minimum height. Shorter men were sent away, and nobody wrote them down. From such records the population looks too tall. And a regression on them, for example of a son’s height on his parents’ heights, gives wrong slopes, as we shall see.

A sample is truncated when the cases beyond a limit are missing altogether. We do not know who they were, nor how many. Other examples: an experiment that admits only families with an income below some limit (Hausman & Wise, 1977), a survey of firms with more than ten employees, the patients of a clinic that admits only those above some blood value.

Truncated regression tries to recover the line of the full population from the truncated sample. Can it? With real truncated data one never knows, because the truth is missing. So we use data for which we know the truth, Galton’s heights from simple linear regression, and make the truncated sample ourselves: an imaginary guard regiment that takes only sons of 68 inches (173 cm) or more.

Code
library(ggplot2)
library(truncreg)   # truncreg(): truncated normal regression
library(survival)   # survreg(): the censored (Tobit) model, for comparison (comes with R)

line_colours <- c(
  "all sons (the truth)" = "grey25",
  "OLS, tall sons only" = "#eb6834",
  "truncated regression" = "#2a78d6"
)

# number formats for the text
f1   <- function(x) formatC(x, format = "f", digits = 1, big.mark = ",")
f2   <- function(x) formatC(x, format = "f", digits = 2, big.mark = ",")
f3   <- function(x) formatC(x, format = "f", digits = 3, big.mark = ",")
# no leading zero
nz <- function(x, d = 2) sub("^(-?)0", "\\1", formatC(x, format = "f", digits = d))
pval <- function(p) if (p < .001) "< .001" else paste("=", nz(p, 3))
pct  <- function(x, d = 0) paste0(formatC(100 * x, format = "f", digits = d), "%")

1. The data

Code
galton <- read.csv("https://vincentarelbundock.github.io/Rdatasets/csv/HistData/GaltonFamilies.csv")
sons   <- subset(galton, gender == "male", select = c(family, father, mother, childHeight))
names(sons)[4] <- "son"

minimum <- 68                                     # inches
guards  <- subset(sons, son >= minimum)           # all that the regiment's records contain
c(all_sons = nrow(sons), in_the_records = nrow(guards), missing = nrow(sons) - nrow(guards))
      all_sons in_the_records        missing 
           481            351            130 

Galton’s (1886) file has 481 adult sons with the heights of both parents, in inches. The records of our regiment contain 351 of them. The other 130 (27%) do not exist for it.

The truth that we want to recover is the regression on all the sons:

Code
full <- lm(son ~ father + mother, data = sons)
truth <- c(coef(full), sigma = sigma(full))
round(truth, 3)
(Intercept)      father      mother       sigma 
     19.313       0.418       0.329       2.295 

2. Look at the data

Code
naive <- lm(son ~ father + mother, data = guards)
sons$kept <- sons$son >= minimum
# lines against the father's height, at the mean of the mother's height
line_at <- function(b) c(intercept = b[[1]] + b[[3]] * mean(sons$mother), slope = b[[2]])
two <- rbind(line_at(coef(full)), line_at(coef(naive)))

ggplot(sons, aes(father, son)) +
  geom_point(
    aes(shape = kept, alpha = kept),
    position = position_jitter(width = 0.15, height = 0.1, seed = 1),
    size = 1.6,
    colour = "grey30"
  ) +
  geom_hline(yintercept = minimum, linetype = "dashed") +
  geom_abline(
    aes(intercept = two[1, 1], slope = two[1, 2], colour = "all sons (the truth)"),
    linewidth = 1
  ) +
  geom_abline(
    aes(intercept = two[2, 1], slope = two[2, 2], colour = "OLS, tall sons only"),
    linewidth = 1
  ) +
  scale_shape_manual(values = c(`TRUE` = 16, `FALSE` = 1), guide = "none") +
  scale_alpha_manual(values = c(`TRUE` = 0.6, `FALSE` = 0.35), guide = "none") +
  scale_colour_manual(values = line_colours, name = NULL) +
  labs(
    title = "The regiment sees only the points above the dashed line",
    x = "father's height (inches)",
    y = "son's height (inches)"
  ) +
  theme_bw() +
  theme(legend.position = "bottom")

Plot: 2. Look at the data

The orange line, fitted to the filled points only, is too flat. The reason can be seen at the left. Sons of short fathers are short on average, so only the unusually tall ones pass the limit: there the records contain only positive errors. Sons of tall fathers pass whatever their error is. So the errors of the men in the records are related to the father’s height, and least squares is biased.

Code
cbind(all_sons = coef(full), tall_sons_only = coef(naive))
              all_sons tall_sons_only
(Intercept) 19.3128130     39.4003147
father       0.4175562      0.2288268
mother       0.3287734      0.2350343
Code
c(SD_all = sigma(full), SD_tall = sigma(naive))
  SD_all  SD_tall 
2.295355 1.676011 

The slope of the father’s height falls from 0.42 to 0.23, that of the mother’s from 0.33 to 0.24, and the residual standard deviation from 2.30 to 1.68. A larger sample of tall sons would not help. It is the wrong population.


3. The model step by step, with formulas

Step 1: the line of the whole population

\[y_i = \beta_0 + \beta_1\, \text{father}_i + \beta_2\, \text{mother}_i + \varepsilon_i, \qquad \varepsilon_i \sim N(0, \sigma^2)\]

We see case \(i\) only if \(y_i \ge c\), with \(c = 68\).

Step 2: the distribution of those we see

Among all the sons of such parents, the heights have a normal curve around \(\mu_i = \beta_0 + \beta_1 \text{father}_i + \beta_2 \text{mother}_i\). Cut off the part below \(c\). What remains has an area of \(P(y_i \ge c) = \Phi\!\big(\frac{\mu_i - c}{\sigma}\big)\), less than 1. To be a distribution again it must be divided by that area. The result is the truncated normal density:

\[f(y_i \mid y_i \ge c) = \frac{\frac{1}{\sigma}\,\phi\!\left(\frac{y_i - \mu_i}{\sigma}\right)}{\Phi\!\left(\frac{\mu_i - c}{\sigma}\right)}\]

(\(\phi\) is the height of the standard normal curve, dnorm(); \(\Phi\) the area to the left, pnorm().)

Code
shape <- do.call(
  rbind,
  lapply(c(66.5, 69, 72), function(mu) {
    h <- seq(60, 80, by = 0.05)
    data.frame(
      h,
      whole = dnorm(h, mu, truth[["sigma"]]),
      seen = ifelse(
        h >= minimum,
        dnorm(h, mu, truth[["sigma"]]) / pnorm((mu - minimum) / truth[["sigma"]]),
        NA
      ),
      label = sprintf(
        "expected height %.1f: %s seen",
        mu,
        pct(pnorm((mu - minimum) / truth[["sigma"]]))
      )
    )
  })
)
ggplot(shape, aes(h)) +
  geom_area(data = subset(shape, !is.na(seen)), aes(y = seen), fill = "#2a78d6", alpha = 0.35) +
  geom_line(aes(y = whole), colour = "grey40") +
  geom_vline(xintercept = minimum, linetype = "dashed") +
  facet_wrap(~ label, ncol = 1) +
  labs(title = "All the sons (line), and those in the records (blue), for three pairs of parents",
       x = "son's height (inches)", y = "density") +
  theme_bw()

Truncated density – Step 2: the distribution of those we see

Step 3: the average of those we see

The mean of the truncated normal is above the line:

\[E(y_i \mid y_i \ge c) = \mu_i + \sigma\, \lambda(\alpha_i), \qquad \lambda(\alpha) = \frac{\phi(\alpha)}{1 - \Phi(\alpha)}, \qquad \alpha_i = \frac{c - \mu_i}{\sigma}\]

\(\lambda\) is the inverse Mills ratio. It is large when most of the curve is cut off (\(\mu_i\) far below \(c\)) and goes to zero when nothing is. So the mean of the sons in the records is pushed up most where the parents are short. This term, which OLS does not know, is the bias.

Step 4: maximum likelihood

Add up the logarithms of the densities of step 2, and find the \(\beta\)’s and \(\sigma\) that make the sum as large as possible:

\[\log L = \sum_i \left[ \log \frac{1}{\sigma}\phi\!\left(\frac{y_i - \mu_i}{\sigma}\right) - \log \Phi\!\left(\frac{\mu_i - c}{\sigma}\right) \right]\]

The first part is the ordinary normal likelihood. The second is the correction. It says: take into account that I could not have seen it otherwise. The estimates are consistent if the model is right (Amemiya, 1973).

Code
X <- model.matrix(naive); y <- guards$son
minus_loglik <- function(par, X, y, cut) {
  # par: the coefficients, then log(sigma)
  mu <- drop(X %*% par[-length(par)])
  s <- exp(par[length(par)])
  -sum(dnorm(y, mu, s, log = TRUE) - pnorm((mu - cut) / s, log.p = TRUE))
}
start <- c(coef(naive), log(sigma(naive)))                      # start from OLS
hand  <- optim(start, minus_loglik, X = X, y = y, cut = minimum, method = "BFGS", hessian = TRUE,
               control = list(maxit = 1000, reltol = 1e-12, parscale = c(10, 0.1, 0.1, 0.1)))
c(hand$par[-4], sigma = exp(hand$par[[4]]), logLik = -hand$value)
 (Intercept)       father       mother        sigma       logLik 
   6.5424749    0.4569973    0.4764748    2.4008651 -615.6717168 

4. Fitting the model and reading the output

Code
fit <- truncreg(son ~ father + mother, data = guards, point = minimum, direction = "left")
summary(fit)

Call:
truncreg(formula = son ~ father + mother, data = guards, point = minimum, 
    direction = "left")

BFGS maximization method
99 iterations, 0h:0m:0s 
g'(-H)^-1g = 6.91E-06 
 


Coefficients :
            Estimate Std. Error t-value  Pr(>|t|)    
(Intercept) 6.520213   9.590862  0.6798    0.4966    
father      0.457161   0.091847  4.9774 6.444e-07 ***
mother      0.476635   0.094281  5.0555 4.294e-07 ***
sigma       2.401141   0.193053 12.4377 < 2.2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Log-Likelihood: -615.67 on 4 Df
Code
b <- coef(fit); se <- sqrt(diag(vcov(fit)))

point is the cut-off and direction = "left" says that the values below it are missing. The estimates agree with our own.

  • father, mother: the change in the full population’s expected height for one inch. These are the numbers we are after.
  • sigma: the residual standard deviation in the full population.
  • There is no \(R^2\), and the t tests are large-sample z tests.
Code
compare <- data.frame(
  term = c("Intercept", "Father", "Mother", "sigma"),
  truth = truth, OLS_tall = c(coef(naive), sigma(naive)),
  truncated = b, SE = se,
  z_from_truth = (b - truth) / se, row.names = NULL)
print(cbind(term = compare$term, round(compare[, -1], 3)), row.names = FALSE)
      term  truth OLS_tall truncated    SE z_from_truth
 Intercept 19.313   39.400     6.520 9.591       -1.334
    Father  0.418    0.229     0.457 0.092        0.431
    Mother  0.329    0.235     0.477 0.094        1.568
     sigma  2.295    1.676     2.401 0.193        0.548
Code
plot_data <- rbind(
  data.frame(
    term = c("Father", "Mother"),
    est = coef(full)[-1],
    se = coef(summary(full))[-1, 2],
    method = "all sons (the truth)"
  ),
  data.frame(
    term = c("Father", "Mother"),
    est = coef(naive)[-1],
    se = coef(summary(naive))[-1, 2],
    method = "OLS, tall sons only"
  ),
  data.frame(
    term = c("Father", "Mother"),
    est = b[2:3],
    se = se[2:3],
    method = "truncated regression"
  )
)
plot_data$method <- factor(plot_data$method, levels = rev(names(line_colours)))

ggplot(plot_data, aes(est, term, colour = method)) +
  geom_vline(xintercept = 0, colour = "grey60") +
  geom_pointrange(
    aes(xmin = est - 1.96 * se, xmax = est + 1.96 * se),
    position = position_dodge(width = 0.5),
    linewidth = 0.9
  ) +
  scale_colour_manual(values = line_colours, name = NULL) +
  labs(title = "Slopes with 95% intervals", x = "inches of son per inch of parent", y = NULL) +
  theme_bw() +
  theme(legend.position = "bottom")

Comparison chart – 4. Fitting the model and reading the output

The truncated regression brings the slopes back: 0.46 for the father (truth: 0.42) and 0.48 for the mother (truth: 0.33), and \(\sigma\) = 2.40 (truth: 2.30). The price is the standard error: 0.09 instead of the 0.05 of the full data. The intervals are honest: they are wide, and they contain the truth. The narrow OLS intervals do not.

Two kinds of effect

The slope \(\beta_1\) is the effect in the whole population. If the question is about the men in the regiment, it is the slope of \(E(y \mid y \ge c)\), which is smaller:

\[\frac{\partial E(y \mid y \ge c)}{\partial x} = \beta_1 \left[1 - \lambda(\alpha)\,\big(\lambda(\alpha) - \alpha\big)\right]\]

Code
mu    <- drop(X %*% b[1:3])
alpha <- (minimum - mu) / b[["sigma"]]
mills <- dnorm(alpha) / pnorm(alpha, lower.tail = FALSE)
shrink <- 1 - mills * (mills - alpha)                   # always between 0 and 1
cbind(
  value = c(
    average_factor = mean(shrink),
    effect_in_the_population = b[["father"]],
    effect_among_the_tall = b[["father"]] * mean(shrink),
    OLS = coef(naive)[["father"]]
  )
)
                             value
average_factor           0.4773988
effect_in_the_population 0.4571609
effect_among_the_tall    0.2182480
OLS                      0.2288268

Averaged over the men in the records, the factor is 0.48, so one inch of father goes with 0.22 inches among the tall sons: about what OLS found. OLS is not “wrong”. It answers the question about the regiment, and people read it as an answer about the population.


5. Truncated or censored?

A censored sample is less damaged. There we know how many cases are beyond the limit, and their predictors; only the exact outcome is missing. Suppose that the regiment had written down the parents’ heights of the rejected sons, with the note “below 68”. That is the Tobit model:

Code
sons$recorded <- pmax(sons$son, minimum)
tobit <- survreg(
  Surv(recorded, son >= minimum, type = "left") ~ father + mother,
  data = sons,
  dist = "gaussian"
)
rbind(truth = truth[1:3], tobit = coef(tobit), truncated = b[1:3])
          (Intercept)    father    mother
truth       19.312813 0.4175562 0.3287734
tobit       20.470814 0.4125360 0.3182662
truncated    6.520213 0.4571609 0.4766347
Code
rbind(truth = coef(summary(full))[, 2], tobit = sqrt(diag(vcov(tobit)))[1:3], truncated = se[1:3])
          (Intercept)     father     mother
truth        4.095028 0.04561239 0.04530087
tobit        4.106565 0.04457759 0.04455023
truncated    9.590862 0.09184728 0.09428117
Truncated Censored
Cases beyond the limit missing present, with the value “beyond the limit”
Their predictors unknown known
Their number unknown known
Model truncated regression Tobit
Standard error of the father’s slope here 0.092 0.045

The standard error of the Tobit slope is less than half as large. It is worth a lot to write down even those who are turned away. The most expensive mistake is to treat a censored sample as truncated, by deleting the cases at the limit.


6. What can go wrong

The correction rests on three assumptions: we know the cut-off, the cut-off was applied strictly, and the errors are normal, right down to the tail that we cannot see. Each can fail.

Rounding moves the cut-off

Most of Galton’s heights are rounded to an inch or a half inch. A son written down as 68 may be 67.75. So the true limit of the records is a bit below 68:

Code
share_whole <- mean(guards$son %% 1 == 0)
cuts <- c(68, 67.75, 67.5)
moved <- t(sapply(cuts, function(cc) {
  m <- truncreg(son ~ father + mother, data = guards, point = cc, direction = "left")
  c(cut = cc, coef(m)[2:4])
}))
round(rbind(moved, truth = c(NA, truth[2:4])), 3)
        cut father mother sigma
      68.00  0.457  0.477 2.401
      67.75  0.375  0.389 2.165
      67.50  0.327  0.338 2.016
truth    NA  0.418  0.329 2.295

70% of the heights in the records are whole inches. Taking 67.75 or 67.5 as the limit changes the father’s slope from 0.46 to 0.38 and 0.33. A quarter of an inch matters that much, because the heights are densest near the limit and the correction depends on how the curve is cut there. The right treatment is a likelihood for intervals (“the son is between 67.5 and 68.5”). The smallest honest step is to report the results for more than one limit.

The errors must be normal

The model extends the curve that it sees into the part that it does not see. If the hidden tail has another shape, it is wrong. A simulation with the real parents’ heights and the true line, and three kinds of errors with the same standard deviation:

Code
set.seed(17)
Xf   <- model.matrix(full); line <- drop(Xf %*% truth[1:3]); s0 <- truth[["sigma"]]
kinds <- list(normal             = function(n) rnorm(n, 0, s0),
              `long tails (t, 4 df)` = function(n) rt(n, 4) * s0 / sqrt(2),
              `skewed (long to the right)` = function(n) (rgamma(n, 4) - 4) / 2 * s0)
reps <- 500
sim <- lapply(kinds, function(draw) {
  t(replicate(reps, {
    yy <- line + draw(length(line))
    keep <- yy >= minimum
    d <- data.frame(son = yy, father = Xf[, 2], mother = Xf[, 3])[keep, ]
    o <- coef(lm(son ~ father + mother, d))
    m <- try(
      suppressWarnings(truncreg(
        son ~ father + mother,
        data = d,
        point = minimum,
        direction = "left"
      )),
      silent = TRUE
    )
    c(OLS = o[["father"]], truncated = if (inherits(m, "try-error")) NA else coef(m)[["father"]])
  }))
})
bias <- do.call(
  rbind,
  lapply(names(sim), function(k) {
    data.frame(
      errors = k,
      true = truth[["father"]],
      OLS = mean(sim[[k]][, "OLS"]),
      truncated = mean(sim[[k]][, "truncated"], na.rm = TRUE),
      SD_OLS = sd(sim[[k]][, "OLS"]),
      SD_truncated = sd(sim[[k]][, "truncated"], na.rm = TRUE),
      failed = sum(is.na(sim[[k]][, "truncated"]))
    )
  })
)
print(cbind(errors = bias$errors, round(bias[, -1], 3)), row.names = FALSE)
                     errors  true   OLS truncated SD_OLS SD_truncated failed
                     normal 0.418 0.232     0.413  0.046        0.086      0
       long tails (t, 4 df) 0.418 0.252     0.540  0.044        0.331      0
 skewed (long to the right) 0.418 0.184     0.537  0.054        0.178      0
Code
sim_long <- do.call(
  rbind,
  lapply(names(sim), function(k) {
    data.frame(
      errors = k,
      slope = as.vector(sim[[k]]),
      method = rep(c("OLS, tall sons only", "truncated regression"), each = reps)
    )
  })
)
sim_long$errors <- factor(sim_long$errors, levels = names(kinds))
ggplot(sim_long, aes(slope, fill = method, colour = method)) +
  geom_density(alpha = 0.3, na.rm = TRUE) +
  geom_vline(xintercept = truth[["father"]], linetype = "dashed") +
  facet_wrap(~errors, ncol = 1) +
  coord_cartesian(xlim = c(0, 1)) +
  scale_fill_manual(values = line_colours, name = NULL) +
  scale_colour_manual(values = line_colours, name = NULL) +
  labs(
    title = "500 simulated regiments: the slope of the father's height",
    subtitle = "Dashed: the true slope",
    x = "estimated slope",
    y = NULL
  ) +
  theme_bw() +
  theme(legend.position = "bottom", axis.text.y = element_blank(), axis.ticks.y = element_blank())

Simulation chart – The errors must be normal

  • With normal errors the truncated regression is right on average (0.41, truth 0.42), and OLS is far off (0.23).
  • With long tails it gives 0.54, and with skewed errors 0.54. The correction is biased in both cases. With skewed errors it is off by 29%.
  • Even when it is right on average, it is imprecise: the spread of the estimates is 1.9 times that of OLS.

Our errors are close to normal (the full data allow us to check), so the method had a fair chance here. With a truly truncated sample this check is impossible: the tail that would show it is the missing one.

How much can be cut away?

Code
limits <- c(64, 66, 67, 68, 69, 70)
by_limit <- do.call(
  rbind,
  lapply(limits, function(cc) {
    d <- subset(sons, son >= cc)
    m <- truncreg(son ~ father + mother, data = d, point = cc, direction = "left")
    data.frame(
      limit = cc,
      kept = nrow(d),
      share = nrow(d) / nrow(sons),
      OLS = coef(lm(son ~ father + mother, d))[["father"]],
      truncated = coef(m)[["father"]],
      SE = sqrt(vcov(m)["father", "father"])
    )
  })
)
round(by_limit, 3)
  limit kept share   OLS truncated    SE
1    64  474 0.985 0.420     0.463 0.049
2    66  438 0.911 0.360     0.489 0.060
3    67  399 0.830 0.282     0.439 0.069
4    68  351 0.730 0.229     0.457 0.092
5    69  283 0.588 0.177     0.423 0.118
6    70  227 0.472 0.150     0.673 0.248

With a quarter of the sons missing (limit 68) the estimate is still usable. When more than half of them are missing (limit 70) the standard error is 0.25, more than half of the true slope. And OLS becomes flatter and flatter.


7. Borrowing a number: restricted maximum likelihood

The weak part of the estimation is \(\sigma\). From the cut curve alone it is hard to tell a wide distribution with a low mean from a narrow one with a high mean, and errors in \(\sigma\) carry over to the slopes. Height is a special case, because its spread is nearly the same in all populations that have been measured. A’Hearn (2004) proposed to fix \(\sigma\) at a known value and to estimate the rest:

Code
with_sigma <- function(s_fixed) {
  f <- function(par) minus_loglik(c(par, log(s_fixed)), X = X, y = y, cut = minimum)
  o <- optim(
    coef(naive),
    f,
    method = "BFGS",
    hessian = TRUE,
    control = list(maxit = 1000, reltol = 1e-12, parscale = c(10, 0.1, 0.1))
  )
  list(b = o$par, se = sqrt(diag(solve(o$hessian))))
}
known <- with_sigma(truth[["sigma"]])
rbind(truth = truth[1:3], free_sigma = b[1:3], fixed_sigma = known$b)
            (Intercept)    father    mother
truth         19.312813 0.4175562 0.3287734
free_sigma     6.520213 0.4571609 0.4766347
fixed_sigma    9.555659 0.4365355 0.4545173
Code
rbind(free_sigma = se[1:3], fixed_sigma = known$se)
            (Intercept)     father     mother
free_sigma     9.590862 0.09184728 0.09428117
fixed_sigma    7.284649 0.07818965 0.07935915
Code
low <- with_sigma(0.9 * truth[["sigma"]]); high <- with_sigma(1.1 * truth[["sigma"]])
c(
  father_if_sigma_10pct_too_small = low$b[["father"]],
  father_if_sigma_10pct_too_large = high$b[["father"]]
)
father_if_sigma_10pct_too_small father_if_sigma_10pct_too_large 
                      0.3944664                       0.4819140 

With \(\sigma\) known, the standard error of the father’s slope falls from 0.092 to 0.078. But if the borrowed value is 10% too small or too large, the slope becomes 0.39 or 0.48. Here we cheated and took the true value. In practice the value comes from other studies, and it must be the spread given the predictors, not the plain one.


8. Things to keep in mind

  • Is it really truncated? If you know how many cases are beyond the limit, it is censored: use Tobit. If the cases are missing because of another variable (people who did not answer, women who do not work), it is sample selection, the subject of the Heckman model.
  • Selecting on a predictor is harmless. Keeping only the sons of tall fathers does not bias the slope (it costs precision). Only selection on the outcome does.
  • The limit must be known and strict. In real armies, short volunteers were let in when soldiers were needed, and the density near the limit thins out gradually. Historians cut at a higher point, where the records are complete.
  • Normality cannot be checked where it matters. Try other distributions (crch::trch() has logistic and t errors) and report how much the answer moves.
  • The two limits can be on both sides: crch and gamlss.tr handle them.
  • Counts without zeros (the number of visits of those who visited) need the zero-truncated Poisson or negative binomial.
  • Standard errors here ignore that brothers share their parents. For the full data we used cluster-robust errors in simple linear regression; for the truncated model, bootstrap the families.
  • No miracle. The correction replaces missing information by an assumption. If the conclusion depends on it, say so.

9. Reporting the results in APA style

A report (APA 7th edition) needs the limit and why it exists, the number of cases seen, the distribution that was assumed, the estimates with their uncertainty, and what they refer to. The numbers come from the R objects:

Code
z  <- b / se
pv <- 2 * pnorm(-abs(z))
apa_table <- data.frame(
  Predictor = c("Intercept", "Father's height", "Mother's height", "σ"),
  full = paste0(f2(truth), c(paste0(" (", f2(coef(summary(full))[, 2]), ")"), "")),
  ols = paste0(
    f2(c(coef(naive), sigma(naive))),
    c(paste0(" (", f2(coef(summary(naive))[, 2]), ")"), "")
  ),
  tr = paste0(f2(b), " (", f2(se), ")"),
  ci = paste0("[", f2(b - 1.96 * se), ", ", f2(b + 1.96 * se), "]"),
  p = c(sapply(pv[1:3], function(p) sub("^= ", "", pval(p))), "—")
)

Method (data analysis):

Only sons with a height of at least 68 inches were in the sample (351 of the 481 sons in Galton’s records; the limit was imposed for this example). Because selection depended on the outcome, we regressed the son’s height on the heights of both parents with a truncated normal regression, estimated by maximum likelihood with a left truncation point of 68. The coefficients refer to the population without truncation. We examined the sensitivity to the truncation point (67.5 and 67.75 inches, because heights were rounded). Analyses were conducted in R (Version 4.6.2; R Core Team, 2026) with the package truncreg (Croissant & Zeileis, 2026).

Results:

In the truncated regression, the son’s height increased with that of the father, b = 0.46, SE = 0.09, 95% CI [0.28, 0.64], z = 4.98, p < .001, and of the mother, b = 0.48, SE = 0.09, 95% CI [0.29, 0.66], z = 5.06, p < .001 (Table 1). Ordinary least squares on the same sample gave 0.23 and 0.24. With truncation points of 67.75 and 67.5 inches, the coefficient of the father’s height was 0.38 and 0.33.

Table 1

Son’s Height From the Parents’ Heights: Full and Truncated Samples

Predictor All sons, OLS Tall sons, OLS Tall sons, truncated 95% CI p
Intercept 19.31 (4.10) 39.40 (3.75) 6.52 (9.59) [-12.28, 25.32] .497
Father’s height 0.42 (0.05) 0.23 (0.04) 0.46 (0.09) [0.28, 0.64] < .001
Mother’s height 0.33 (0.05) 0.24 (0.04) 0.48 (0.09) [0.29, 0.66] < .001
σ 2.30 1.68 2.40 (0.19) [2.02, 2.78] —

Note. Estimates with standard errors in parentheses. All sons: N = 481. Tall sons (at least 68 inches): N = 351. The confidence interval and p value belong to the truncated regression.

Points to remember:

  • Say what was truncated, where, and how you know the limit.
  • Say that the coefficients are for the untruncated population.
  • Show OLS next to it, and the sensitivity to the limit.
  • State the assumption of normality as an assumption.

10. Summary

When Cases beyond a known limit of the outcome are missing from the sample
Why not OLS The errors of those who remain are related to the predictors: slopes too flat
The model Truncated normal: the normal density divided by the probability of being seen
How (R) truncreg::truncreg(y ~ x, data, point = c, direction = "left")
Coefficients For the whole population; for those in the sample, multiply by \(1 - \lambda(\lambda - \alpha)\)
Censored instead If the number and predictors of the others are known: Tobit, much more precise
Assumptions Known and strict limit, normal errors with constant variance
Weak points Imprecise, and sensitive to rounding, the limit and the shape of the errors
Related pages Tobit, simple linear regression

References

A’Hearn, B. (2004). A restricted maximum likelihood estimator for truncated height samples. Economics & Human Biology, 2(1), 5–19. https://doi.org/10.1016/j.ehb.2003.12.003

Amemiya, T. (1973). Regression analysis when the dependent variable is truncated normal. Econometrica, 41(6), 997–1016. https://doi.org/10.2307/1914031

Croissant, Y., & Zeileis, A. (2026). truncreg: Truncated Gaussian regression models (R package version 0.3-0). https://CRAN.R-project.org/package=truncreg

Galton, F. (1886). Regression towards mediocrity in hereditary stature. The Journal of the Anthropological Institute of Great Britain and Ireland, 15, 246–263. https://doi.org/10.2307/2841583

Hausman, J. A., & Wise, D. A. (1977). Social experimentation, truncated distributions, and efficient estimation. Econometrica, 45(4), 919–938. https://doi.org/10.2307/1912682