WeightedData

WeightedData[{x1,x2,},{w1,w2,}]
represents observations with weights .

WeightedData[{x1,x2,},fn]
represents observations with weighting function fn.

DetailsDetails

  • WeightedData augments data with weights for each data point.
  • The data and weights should be lists of equal length.
  • The weight function fn is applied to the list and should return an explicit list of weights .
  • WeightedData can be used in statistics functions including:
  • Mean,Variance,descriptive statistics functions
    EmpiricalDistribution,nonparametric distribution estimation
    EstimatedDistribution,parametric distribution estimation
  • WeightedData[{x1,x2,}] gives data with equal weights.
  • Properties of WeightedData can be obtained by specifying WeightedData[]["property"].
  • A list of available properties can be obtained using WeightedData[]["Properties"].
  • WeightedData has the following properties:
  • "EmpiricalPDF"data values and estimated weights
    "InputData"unweighted input data values
    "MetaInformation"a list containing meta-information rules
    "Weights"a list containing the data weights
Introduced in 2012
(9.0)