Learn R Programming

PanelMatch (version 3.0.0)

calculate_point_estimates: calculate_point_estimates Helper function that calculates the point estimates for the specified QOI

Description

calculate_point_estimates Helper function that calculates the point estimates for the specified QOI

Usage

calculate_point_estimates(
  qoi.in,
  data.in,
  lead,
  outcome.variable,
  pooled = FALSE
)

Value

A named vector of point estimates

Arguments

qoi.in

string specifying the QOI

data.in

data.frame providing the processed/parsed data to be used for calculations

lead

see PanelMatch() documentation

outcome.variable

string specifying the outcome variable

pooled

Logical. See PanelEstimate() documentation.