Example 2

This shows EPP being used for typesetting the results of an OLS estimation.

The input file is:

caption Typical display of results after OLS
comment Regression Coefficients
estimate $\beta$ yes -9.209 0.0286
estimate $\tau$ yes -6.000 0.234
estimate $\rho$ yes -1.078 0.0288
estimate $\delta$ yes -2.303 0.21
estimate $\theta$ yes -9.000 0.113
estimate $\xi$ yes -9.000 1.00
blank
comment Regression Standard Error
estimate $\sigma_v$ no 0.867

We issue this EPP command:

     nawk -f epp2tex.nawk putt=1 ols.epp > epp.out

Here is what epp.out here looks like:

\documentstyle[11pt]{article}
\begin{document}

\begin{table}[h]
\centering
\begin{tabular}{|llrrr|} \hline
\multicolumn{5} {|l|} {} \\
  \multicolumn{1} {|l} {} & {Parameter}
& \multicolumn{1} {c}  {Estimate}
& \multicolumn{1} {c}  {Standard Error}
& \multicolumn{1} {c|}  {t-statistic} \\
\multicolumn{5}{|l|} {} \\ \hline
\multicolumn{5}{|l|} {} \\
\multicolumn{5}{|l|} {{\sf Regression Coefficients }}\\
{} & {$\beta$} & {-9.209} & {0.0286} & {-321.993} \\
{} & {$\tau$} & {-6.000} & {0.234} & {-25.641} \\
{} & {$\rho$} & {-1.078} & {0.0288} & {-37.4306} \\
{} & {$\delta$} & {-2.303} & {0.21} & {-10.9667} \\
{} & {$\theta$} & {-9.000} & {0.113} & {-79.646} \\
{} & {$\xi$} & {-9.000} & {1.00} & {-9} \\
\multicolumn{5}{|l|} {} \\
\multicolumn{5}{|l|} {{\sf Regression Standard Error }}\\
{} & {$\sigma_v$} & {0.867} & {} & {} \\
\multicolumn{5}{|l|} {}\\\hline
\end{tabular}
\caption{Typical display of results after OLS }
\end{table}
\end{document}

Here is what it looks like in print:


Table: Typical display of results after OLS
 
  Parameter Estimate Standard Error t-statistic
 
 
Regression Coefficients
  β -9.209 0.0286 -321.993
  τ -6.000 0.234 -25.641
  ρ -1.078 0.0288 -37.4306
  δ -2.303 0.21 -10.9667
  θ -9.000 0.113 -79.646
  ξ -9.000 1.00 -9
 
Regression Standard Error
  σv 0.867