PointEstimates: Weighted Point Estimates

PointEstimatesR Documentation

Weighted Point Estimates

Description

Predefined functions for weighted point estimates in package surveysd.

Usage

weightedRatio(x, w)

weightedSum(x, w)

Arguments

x

numeric vector

w

weight vector

Details

Predefined functions are weighted ratio and weighted sum.

Value

Each of the functions return a single numeric value

Examples

x <- 1:10
w <- 10:1
weightedRatio(x,w)
x <- 1:10
w <- 10:1
weightedSum(x,w)

statistikat/surveysd documentation built on June 13, 2025, 10:12 p.m.