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]

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


From   "Rauscher, Garth" <garthr@uic.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: <istmt>: - function returned error ,in KHB Command
Date   Mon, 2 Jan 2012 12:55:24 -0600

This is a follow-up to let the list know that the problem I was having
with KHB seemed to resolve itself upon a restart of stata (which I should
have tried first before bothering the list).

Thanks, Garth


On Mon, December 26, 2011 3:12 pm, Rauscher, Garth wrote:
> 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
>
>


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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index