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 on April 23, and its replacement, is already up and running.

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

st: Re: Re: signranktest for groups

From   "Joseph Coveney" <>
To   <>
Subject   st: Re: Re: signranktest for groups
Date   Mon, 30 Jul 2012 11:40:32 +0900

Maren Kandulla wrote:

Thanks for this information!
Unfortunately I do not have stata11. Is there any chance to get a version 
for stata 10?


You happen to be in luck.  Install the user-written command -vanelteren- from
SSC.  Its use is illustrated below using the same dataset as before.

Joseph Coveney

P.S.  It would have been better had you said what your version of Stata is.  See
Section 3.3 of the Statalist FAQ (URL below).

version 10.1

* Create fake dataset for use in illustration
clear *
set more off
set seed 19195
quietly set obs 100
generate byte treatment = _n > _N / 2
generate byte child = _n
generate byte type0 = 1 + floor(4 * runiform())
generate byte type1 = 1 + floor(4 * runiform())

* Stratified on baseline type (t-test analogue)
vanelteren type1, by(treatment) strata(type0)


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index