Statalist The Stata Listserver


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

Re: st: ML programming


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: ML programming
Date   Sat, 24 Mar 2007 09:25:26 -0500

At 03:11 PM 3/23/2007, Daniel Lawson wrote:
I can hard-code the name of the threshold variable into the
likelihood function, or I could create a global macro with the name
of the threshold variable, but neither of these seem like elegant
solutions.
It may not be elegant, but I use global macros in my gologit2 and oglm programs, and then drop them at the end of the program. I probably do all sorts of things that would get me fired if I programmed for Stata, but since I don't, I figure I can get by with it. :) Sometimes programs use s-class subroutines to communicate, but for whatever reason I could never get that to work with my LL functions.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam

*
* 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