Description Usage Arguments Value Author(s) See Also

View source: R/weighted.moments.R

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

1 | ```
weighted.moments(x, w8 = NULL)
``` |

`x` |
a vector of observations. |

`w8` |
a vector of weights. |

`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. |

Alexander Sohn

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.