Corrected bug in iptw function
This commit is contained in:
@ -13,7 +13,7 @@ iptw(df = NULL, Y = NULL, X = NULL, target = "ate")
|
||||
|
||||
\item{X}{vector of strings containing the names of the columns where the independent variables are stored in df}
|
||||
|
||||
\item{target}{string containing the target causal effect of interest. Either "ate" (average treatment effect, default), "att" (average treatment effect on the treated) or "atu" (average treatment effect on the untreated)}
|
||||
\item{target}{string containing the target causal effect of interest. Either "ate" (average treatment effect, default), "stab-ate" (stabilized ATE), "att" (average treatment effect on the treated) or "atu" (average treatment effect on the untreated)}
|
||||
}
|
||||
\value{
|
||||
A vector of IPT weights
|
||||
|
Reference in New Issue
Block a user