prop_scores | R Documentation |
Fit the propensity score model.
prop_scores(data, formula)
prop.r(data, formula)
data |
Data.frame. |
formula |
Formula used to fit the propensity score. |
Fit the propensity score model to obtain the score for a given data set.
List with
Vector of propensity scores.
The object of class glm returned by glm().
Section 6.2.2, p. 120-121. Used throughout chapter 10.
# An example can be found in the location identified in the
# source section above at the github site
# https://github.com/FrankLef/FundamentalsCausalInference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.