Hi,
I hope someone can help me out with the following:
Given a data set like this:
where Post equals 0 or 1 if an observation is before or after a certain point in time, respectively.
How do I calculate mean (Capex) only of those companies where a company's mean (Capex) & Post == 1 is bigger than mean (Capex) & Post == 0?
Using the example data, I want mean (Capex) to be 150.
Thanks in advance.
I hope someone can help me out with the following:
Given a data set like this:
HTML Code:
CompanyID Capex Post 1 100 0 1 200 1 2 300 0 2 200 1
How do I calculate mean (Capex) only of those companies where a company's mean (Capex) & Post == 1 is bigger than mean (Capex) & Post == 0?
Using the example data, I want mean (Capex) to be 150.
Thanks in advance.
Comment