%% Charlie Redmon
%% 20170914
%% SEM path diagram

% standalone class for individual image to be included in a document
% border=15pt controls the whitespace padding around the diagram
\documentclass[border=15pt]{standalone}

% load custom style configurations from separate file
\input{setupSEMstyle.tex}

\begin{document}

%% ">=stealth" sets the arrow head style
%% "semithick" sets the line width (0.6 pt)
\begin{tikzpicture}[>=stealth,semithick]

% variables
\node[ov] (y1) at (0,-1)      {$y$};
\node[lv] (f1) at (1.5, -1)  {$\eta$};
\node[lv,dashed] (error) at (-1.5, -1) {$\epsilon$};

% paths
\path[->] (f1) edge node[above,scale=0.6] {} (y1);
\path[->,dashed] (error) edge node[above,scale=0.6] {} (y1);

\end{tikzpicture}

\end{document}