weighted.moments: Moments of a Random Variable

Description Usage Arguments Value Author(s) See Also

View source: R/weighted.moments.R

Description

This functions calculates the first three moments as well as mean, standard deviation and skewness for a vector of observations with corresponding weights.

Usage

1

Arguments

x

a vector of observations.

w8

a vector of weights.

Value

fm

returns the first moment.

weighted.mean

returns the mean.

sm

returns the second moment.

weighted.sd

returns the uncorrected (population) standard deviation.

wtd.sd

returns the sample-size corrected standard deviation estimate.

tm

returns the third moment.

w.skew.SAS

returns the skewness estimate as implemented in SAS.

w.skew.Stata

returns the skewness estimate as implemented in Stata.

Author(s)

Alexander Sohn

See Also

wtd.var


acid documentation built on May 29, 2017, 1:03 p.m.