Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Gamma functions in R and Stata's Gamma Functions


From   "Vladimir Vakhitov" <vvakhitov@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Gamma functions in R and Stata's Gamma Functions
Date   Fri, 7 Mar 2008 12:57:02 -0500

I found a Stata program that can execute R code from within Stata.
Try -findit rsource-.

Vladimir


2008/3/7, tiago.pereira@incor.usp.br <tiago.pereira@incor.usp.br>:
> Dear All,
>
>  I am trying to implement a test that requires the incomplete gamma function.
>
>  The R code is given by
>
>  example<- pgamma(Z, shape=X,rate=Y)
>
>  where Z is the critical value for a chi^2 distribution. I am not very
>  experienced with this distribution, and failed to find out the
>  corresponding counterpart in Stata. Hence, would it be possivle to you to
>  provide me some tips to implement it in Stata?
>
>  Thanks in advance for your time.
>
>  Tiago
>
>
>
>  *
>  *   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/
>


-- 
__________________
Volodymyr Vakhitov
vvakhitov@gmail.com
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index