Hi I am new to sas has has a lot of trouble making the right plot. I want to make something like this (Picture found from John J. Lee): I have the variable new_polviews which is either 1=Conservative ,2=Liberal or 3=other. Then i have new_partyid which is 1=Republican 2=Democrat 3= other (just as in the picture) I want to find out and plot the estimated share of Democrats and Republicans who is Liberal or Conservative and see their timely development to compare the two parties. As i understand i can calculate the value as so: proc freq data=gss1; table new_polviews*new_partyid; by year; run; Example of one year: I can see the percentage for each year, but i can't seem to plot them and get the estimated percent with confidence interval. I hope you can help me. M
... View more