Description Usage Arguments Value Examples
Cb calculations for a Poisson (or negative binomial) regression model.
1 | Cb.poisson(reg_object, tx_var, semi_parametric = FALSE, time = 1)
|
reg_object |
An object of class 'glm' that contains the resuls of the Poisson/NegBin model. |
tx_var |
A string containing the name of the treatment indicator variable. |
semi_parametric |
Optional (default=FALSE). If TRUE, the semi-parametric estimator for Cb will be returned. |
time |
Optional (default=1). The value of time at which Cb is calculated. |
This function returns an object of class Cb_output, which includes Cb as a member.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.