mAvg {binequality}R Documentation

A simple function to perfom model averaging using pre-calculated weights.

Description

This function takes weights and parameters and returns model averaged parameters using the weights.

Usage

mAvg(params, ws)

Arguments

params

a (non-empty) numeric vector of parameters

ws

a (non-empty) numeric vector of weights corresponding to params.

Value

Returns a numeric vector of model averaged parameters.

Examples

#not run, iternal function

[Package binequality version 1.0.4 Index]