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: confidence intervals for median differences


From   Tirthankar Chakravarty <tirthankar.chakravarty@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: confidence intervals for median differences
Date   Fri, 4 Feb 2011 14:40:52 -0800

Try rebuilding your Mata library index before using -cendif- (Newson, SJ):

net install snp15_7.pkg, ///
       from(http://www.stata-journal.com/software/sj6-4/) replace
mata mata mlib index
sysuse auto, clear
cendif weight, tdist by(foreign)

T

On Fri, Feb 4, 2011 at 2:19 PM, Seidel, Kristy D <kseidel@fhcrc.org> wrote:
>
> Hello Statalist,
>
> In the past I have used the "cendif" module to obtain confidence
> intervals for the median difference between two groups. The last time I
> successfully used cendif was with Stata 9.  I've got Stata 11 now, and
> the cendif module doesn't seem to work with it.  I tried installing the
> latest version of cendif that I could find (from SJ-6-4  snp15_7), but
> it still will not run properly. I tried specifying Version 9 first, but
> that didn't help.
>
>
> Here's what comes up in the results window:
>
> . cendif cheops_first, tdist by(group)  centile(50)
> Y-variable: cheops_first
> Grouped by: group (RANDMETH)
> Group numbers:
>
>           RANDMETH |      Freq.     Percent        Cum.
> --------------------+-----------------------------------
>            Group A |         56       49.12       49.12
>            Group B |         58       50.88      100.00
> --------------------+-----------------------------------
>              Total |        114      100.00
>
>       tidotforsomersd():  3499  tidottree() not found
>                 <istmt>:     -  function returned error
> Mata run-time error
> r(3499);
>
>
> Have other people experienced this problem? Does anyone know of a
> solution?
>
> Thanks,
>
> Kristy
>
>
> *
> *   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/



--
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).

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