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
Extracting multiple dates from a stringHello, I have been provided with a dataset that contains a string variable 'term' which details the…
How record variables to apply circsummarize: degrees or radians?I am using circsummarize to describe time of the day data (24 h clock) with the statistics mean dire…
How to report output from margins?I am planning to add support for margins in asdocx. Since I have not used margins myself, therefore,…
"Import - sas" doesn't show up in my stata - any solution?Dear all, I want to import a sas dataset into stata but I do not have this function in my program. …
How to compute p-value when the chi-square value and degree of freedom are known in Stata?I know how to compute p-value when the chi-square value and the degree of freedom are known in R, (e…
Subscribe to:
Post Comments (Atom)
0 Response to Albatross Plot - By() more than one variable
Post a Comment