Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: fama macbeth procedure


From   "Sergio Correia" <[email protected]>
To   [email protected]
Subject   Re: st: fama macbeth procedure
Date   Tue, 19 Dec 2006 01:04:54 -0500

That's safer indeed.

However, you should also replace the line
program xtfmb

with the line
program my_xtfmb

Regards,
Sergio

On 12/19/06, Neil Shephard <[email protected]> wrote:
On 12/19/06, Sergio Correia <[email protected]> wrote:
> Doing a quick scan of the code, I could not find commands that only
> work on stata 9 (mvreg, for example, works even under stata 6).
> Therefore, you can try this RISKY procedure (I take no
> responsability!)
>
> 1) write: which xtfmb
> 2) write: doedit c:\ado\plus\x\xtfmb.ado
> ... or something like that (it depends on the folder that you get on step 1)
> 3) Replace the line "version 9.2" for "version 8.2", save.
> ... Run the command.
>
> However, this command was not really tested under stata 8.2 so you
> must be very careful.

A more sensible approach would be to upgrade your Stata licence and
take advantage of all the new features.  However, if you do not wish
to do so then I would recommend doing the following instead...

2) copy c:\ado\plus\x\xtfmb.ado c:\ado\personal\my_xtfmb.ado

3) doedit c:\ado\personal\my_xtfmb.ado

4) Modify the version line to suit your version., save the changes.

5) Now call -my_xtfmb- instead of -xtfmb-

This avoids copying over the original and the need to download and
replace.  If you run into troubles running -my_xtfmb- then modify that
and not the original.

Neil
--
"Doing science for the money is like having sex for the exercise." - Anon

Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index