[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sample splitting problem

From   Robert <>
Subject   st: sample splitting problem
Date   Tue, 20 Nov 2007 17:28:07 -0500

Dear all, here I'm again for a new request of help. I would like to 
replicate a sample splitting into my research.
Given an unbalanced panel (ts-cs data) and two variables, x and y, the 
sample splitting criterion is the following:
a firm is identified as having more "x" (high_x) if "x/y" is larger 
than the median accross firms of the firms' time averages.
Conversely, a firm is identified as having less "x" (low_x) if "x/y" is 
less than (or equal to) the median accross firms of
these time averages. I would be grateful if someone can help me with 
the commands (just an example to use for my dataset).

Thank you very much,


Email and AIM finally together. You've gotta check out free AOL Mail! -

*   For searches and help try:

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