precision_eff: Compute Precision efficiency

View source: R/precision.R

precision_effR Documentation

Compute Precision efficiency

Description

Compute precision efficiency.

Usage

precision_eff(data, formula, exposure.name, precision.name, none.name = "None")

precision.r(data, formula, exposure.name, precision.name, none.name = "None")

Arguments

data

Dataframe of raw data.

formula

Formula representing the model.

exposure.name

Name of exposure variable.

precision.name

Name of precision variable.

none.name

Name of the term when no precision variable is used.

Details

Compare the variance obtained when using a precision variable or not.

Value

Dataframe in a useable format for rsample::bootstraps.

Source

Section 11.2

Examples

# An example can be found in the location identified in the
# source section above at the github site
# https://github.com/FrankLef/FundamentalsCausalInference.

FrankLef/fciR documentation built on Nov. 12, 2023, 6:09 a.m.