Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: My program does not accept more than two args


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: My program does not accept more than two args
Date   Sat, 01 May 2010 18:13:53 -0500

At 05:04 PM 5/1/2010, francesco manaresi wrote:
This may be obvious, if so I apologize in advance: I am a newbie in programming.
I want to implement a maximum-likelihood estimate, but got problems in
letting the program accept more than 2 arguments (in args).
Consider the simplest case: a normal model. The program is:

***
program define normal
version 1.0

I don't know if this is your problem, but I don't know why you would say version 1.0. This is telling Stata to behave like it did back in the dark ages when it was first introduced. Use whatever version of Stata you are writing the program on, e.g.

version 10.1


-------------------------------------------
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/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index