Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: <istmt>: - function returned error ,in KHB Command


From   "Rauscher, Garth" <garthr@uic.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: <istmt>: - function returned error ,in KHB Command
Date   Mon, 26 Dec 2011 15:12:58 -0600

I am running the user-written KHB command to conduct a mediation analysis
and am receiving an error I have never received before. I reinstalled KHB
and checked that my Stata was all up to date and the message still
appears. Here is an example using the auto dataset.

. sysuse auto
(1978 Automobile Data)

. khb logit foreign  mpg  || weight,  su
                   khb():  3001  expected 3 arguments but received 4
                 <istmt>:     -  function returned error
r(3001);



Thanks for reading this.


Garth H Rauscher
Associate Professor of Epidemiology
UIC School of Public health
(312)413-4317
garthr@uic.edu

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index