\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
\begin{alltt}
\hlkwd{library}\hlstd{(Matching)}
\hlstd{fit.match1}  \hlkwb{<-} \hlkwd{Match}\hlstd{(}\hlkwc{Y}\hlstd{=Y,} \hlkwc{Tr}\hlstd{=Z,} \hlkwc{X}\hlstd{=ps.true,} \hlkwc{M}\hlstd{=}\hlnum{1}\hlstd{,} \hlkwc{estimand}\hlstd{=}\hlstr{'ATE'}\hlstd{)}
\hlkwd{summary}\hlstd{(fit.match1)}
\end{alltt}
\begin{verbatim}
+ 
+ Estimate...  -1.9235 
+ AI SE......  0.044062 
+ T-stat.....  -43.653 
+ p.val......  < 0.000000000000000222 
+ 
+ Original number of observations..............  1000 
+ Original number of treated obs...............  637 
+ Matched number of observations...............  1000 
+ Matched number of observations  (unweighted).  1288
\end{verbatim}
\end{kframe}
\end{knitrout}