Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Winsorize by time and group

From   Gokhan Yilmaz <>
Subject   st: Winsorize by time and group
Date   Tue, 29 Nov 2011 04:24:08 -0500

Dear All,

I have a time variable "t" that takes values between 1 to 12 for each
month and a group variable that is {0,1}. I want to winsorize my
return variable "ret" for each group in each month. Since "by" cannot
be combined with "winsor", can you suggest a syntax in this case? In
my statalist search i found the syntax  for winsorizing on one
dimension (every year) but couldn't find a case with two dimensions.

Thanks in advance for the help.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index