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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: van der Waerden transformation


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: van der Waerden transformation
Date   Thu, 12 Apr 2012 11:11:08 -0500

Isn't the van der Waerden transformation just inverse_normal(rank/(N +1)) ?

sysuse auto,clear
egen ranks = rank(price)
gen waerden = invnormal(rank/(74+1))

Scott

On Thu, Apr 12, 2012 at 10:37 AM, Sofia Ramiro <sofiaramiro@hotmail.com> wrote:
>
> Dear all,
>
> I would like to perform a transformation of my skewed variable according to the van der Waerden technique, but I do not discover how to do it with Stata. Can you please help me? Is there any command/set of commands to easily do it?
>
> thank you very much
>
> best regards,
> Sofia Ramiro
*
*   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