<?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: What Statistical Analysis in SAS is Appropriate? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905057#M44917</link>
    <description>&lt;P&gt;Hello. Thanks so much for your response. Highly appreciated. I&amp;nbsp; would like to see the trend&amp;nbsp; of amount of substance use over time for individuals and not groups. No&amp;nbsp; comparison of trends between the groups either.&amp;nbsp; The unit&amp;nbsp; of the substance amount is in ranges i.e. categorical. Is it possible to&amp;nbsp; conduct&amp;nbsp; analysis without comparing groups&amp;nbsp; in this case? Can you please clarify whether the type of analysis that&amp;nbsp; you suggested would work for that?&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 23:39:50 GMT</pubDate>
    <dc:creator>Liz123</dc:creator>
    <dc:date>2023-11-28T23:39:50Z</dc:date>
    <item>
      <title>What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/904958#M44910</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Hello everyone. I&amp;nbsp;&amp;nbsp;would like to trend the amount of substance used over a period of time for individuals using a particular service to see whether there is&amp;nbsp; an increase in substance use over time or not. Also I would&amp;nbsp; like to know whether these&amp;nbsp; changes are associated with a cardiac problem or not.&amp;nbsp; The&amp;nbsp; amount of substance (y axis) is&amp;nbsp; in ranges, hence it is not continuous, while&amp;nbsp; the Y axis is time. Each subject has&amp;nbsp; measures at several points and these timepoints are not consistent for all the participants.&amp;nbsp; No comparison group..&amp;nbsp; The cardiac event is a dichotomous variable (Yes/No).&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;My questions are:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1) What type of statistical analysis would be appropriate to trend the amount of&amp;nbsp; substance used by individuals over the period of study, considering that the amount of substance use will be in ranges,&amp;nbsp; not a continuous variable.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;2) What analysis can I do for the 2nd part to test whether there is an association with cardiac problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have been looking for research papers that may have done&amp;nbsp; analysis&amp;nbsp; of this type but I have not found yet. If anyone has a resource material or&amp;nbsp; research paper link that could help, that would be helpful in addition to the responses that I get from this forum.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/904958#M44910</guid>
      <dc:creator>Liz123</dc:creator>
      <dc:date>2023-11-28T19:46:16Z</dc:date>
    </item>
    <item>
      <title>What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/904982#M44914</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Hello everyone. I&amp;nbsp;&amp;nbsp;would like to trend the amount of substance used over a period of time for individuals using a particular service to see whether there is&amp;nbsp; an increase in substance use over time or not. Also I would&amp;nbsp; like to know whether these&amp;nbsp; changes are associated with a cardiac problem or not.&amp;nbsp; The&amp;nbsp; amount of substance (y axis) is&amp;nbsp; in ranges, hence it is not continuous, while&amp;nbsp; the Y axis is time. Each subject has&amp;nbsp; measures at several points and these timepoints are not consistent for all the participants.&amp;nbsp; No comparison group..&amp;nbsp; The cardiac event is a dichotomous variable (Yes/No). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;1) What type of statistical analysis would be appropriate to trend the amount of&amp;nbsp; substance used by individuals over the period of study, considering that the amount of substance use will be in ranges,&amp;nbsp; not a continuous variable.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) What analysis can I do for the 2nd part to test whether there is an association with cardiac problem? &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have been looking for research papers that may have done&amp;nbsp; analysis&amp;nbsp; of this type but I have not found yet. Any advice? If anyone has a resource link&amp;nbsp; or&amp;nbsp; research paper link that could help, that would be helpful in addition to the responses that I get from this forum. Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 20:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/904982#M44914</guid>
      <dc:creator>Liz123</dc:creator>
      <dc:date>2023-11-28T20:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905048#M44913</link>
      <description>&lt;P&gt;There could be several approaches or models to address your questions and the choice of the most appropriate one for your data and goals has to be yours. That said, one approach is to fit a suitable Generalized Estimating Equations (GEE) model to accommodate the repeated measurements on each subject. I assume that the two cardiac groups consist of two independent sets of subjects. If you assume that your ordinal response is at least roughly normally distributed in each group at each time and that any trend over time is approximately linear, then the model could simply allow for an intercept and a slope for each of the two cardiac groups. The slopes measure the trend in each group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic idea is similar to what is discussed in &lt;A href="http://support.sas.com/kb/70498" target="_self"&gt;this note&lt;/A&gt; on intervention analysis, but doesn't involve an intervention. The situation described above is like the right-hand (post intervention) side of the data plot in the "Treated and Control Groups, Continuous Response" section of the note. The following generates the same example data but keeps only the observations for the two independent groups over months 4-6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;     data a; 
        sd=3;
        keep id exposed month iv expiv y;
        do exposed=1,0;
        do month=1 to 6;
           iv=(month&amp;gt;3);
           expiv=cats(exposed,'_',iv);
           input mean @;
           do ID=1 to 10;
              Y=rannor(23425)*sd+mean;
              if iv then output;
           end; 
        end; end;
        datalines;
      26 30 32   45 52 63
      27 31 33   29 32 36
      ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The PROC GEE step fits and plots a model that allows for separate intercepts (EXPOSED) and slopes or trends (EXPOSED*MONTH) for the two exposure groups (like your cardiac groups). Because the model contains a single, common slope estimate (MONTH), the test for the MONTH*EXPOSED interaction is a test of whether the slopes for the two exposed groups are the same. The highly significant test for the interaction indicates that the group trends differ. Whether the subjects are all observed at that same set of time points doesn't affect this particular analysis.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;     proc gee data=a; 
        class id exposed;
        model y = exposed month exposed*month;
        repeated subject=id;
        effectplot slicefit(x=month sliceby=exposed) / extend=data clm;
        run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You could then fit a form of the model that directly shows the estimated intercepts (EXPOSED) and slopes (EXPOSED*MONTH) for the two groups.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;     proc gee data=a; 
        class id exposed;
        model y = exposed exposed*month / noint;
        repeated subject=id;
        effectplot slicefit(x=month sliceby=exposed) / extend=data clm;
        run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 22:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905048#M44913</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-11-28T22:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905050#M44915</link>
      <description>&lt;P&gt;I think this is a duplicate of "another" topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/td-p/904958" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/td-p/904958&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please don't post your question multiple times in several boards simultaneously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If another board is better suited to receive your question, the topic will be moved by a user with "super-powers".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 22:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905050#M44915</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-11-28T22:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905055#M44916</link>
      <description>&lt;P&gt;I merged the posts.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905055#M44916</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-11-28T23:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905057#M44917</link>
      <description>&lt;P&gt;Hello. Thanks so much for your response. Highly appreciated. I&amp;nbsp; would like to see the trend&amp;nbsp; of amount of substance use over time for individuals and not groups. No&amp;nbsp; comparison of trends between the groups either.&amp;nbsp; The unit&amp;nbsp; of the substance amount is in ranges i.e. categorical. Is it possible to&amp;nbsp; conduct&amp;nbsp; analysis without comparing groups&amp;nbsp; in this case? Can you please clarify whether the type of analysis that&amp;nbsp; you suggested would work for that?&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905057#M44917</guid>
      <dc:creator>Liz123</dc:creator>
      <dc:date>2023-11-28T23:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905059#M44918</link>
      <description>&lt;P&gt;Hello. So sorry about that. I am&amp;nbsp; new on this platform. I was not sure whether&amp;nbsp; my question was&amp;nbsp; posted, so I posted again. Thanks for letting me know.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905059#M44918</guid>
      <dc:creator>Liz123</dc:creator>
      <dc:date>2023-11-28T23:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: What Statistical Analysis in SAS is Appropriate?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905066#M44919</link>
      <description>For your first question, if "amount of substance use will be in ranges, " a.k.a it is a category variable,&lt;BR /&gt;You could try PROC FREQ 's trend analysis:&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_freq_examples08.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_freq_examples08.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For your second question, maybe you could try PROC CATMOD.&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_catmod_syntax.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_catmod_syntax.htm&lt;/A&gt;&lt;BR /&gt;But I don't know how to code it.</description>
      <pubDate>Wed, 29 Nov 2023 02:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/What-Statistical-Analysis-in-SAS-is-Appropriate/m-p/905066#M44919</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-11-29T02:30:00Z</dc:date>
    </item>
  </channel>
</rss>

