| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: ML programming
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/