Hello,
I'm new in the forum.
I have a problem with the command graph bar. I have two dummy variables (suppose var1; var2 with values 0 and 1). I want to put inside the same graph the absolute frequencies of zeros and ones for these two variables, grouping by these two categories and labeling the categories with "No" and "Yes".
The output should be composed by 4 bars, 2 for No and 2 for yes, respectively for var1 and for var2.
Could you please help me with the sintax?
Thanks a lot
Related Posts with Graph bar: two variables with the same categories in the same graph
Specifying the start date of a generated time-seriesHi, What is the simplest method to count quarters from Feb 1972 to Apr 1993? I am generating a qua…
Treatment effect within a group. Implementation in Stata.Dear all, I have the following task. I want to estimate the effect of winning a particular auction o…
Specifying the start date of a generated time-series variableHi, What is the simplest method to count quarters from Feb 1972 to Apr 1993? I am generating a qua…
ado programming option helpHello Forum, I have successfully written a ado-command, unfortunately I have problem with one littl…
showing the significant star in the output of t-test using asdocHi, I am using asdoc command for the exporting the output and I have a question. I wonder how can we…
Subscribe to:
Post Comments (Atom)
0 Response to Graph bar: two variables with the same categories in the same graph
Post a Comment