Statalist The Stata Listserver


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

Re: st: Re: How can I use this V9 module (hnblogit) with Version 8.0?


From   "Neil Shephard" <[email protected]>
To   [email protected]
Subject   Re: st: Re: How can I use this V9 module (hnblogit) with Version 8.0?
Date   Tue, 16 Jan 2007 15:02:48 +0900

On 1/16/07, Rodrigo A. Alfaro <[email protected]> wrote:
Hi Peter,

The main code calls another file which is a loglikelihood.
I think that you could create a similar program for v8
but you may change slighly the option of the maximization.

In other words, change the version in the file:
jhnb_logit_ll.ado and pay attention in
hnblogit.ado.

Good luck, R.
If you wish to start tinkering with versions or ado-files in general,
the recommended route is to clone and rename the original so that you
do not mess it up.


Thus in this instance copy the two ado files to your personal adopath
(see -man adopath-) and rename them with the prefix 'my-'.  Open each
of the renamed files and change the -program define- lines to reflect
the change in the program name and at the same time make the changes
to the -version- lines as well.  Save the files and now call the new
ado file instead, i.e. my by calling -my-hnblogit-

That said it would be strongly recommended to upgrade to Stata 9 to
take advantage of the new features, bugfixes, mata and graph
improvements etc. etc. etc..  Stata is always backwards compatible so
even if you are only provided with files in Stata8 by format Stata9
will still be able to read them.

Neil
--
"Every great advance in natural knowledge has involved the absolute
rejection of authority."  - Thomas H. Huxley

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/



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