Dear Steve:
How to control this SAS code to get the plot of the row percents.
ods graphics on;
ods output wtfreqplot=wtfreqplot;
proc surveyfreq data = prepregnancystrata12Tier;
strata STRATUM1;
weight WTANAL;
table PREV_LB*Tier/ CL clwt row nowt wchisq chisq chisq1 plots(only)=wtfreqplot(type=dotplot scale=percent); /*orient=vertical*/
run;
ods graphics off;
It gives the graph of the percent of the ones out of the table total. But instead, I do not to get the graph of the row percent.
many thanks
Steven
Dear Steve:
I tried to use this one, but it still gives me the plot for the table total percent.
So, how to modify it to be able to get the graph of the row percents.
ods graphics on;
proc surveyfreq data = prepregnancystrata12Tier;
strata STRATUM1;
weight WTANAL;
table PREV_LB*Tier/row plots=(wtfreqplot(cl));
run;
many thanks
Steven
Dear Steve:
For 11 months, a linear trend in the means would be:
LSMESTIMATE months 'Linear trend' -5 -4 -3 -2 -1 0 1 2 3 4 5/cl;
If we have only 4 months, how is the linear trend in the means looks like?
Thank you very much
Steven
-3 -1 1 3
Google is your friend. Try "orthogonal polynomial" as a search term. There are multiple sites that will calculate the coefficients for you.
Steve Denham
Steven
Dear Steve:
In proc surveyfreq: how can I force the plots = to plot the row percent NOT just percent.
Thanks
Steve
I would have to search the documentation on this one. I don't generally use the plots.
Steve Denham
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.