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
Removing note on the bottom-left of a FigureDear All, Suppose I run the code Code: sysuse auto, clear graph bar price, by(foreign) and obtain a…
egen for specific time periodHi, I want to calculate the standard deviation for a specific year group i.e.- year variable SD_…
How to calculate bootstrap SE of the between-group difference in covariance (between two vars)Dear list, My example code is as follows: Code: webuse auto, clear forvalues i=1/50 { qui gen…
Likert scale outcome with a skewed distribution -- what should I do for a latent growth model?Dear Stata users, I am working with an outcome variable asked in a Likert scale, repeated measures f…
Command "esttab": Adding more digits to odds ratio coefficientsHi, I'm working with logit model and OR to interpret results. After run regress one of the models s…
Subscribe to:
Post Comments (Atom)
0 Response to Graph
Post a Comment