<?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 Contrast for mixed model with spline and one continuous predictor with interaction in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Contrast-for-mixed-model-with-spline-and-one-continuous/m-p/899477#M83016</link>
    <description>&lt;P&gt;I have a dataset with a continuous variable specifying the cumulative dose of a drug received at time t (drug received at multiple time points), a visit day variable, and a continuous outcome variable. I am fitting a model that cubic spline model with knots at the study days the drug is received to model the outcome variable with cumulative dose and a spline for visit day as predictors (and the interaction of day with dose) with subject specific intercept and slope. Below is the model code that I've used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=dat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;class subjectid;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;effect = spl(spline day/degree=3 knotmethod=list(5 10 15));&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;model outcome = spl | dose;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;random intercept day / subject=subjectid;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to estimate the contrast for a subject receiving a dose of 20 and a subject receiving a dose of 10 at day 12. I tried to write the following estimate statement:&lt;/P&gt;&lt;P&gt;estimate "Dose 20 vs Dose 10 at Day 12" spl*dose [1, 12 20][-1, 12 10];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the estimate is showing as "Non-est". Am I writing the contrast wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 22:15:55 GMT</pubDate>
    <dc:creator>louise0828</dc:creator>
    <dc:date>2023-10-20T22:15:55Z</dc:date>
    <item>
      <title>Contrast for mixed model with spline and one continuous predictor with interaction</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contrast-for-mixed-model-with-spline-and-one-continuous/m-p/899478#M83015</link>
      <description>&lt;P&gt;I have a dataset with a continuous variable specifying the cumulative dose of a drug received at time t (drug received at multiple time points), a visit day variable, and a continuous outcome variable. I am fitting a model that cubic spline model with knots at the study days the drug is received to model the outcome variable with cumulative dose and a spline for visit day as predictors (and the interaction of day with dose) with subject specific intercept and slope. Below is the model code that I've used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=dat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;class subjectid;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;effect = spl(spline day/degree=3 knotmethod=list(5 10 15));&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;model outcome = spl | dose;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;random intercept day / subject=subjectid;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to estimate the contrast for a subject receiving a dose of 20 and a subject receiving a dose of 10 at day 12. I tried to write the following estimate statement:&lt;/P&gt;&lt;P&gt;estimate "Dose 20 vs Dose 10 at Day 12" spl*dose [1, 12 20][-1, 12 10];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the estimate is showing as "Non-est". Am I writing the contrast wrong?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 22:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contrast-for-mixed-model-with-spline-and-one-continuous/m-p/899478#M83015</guid>
      <dc:creator>louise0828</dc:creator>
      <dc:date>2023-10-20T22:22:01Z</dc:date>
    </item>
    <item>
      <title>Contrast for mixed model with spline and one continuous predictor with interaction</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contrast-for-mixed-model-with-spline-and-one-continuous/m-p/899477#M83016</link>
      <description>&lt;P&gt;I have a dataset with a continuous variable specifying the cumulative dose of a drug received at time t (drug received at multiple time points), a visit day variable, and a continuous outcome variable. I am fitting a model that cubic spline model with knots at the study days the drug is received to model the outcome variable with cumulative dose and a spline for visit day as predictors (and the interaction of day with dose) with subject specific intercept and slope. Below is the model code that I've used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=dat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;class subjectid;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;effect = spl(spline day/degree=3 knotmethod=list(5 10 15));&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;model outcome = spl | dose;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;random intercept day / subject=subjectid;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to estimate the contrast for a subject receiving a dose of 20 and a subject receiving a dose of 10 at day 12. I tried to write the following estimate statement:&lt;/P&gt;&lt;P&gt;estimate "Dose 20 vs Dose 10 at Day 12" spl*dose [1, 12 20][-1, 12 10];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the estimate is showing as "Non-est". Am I writing the contrast wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 22:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contrast-for-mixed-model-with-spline-and-one-continuous/m-p/899477#M83016</guid>
      <dc:creator>louise0828</dc:creator>
      <dc:date>2023-10-20T22:15:55Z</dc:date>
    </item>
  </channel>
</rss>

