<?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: Cross-sectional response with longitudinal predictor in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664245#M31664</link>
    <description>&lt;P&gt;Thought about this more overnight. This sounds like a job for PROC CANDISC.&amp;nbsp; From the documentation:&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug_candisc000020" class="AAsection"&gt;
&lt;P&gt;&lt;EM&gt;Given a classification variable and several quantitative variables, the CANDISC procedure derives &lt;U&gt;canonical variables&lt;/U&gt;, &lt;A class="indexterm" name="statug.candisc.a0000000004" target="_blank"&gt;&lt;/A&gt; which are linear combinations of the quantitative variables that summarize between-class variation in much the same way that principal components summarize total variation&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example in the documentation ought to point you in the right direction, and the graphic generated should help with interpretation. Since the canonical variables are constructed based on both within and between associations, any time dependency in your X variables should be accounted for (i.e, they don't have to be independent variables).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Jun 2020 11:41:10 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-06-23T11:41:10Z</dc:date>
    <item>
      <title>Cross-sectional response with longitudinal predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664004#M31654</link>
      <description>&lt;DIV class=""&gt;I have a study with repeated measures exposure (x measured once daily for several days) and a single fixed outcome at the end of the study (Y, event status at day 30).&amp;nbsp;What would be the appropriate modeling approach? Normally, I would use GEE with PROC GENMOD, but the response variable is a one-time measurement at end of study and not a repeated measure. Only the predictors are repeated measure.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;genmod&lt;/STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;desc&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;CLASS&lt;/SPAN&gt; subject day;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;MODEL&lt;/SPAN&gt;&amp;nbsp;y&amp;nbsp;= x /&amp;nbsp;&lt;SPAN class=""&gt;DIST&lt;/SPAN&gt;=BIN&amp;nbsp;&lt;SPAN class=""&gt;LINK&lt;/SPAN&gt;=logit;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;REPEATED&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;SUBJECT&lt;/SPAN&gt;=subject /&amp;nbsp;&lt;SPAN class=""&gt;WITHINSUBJECT&lt;/SPAN&gt;=day&amp;nbsp;&lt;SPAN class=""&gt;TYPE&lt;/SPAN&gt;=UN;&amp;nbsp;&lt;SPAN class=""&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;In the above program, would it be valid for me to copy Y to all study days for each subject, even though it is a cross-sectional measure taken at end of study? The program runs if I do that, but is that valid for this unique case?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Regarding alternative models, my field discourages Cox models because time-to-event is viewed as not relevant for such short follow-up periods. Plus, there's a time-gap between the last measured X and the later-assessed cross-sectional outcome Y.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Any help would be greatly appreciated!&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Jun 2020 15:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664004#M31654</guid>
      <dc:creator>jbsas</dc:creator>
      <dc:date>2020-06-22T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-sectional response with longitudinal predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664007#M31655</link>
      <description>&lt;P&gt;What about reshaping the data so that you have x1 to x30 (I presume) as predictors, and then doing something like a logistic regression where you used LASSO or elastic net to select the variables that have the greatest influence?&amp;nbsp; I like that better than putting in a single response and doing univariate things.&amp;nbsp; Another possibility would be to use an EFFECT statement to fit a spline to the x variables, and then do the regression on the spline variable.&amp;nbsp; This avoids the dangers of variable selection, but the trade-off is in knot selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 15:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664007#M31655</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-06-22T15:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-sectional response with longitudinal predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664245#M31664</link>
      <description>&lt;P&gt;Thought about this more overnight. This sounds like a job for PROC CANDISC.&amp;nbsp; From the documentation:&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug_candisc000020" class="AAsection"&gt;
&lt;P&gt;&lt;EM&gt;Given a classification variable and several quantitative variables, the CANDISC procedure derives &lt;U&gt;canonical variables&lt;/U&gt;, &lt;A class="indexterm" name="statug.candisc.a0000000004" target="_blank"&gt;&lt;/A&gt; which are linear combinations of the quantitative variables that summarize between-class variation in much the same way that principal components summarize total variation&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example in the documentation ought to point you in the right direction, and the graphic generated should help with interpretation. Since the canonical variables are constructed based on both within and between associations, any time dependency in your X variables should be accounted for (i.e, they don't have to be independent variables).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jun 2020 11:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cross-sectional-response-with-longitudinal-predictor/m-p/664245#M31664</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-06-23T11:41:10Z</dc:date>
    </item>
  </channel>
</rss>

