\documentclass{article}
\usepackage{com.braju.graphicalmodels}
\usepackage{amsmath}
% \special{papersize=40mm,80mm}
% \setlength{\pdfpagewidth}{40mm}
% \setlength{\pdfpageheight}{80mm}
% \usepackage[vcentering,dvips]{geometry}
% \geometry{papersize={80mm,120mm},total={80mm,120mm},margin=0mm}



\catcode`\@=11%

\pagestyle{empty}

\begin{document}
\TeXtoEPS

\LARGE
\psset{unit=10mm,arrowscale=1.5,linewidth=1.5pt}

\begin{pspicture}(0,0)(4,6)
  \SpecialCoor

  \rput(2.0,2.0){\GM@node[observed=true]{y'}} \GM@label[angle=180]{y'}{$y'$}
  \rput(2.0,3.5){\GM@node{y}}                 \GM@label[angle=180]{y}{$y$}
  \rput(1.0,5.0){\GM@node{x}}                 \GM@label[angle=90]{x}{$x$}
  \rput(3.0,5.0){\GM@node{z}}                 \GM@label[angle=90]{z}{$z$}

  \psset{arrows=->}
  \ncline{y}{y'}
  \ncline{x}{y}
  \ncline{z}{y}
  \psline[linearc=0.5]{<->}(0.7,4.5)(0.9,4.2)(1.0,1.4)(2.0,1.2)(3.0,1.4)(3.1,4.2)(3.3,4.5)
  
\end{pspicture}

\endTeXtoEPS
\end{document}
