<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Graphs on surveyreg procedure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870619#M343859</link>
    <description>Hello !&lt;BR /&gt;&lt;BR /&gt;Thank you Cinthia, would you please paste the code you are referring to? I&lt;BR /&gt;checked and I couldn't find it . If someone else has another&lt;BR /&gt;suggestion, please let me know!&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Apr 2023 18:41:03 GMT</pubDate>
    <dc:creator>anavipalma</dc:creator>
    <dc:date>2023-04-19T18:41:03Z</dc:date>
    <item>
      <title>Graphs on surveyreg procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870585#M343843</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling to create a prevalence diabetes graph with confidence intervals using the survey reg procedure (my data has survey weights.&amp;nbsp; Note= diabetes prevalence can we used as a continuous variable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;proc surveyreg data= mydata;&lt;/P&gt;&lt;P&gt;strata strata;&lt;/P&gt;&lt;P&gt;class sex;&lt;/P&gt;&lt;P&gt;model diabetes=sex/ clparm;&lt;/P&gt;&lt;P&gt;weight weight;&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;thank you for your prompt help, it is much needed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870585#M343843</guid>
      <dc:creator>anavipalma</dc:creator>
      <dc:date>2023-04-19T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs on surveyreg procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870592#M343845</link>
      <description>&lt;P&gt;Hi: The PROC SURVEYREG documentation describes how you use can use ODS GRAPHICS with this procedure: &lt;A href="https://go.documentation.sas.com/doc/en/statcdc/14.2/statug/statug_surveyreg_details54.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/statcdc/14.2/statug/statug_surveyreg_details54.htm&lt;/A&gt; &lt;BR /&gt;As shown in the documentation, using various statements will cause PROC SURVEYREG to automatically produce graphics. I don't see the PLOTS= option in your code so I wonder whether you might need a PLOTS= option. When I run the example from the doc using the FARMS data (which has both a STRATA and a WEIGHT statement, the default plot that I get is a bubble plot without using the PLOTS= option. This might be a question that is better worked with Tech Support so they can look at your data and your code and help you figure out the correct SURVEYREG syntax for what you want to do..&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870592#M343845</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-04-19T16:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs on surveyreg procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870598#M343847</link>
      <description>&lt;P&gt;I would like to see some examples of the value of Diabetes.&lt;/P&gt;
&lt;P&gt;Surveyreg, like Proc Reg is more designed to have more or less continuous independent and dependent variables. As in predicting how much change the dependent variable is associated with a change in the independent. Sex, especially as a class variable, typically does not have that sort of behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your diabetes variable is actually a 0/1 type coding (or similar) for does not have diabetes/has diabetes then you probably should be looking to SurveyLogistic.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870598#M343847</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-19T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs on surveyreg procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870619#M343859</link>
      <description>Hello !&lt;BR /&gt;&lt;BR /&gt;Thank you Cinthia, would you please paste the code you are referring to? I&lt;BR /&gt;checked and I couldn't find it . If someone else has another&lt;BR /&gt;suggestion, please let me know!&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2023 18:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870619#M343859</guid>
      <dc:creator>anavipalma</dc:creator>
      <dc:date>2023-04-19T18:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Graphs on surveyreg procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870624#M343862</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The SURVEYREG example 120.4 is the one I used &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyreg_examples04.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyreg_examples04.htm&lt;/A&gt; and I got a bubble plot as shown in the documentation.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 19:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Graphs-on-surveyreg-procedure/m-p/870624#M343862</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-04-19T19:28:44Z</dc:date>
    </item>
  </channel>
</rss>

