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: 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–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index