stdH-methods: Method 'stdH': computes the standard deviation of a...

stdHR Documentation

Method stdH: computes the standard deviation of a distribution

Description

Standard deviation of a histogram (i.e., the square root of the centered second moment)

Usage

stdH(object)

## S4 method for signature 'distributionH'
stdH(object)

Arguments

object

a distributionH object

Value

A value for the standard deviation

Author(s)

Antonio Irpino

Examples


## ---- A mydist distribution ----
mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1))
## ---- Compute the standard deviation of mydist ----
stdH(mydist) #---> 2.563851

HistDAWass documentation built on Sept. 26, 2022, 5:06 p.m.