Hi, It's my first post on Stata forum. I hope this is write place to pose questions about Stata.
I have panel data and want to make a twoway graph with year on horizontal axis and median of the variable(s) on vertical axis for different interquartile range of some orther variables.
More specificaly, I want 3 lines. One shows median(investments) when leverage (for example) is lower then 10th percentile. Second line is median(investment) when leverage>leveragep(90) and third is median(investments) when leveragep(40)<leverage<leveragep(60). And I need this for every year. So, the graph has to show how the median of investments behave for different leverage group of firms, through time (as I said, I have panel data).
Please help
I have panel data and want to make a twoway graph with year on horizontal axis and median of the variable(s) on vertical axis for different interquartile range of some orther variables.
More specificaly, I want 3 lines. One shows median(investments) when leverage (for example) is lower then 10th percentile. Second line is median(investment) when leverage>leveragep(90) and third is median(investments) when leveragep(40)<leverage<leveragep(60). And I need this for every year. So, the graph has to show how the median of investments behave for different leverage group of firms, through time (as I said, I have panel data).
Please help
Comment