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)
|
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. |
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.