Hello,
I would like to use two line styles for the same graph to denote value above and below a certain threshold: twoway (tsline var if var<=1) (tsline var if var>1, lpattern(dash))
I also tried creating two variables, one for values <=1 and another for values >1. But in both cases I run into the problem that - because the values for each variable to do not occur continuously - I get different shapes than if I were to just draw one line for all values. What I would like is to have the same shape as when I don't split it, but with a dashed line for values above 1.
Could anyone suggest a solution?
Many thanks!
Related Posts with Dashed line graph for parts of the line
No Output, Infinite Cycling Wheel (Multiple Imputation Fixed Effects Logistic Regression)Need help troubleshooting a Stata issue. I've been running into dead ends the last few days. The …
Fixed effect- three identifier variables and result interpretationI have panel dataset where each observation is identified by three variables ( server#, Motherboard_…
Logistic regressionHi, Im trying to regress logit model with categorical data. The dependent variable has 4 categories.…
Interpretation of two-way interaction plotHello Statalist I have a question regarding the attached two-way interactions plot: [ATTACH=CONFI…
Clustering SEsHi all, I have a question regarding some clustering of standard errors. I read a great paper by M. …
Subscribe to:
Post Comments (Atom)
0 Response to Dashed line graph for parts of the line
Post a Comment