This function computes the conditional expectation of the dependent variable for a Tobit model, allowing for the effect of censoring. Note that this differs from the series made available via the $yhat accessor after estimation via gretl's tobit command: that holds the conditional expectation of the latent variable, y-star. Arguments: series XB: X*beta-hat, the predicted latent variable. This is available via the $yhat accessor after Tobit estimation. scalar s: the estimated standard deviation of the error term, available via $sigma after Tobit estimation. scalar lo: the lower bound. This defaults to 0; supply NA if there is no lower bound. scalar hi: the upper bound. This defaults to NA (no upper bound). 2022-07-19, version 0.4: drop usage of deprecated "sprintf" command in favor of the function version