Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: comparing yearly surveys (graphs)


From   Lucie Vlach <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: comparing yearly surveys (graphs)
Date   Mon, 24 Jan 2011 12:06:58 -0700

Hello knowledgeable people!

I need to visually compare survey results that will be done each year. (Virtually all same questions each year).
I have unique IDs for each respondent, and I created a variable for the year as “survey_yr” and use 2010, 2009 etc..
Is there a nice graph that would show each question comparing by the years?

"our_ID","survey_yr","q1position", etc.....
"24","2010","1","3.5","13.5","1",etc..."
"25","2010","1","8","4","2","6","0", etc...

I tried this:

catplot  “myvariable1”, percent by (survey_yr) ysize(3) ytitle (Title of the chart) blabel (bar, format (%4.1f))

This works well, but it’s side by side. Is there anything that would do either frequencies of the categorical data or percentages that will show the bars overlapping or showing clearly the differences between years?
I am not very good at Stata, so I am looking for something easy for Stata-dummies.
Thank you very much!
Lucie

This message and any attached documents are only for the use of the intended recipient(s), are confidential and may contain privileged information. Any unauthorized review, use, retransmission, or other disclosure is strictly prohibited. If you have received this message in error, please notify the sender immediately, and then delete the original message. Thank you.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index