Skip to contents

The goal of tobit.mean is to calculate descriptive statistics of censored vectors.

Installation

You can install the development version of tobit.mean from GitHub with:

# install.packages("pak")
pak::pak("humanpred/tobit.mean")

Example

This is a basic example which shows you how to solve a common problem:

library(tobit.mean)
tobit.mean::mean_tobit(c(0, 1, 4, 10), lower = 0.5, distribution = "t")