Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This vignette demonstrates the usage of the Naive_Estimation function in the ATE.ERROR package. The Naive_Estimation function provides a simple method for estimating ATE.
First, we generate our simulated data using the data(Simulated_data) syntax.
library(ATE.ERROR) set.seed(1) data(Simulated_data) Y_star <- Simulated_data$Y_star A <- Simulated_data$T Z <- Simulated_data$Z X_star <- Simulated_data$X_star
Now we use the Naive_Estimation function.
Naive_ATE_XY <- Naive_Estimation(Y_star, A, Z, X_star) print(Naive_ATE_XY)
The Naive_Estimation function calculates the ATE by ignoring the difference between {X^∗, Y^∗} and {X, Y}.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.