REGTOTEX - Formatting regression equations

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.

REGTOTEX - Formatting regression equations

Postby TomDoan » Tue Oct 18, 2011 2:51 pm

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
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Return to RATS Procedures

Who is online

Users browsing this forum: No registered users and 1 guest