glm.simplereg.ps | R Documentation |
Propensity score based on a multivariate logistic regression with main effects only
glm.simplereg.ps(trt, x.ps, xnew = NULL, minPS = 0.01, maxPS = 0.99)
trt |
Treatment received; vector of size |
x.ps |
A matrix of |
xnew |
A matrix of |
minPS |
A numerical value (in '[0, 1]') below which estimated propensity scores should be
truncated. Default is |
maxPS |
A numerical value (in '(0, 1]') above which estimated propensity scores should be
truncated. Must be strictly greater than |
The estimated propensity score for each unit; vector of size n
(if xnew
is NULL) or m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.