Hello,
I am using the “statplot” command written by Nick Cox and Eric Booth. I am pretty close to producing the graphs I need; however I am having trouble with one of my graphs.
e12 and p12 are continuous variables and year is binary 0= pre arab spring and 1=post arab spring. Using this command I get the first graph (attached graph 1):
Is there any way for me to adjust the code such that instead of having the “pre-arab” and “post-arab” labels below the graph I would like it as a key.
For example, I am able to do it for my other graphs like below (attached graph 2):
My second question is I have read the help file for statplot and it says I can specify fweights, aweights and iweights. I am using pweights. Is there any way to specify sampling weights when using statplot?
I am using the “statplot” command written by Nick Cox and Eric Booth. I am pretty close to producing the graphs I need; however I am having trouble with one of my graphs.
e12 and p12 are continuous variables and year is binary 0= pre arab spring and 1=post arab spring. Using this command I get the first graph (attached graph 1):
Code:
statplot e12 p12, over(year) vertical
Is there any way for me to adjust the code such that instead of having the “pre-arab” and “post-arab” labels below the graph I would like it as a key.
For example, I am able to do it for my other graphs like below (attached graph 2):
Code:
statplot e12 p12, over(year)over(currwork) vertical
Comment