Hi, i am struggled with graph. I analyze the completion of M&A deals and I have a dummy variable completion with the value of 1 if the deal was completed and 0 otherwise and the year when it happened. I need to to have a graph with amount of deals on Y axis and year on X axis and 2 lines one showing all the amount of all deals announced, including both 1 and 0 and another line when completion has value of 1.
I tried to use the command
twoway line completion year
but it didnt work. Could you please help me with the code? Thank you in advance
Related Posts with Graph
Multiple hypothesis testingHello Users, I am a new user of the stata software. I am analysing the usage of maternal care serv…
replacing observations within groupsHello everyone, I have a dataset where I have several text_rules belonging to text types inside dif…
Drop command to remove rows "0 observations deleted"I have been trying to drop a number of rows in my dataset, but for some reason, they still remain ev…
Height for age and Height percentilesDear all, I will please like to find out how to calculate height for age as well as height percenti…
difference to difference-introduction of minimum wage in a specific yearhi, As part of my coursework i am analysing the effect of introduction of minimum wage on employmen…
Subscribe to:
Post Comments (Atom)
0 Response to Graph
Post a Comment