I am creating an albatross plot (basically a scatter of p-values vs sample size) of compiled literature. I have two dimensions which I would like to differentiate in the plot. One is whether the paper is rated as "weak" or "strong" and the other is what the broad topic of the paper is, 1 of 5 options. Using the Albatross command with the by() option you can tell STATA to differentiate the points visually on the plot by one variable. It also has a color option, but color just seems to use the variable specified in the by() option.
I would ideally like to specify my rating variable in the by() option, and then have different colors differentiate the topic of the paper. I initially just tried this:
albatross SampleSize p_value direction, type(correlation) by(Rating) color(Topic)
However, the color option does not allow for a varlist or varname to be used with it.
I am hoping to learn either a way to work around this issue or if there is a module I can install that gives more power when creating plots and editing their appearance. Thank you!
Related Posts with Albatross Plot - By() more than one variable
Reshaping long data with mtultiple categories into long dataStata 14.0 SE on Mac - Data contais 700,000 obervations Hi. I am trying to reshape a panel of US co…
Reducing the size of your database.Dear all, I am having troubles in "cleaning" my database, whose initial size is 22GBs (71 millions r…
Help in understanding tfdiffDear all, I am trying to understand the tfdiff command before applying it to my data. To do so, I s…
command keep usingI am working on a replication and the author uses this Phrase: merge 1:1 pid syear using ".dta" kee…
Multivalued treatment using inverse probability weights in teffectsDear Stata users, I want to estimate the ATE of a new policy on the number of firms, where policy h…
Subscribe to:
Post Comments (Atom)
0 Response to Albatross Plot - By() more than one variable
Post a Comment