<?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: P-value for trend in multivariate analyses? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/P-value-for-trend-in-multivariate-analyses/m-p/423275#M68102</link>
    <description>&lt;P&gt;i think you need to explain it better, i don't understand your table at all. It seems you're misusing the terms bivariate and multivariate&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2017 08:18:30 GMT</pubDate>
    <dc:creator>pau13rown</dc:creator>
    <dc:date>2017-12-22T08:18:30Z</dc:date>
    <item>
      <title>P-value for trend in multivariate analyses?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/P-value-for-trend-in-multivariate-analyses/m-p/398970#M66600</link>
      <description>&lt;P&gt;I am running an analysis with a continuous outcome and a dichotomous outcome. Here's an outline of my table:&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture5.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15437iB7910643AD83C3CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture5.PNG" alt="Capture5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get a p-value for trend in both the bivariate analyses (using PROC GLM&amp;gt; estimate; and PROC FREQ&amp;gt; trend)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to determine if it is even possible to get p-value for trend in multivariate analyses. Theoretically, does that work? Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;**For continuous variable;&lt;BR /&gt;proc glm data = ....;
	class hivpos3 (ref = '0') marital3 (ref = '1') lmpyear (ref = '2011') agecat4 (ref = 'Aged 15 or less') distcat (ref = 'Distance less than or equal to 5 km');
 	model p1v1_gest = hivpos3 marital3 lmpyear agecat4 distcat /solution;
	estimate "Linear trend for lmpyear" lmpyear -1 0 1; 
	estimate "Linear trend for agecat4" agecat4 -0.564165  -0.298675  0.0995585  0.7632818; 
	estimate "Linear trend for distcat" distcat -0.447043  -0.305405  -0.084097  0.8365453; 
run; quit;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;**For dichotmous variable;&lt;BR /&gt;proc logistic data = ....;&lt;BR /&gt;class hivpos3 (ref = '0') marital3 (ref = '1') lmpyear (ref = '2011') agecat4 (ref = 'Aged 15 or less') distcat (ref = 'Distance less than or equal to 5 km')/param=ref;&lt;BR /&gt;model returnee = hivpos3 marital3 lmpyear agecat4 distcat / link=logit stb;&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the continuous variable, I don't know if my "estimate" requests are valid.&lt;/P&gt;&lt;P&gt;For the dichotmous variable,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://support.sas.com/kb/22/617.html" target="_self"&gt;this guidance&lt;/A&gt;&amp;nbsp;says that "&lt;SPAN&gt;In PROC LOGISTIC, the score test in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Testing Global Null Hypothesis: BETA=0&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;table is equivalent to the Cochran-Armitage test" so I am only getting one p-value. Is that the way it should be - just one global p-value?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 22:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/P-value-for-trend-in-multivariate-analyses/m-p/398970#M66600</guid>
      <dc:creator>rogersaj</dc:creator>
      <dc:date>2017-09-26T22:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: P-value for trend in multivariate analyses?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/P-value-for-trend-in-multivariate-analyses/m-p/423275#M68102</link>
      <description>&lt;P&gt;i think you need to explain it better, i don't understand your table at all. It seems you're misusing the terms bivariate and multivariate&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 08:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/P-value-for-trend-in-multivariate-analyses/m-p/423275#M68102</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2017-12-22T08:18:30Z</dc:date>
    </item>
  </channel>
</rss>

