
\documentclass{article}
\usepackage{com.braju.graphicalmodels}

\catcode`\@=11%

\pagestyle{empty}

\begin{document}
\TeXtoEPS

\LARGE
\psset{unit=10mm,arrowscale=1.5,linewidth=1.5pt}
\begin{pspicture}(0,0)(10,10)%\showgrid
  \SpecialCoor

   \rput(1,3){\GM@node[observed=false]{X}} \GM@label[angle=90]{X}{$X$}
   \rput(2,1){\GM@node[observed=true]{Y}} \GM@label[angle=-90]{Y}{$Y$}
   \rput(3,3){\GM@node[observed=false]{Z}} \GM@label[angle=90]{Z}{$Z$}

    \ncline[arrows=->]{X}{Y}
    \ncline[arrows=->]{Z}{Y}

    \pscurve{->}(1.7,2.2)(2,1.8)(2.3,2.2)
    \pscurve{->}(2.4,2.1)(2,1.6)(1.6,2.1)





\end{pspicture}

\endTeXtoEPS
\end{document}
