estimate_pmetric_erf: Estimate Parametric Exposure Response Function

View source: R/estimate_pmetric_erf.R

estimate_pmetric_erfR Documentation

Estimate Parametric Exposure Response Function

Description

Estimate a constant effect size for matched and weighted data set using parametric models

Usage

estimate_pmetric_erf(formula, family, data, ...)

Arguments

formula

a vector of outcome variable in matched set.

family

a description of the error distribution (see ?gnm)

data

dataset that formula is build upon (Note that there should be a counter_weight column in this data.)

...

Additional parameters for further fine tuning the gnm model.

Details

This method uses generalized nonlinear model (gnm) from gnm package.

Value

returns an object of class gnm


CausalGPS documentation built on June 22, 2024, 9:31 a.m.