Naive_Estimation {ATE.ERROR} | R Documentation |
This function performs a naive estimation of the ATE. This approach gives us the so-called "naive estimate" by ignoring the difference between (X*, Y*) and (X, Y).
Naive_Estimation(Y_star, A, Z, X_star)
Y_star |
A numeric vector of outcomes with potential misclassification. |
A |
A numeric vector of treatment assignments. |
Z |
A numeric vector of covariate Z. |
X_star |
A numeric vector of covariate X with measurement error. |
A numeric value representing the estimated treatment effect.
library(ATE.ERROR)
data(Simulated_data)
Y_star <- Simulated_data$Y_star
A <- Simulated_data$T
Z <- Simulated_data$Z
X_star <- Simulated_data$X_star
Naive_ATE_XY <- Naive_Estimation(Y_star, A, Z, X_star)
print(Naive_ATE_XY)