Page 1 of 1

REGTOTEX - Formatting regression equations

PostPosted: Tue Oct 18, 2011 2:51 pm
by TomDoan
The attached procedure takes the most recent regression and generates a TeX equation to display it in the standard form with coefficients x variables in the first line with standard errors in parentheses under the coefficients.

regtotex.src
Procedure
(3.38 KiB) Downloaded 81 times

@RegToTeX( options)

Options
PICTURE=picture format for numbers ["*.##"]
DVLABEL=TeX code label for dependent variable [series label_t]
RHSLABELS=VEC[STRING] of TeX code labels for the right hand side variables [series label_t or series label_{t +/- lag) for lags/leads]

This PDF file demonstrates the use of the procedure with an example. The example and data file for it are also provided.

RegToTex.pdf
Description
(37.59 KiB) Downloaded 83 times

regtotex_example.rpf
Example program
(507 Bytes) Downloaded 71 times

hprice2.raw
Data file for example
(66.21 KiB) Downloaded 64 times