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

Re: st: Kruskal-Wallis equivalent for survey data with pweight

From   Maarten buis <>
Subject   Re: st: Kruskal-Wallis equivalent for survey data with pweight
Date   Fri, 31 Oct 2008 09:24:35 +0000 (GMT)

--- "Aca N.T." <> wrote:
> I have a simple question about testing length of stay (LOS)
> differences among 5 groups. The response variable (LOS) has a skewed
> distribution. I have previously transformed the LOS (log
> transformation) and tried parametric statistic (ANOVA using
> svy:regress), but not happy when performing back-transformation for
> SD/SE. I rarely used non-parametric statistics before even for
> non-survey data, so really this issue is a hassle for me. I believe,
> however, that Stata has a test equivalent to Kruskal-Wallis for
> survey data.

The conventional way of analysing length of stay data is using survival
analysis. So I would -stset- the data, and than use -sts test- to do
the test. You can specify weights in the -stset- command. See:
-help stset- and -help -sts test-.

Hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

*   For searches and help try:

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