Calculate the censored standard deviation
sd_tobit.Rd
Since the standard deviation is almost always desired with the mean, it is
more efficient to use as_sd_tobit()
on the mean object instead of
calculating the standard deviation separately.
Arguments
- ...
Arguments passed on to
mean_tobit
x
A numeric vector
lower,upper
The lower and upper bounds for censoring
x
include_equal,include_equal_lower,include_equal_upper
Should the bounds consider
x <= lower
andx >= upper
(ifTRUE
) orx < lower
andx > upper
(ifFALSE
) to be censored? (include_equal
is overridden by settinginclude_equal_lower
orinclude_equal_upper
.)distribution
What distribution (Student "t" or "normal") should be used. If "t", the degrees of freedom are the number of non-
NA
values inx
.na.rm
A logical value indicating whether
NA
values should be stripped fromx
before the computation proceeds.
See also
Other Censored Descriptive Statistics:
geomean_tobit()
,
mean_tobit()