Statalist


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

Re: st: Beta transformation-- standardization technique


From   Tirthankar Chakravarty <tirthankar.chakravarty@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Beta transformation-- standardization technique
Date   Fri, 10 Jul 2009 16:32:25 +0100

<>
Here's an example:

*** begin
clear*
sysuse auto
g x = log(price)/10
g new = (exp(lngamma(2))*exp(lngamma(1))/exp(lngamma(3)))*ibeta(2,1,x)
// alpha = 2, beta = 1
su new
*** end

T

On Fri, Jul 10, 2009 at 4:17 PM, Tirthankar
Chakravarty<tirthankar.chakravarty@gmail.com> wrote:
> <>
> help ibeta
>
>
> What you want can be written as:
> (gamma(a)*gamma(b)/gamma(a+b))*ibeta(a,b,x)
>
> T
>
> On Fri, Jul 10, 2009 at 3:58 PM, Juanita Riano<jriano@transparency.org> wrote:
>> Thanks for the suggestion Roy, maybe I was not clear enough with my
>> posting. What I need is to transform my data solving the following
>> integral:
>>
>> Integral of [X^(alpha-1)*(1-X)^(Beta-1)] where alpha and beta are known
>> parameters
>>
>> Juanita
>>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Roy Wada
>> Sent: 10 July 2009 16:39
>> To: statalist@hsphsun2.harvard.edu
>> Subject: RE: st: Beta transformation-- standardization technique
>>
>>> I am wondering if anyone knows of any routine in Stata that I could
>> use
>>> for standardizing data using a beta transformation technique for which
>> I
>>> have already the parameters.
>>>
>>> Juanita
>>
>> Take a look at -betacoef- by Kit Baum from ssc.
>>
>> Roy
>>
>> _________________________________________________________________
>> Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage.
>> http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
>> *
>> *   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/
>> Transparency International is the global civil society organisation leading the fight against
>> corruption.
>> www.transparency.org
>>
>> This email is confidential and intended for the addressee only. If you are not the intended
>> recipient, any use, disclosure, distribution, printing or copying of this email is unauthorised.
>> If you have received this email in error, please immediately notify the sender by replying to the
>> email, then delete all copies from your computer. This email and its attachments have been swept
>> for computer viruses but Transparency International accepts no responsibility whatsoever for damage
>> caused by viruses in connection with this email. Transparency International may monitor all emails
>> and attachments as it is presumed that they are sent or received in connection with the activities
>> of TI and to ensure the integrity of its computer systems. Statements and opinions contained in
>> this email are those of the sender, not necessarily of Transparency International.
>>
>> *
>> *   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).
>



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