<?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: Nonparametric logistic regression (univariate) in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598962#M16393</link>
    <description>&lt;P&gt;You can fit a polynomial regression in PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the EFFECT statement in PROC LOGISTIC to fit a spline through the x-variable that might be a good predictor or the probability.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 10:44:56 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-10-24T10:44:56Z</dc:date>
    <item>
      <title>Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598707#M16346</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to ask questions related to my project that I am currently doing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a data which is nonparametric, which fairly recently relaised..&amp;nbsp;&lt;/P&gt;&lt;P&gt;So before I notice I need to apply nonparametric method, I did logistic regression (univariate, univariable).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then as I said data has characteristics and now studying nonparametric method but there are many things that I am no sure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my questions are:&lt;/P&gt;&lt;P&gt;1. Can I use "proc adaptivereg" when there is one variable and one variate?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This is because I have looked at below and kindly explained that the proc adaptivereg is for multivariate..&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_adaptivereg_examples03.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_adaptivereg_examples03.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1-1. when it is multivariate, does that mean I can have only one variable or it doesnt matter in multivariate setting?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If question 1 is no, then can you recommend syntax for nonparametric data for simple logistic regression?&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I used proc logistic before)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great help for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks and best wishes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danielle.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598707#M16346</guid>
      <dc:creator>Daniellekeem</dc:creator>
      <dc:date>2019-10-23T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598709#M16347</link>
      <description>&lt;P&gt;Let's start at the beginning. Why do you think you need a non-parametric analysis here?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598709#M16347</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-23T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598753#M16355</link>
      <description>Non-parametric refers to methods not data. Data cannot be non-parametric. A common misconception is that non normal data requires non -parametric by default. This is not always true.</description>
      <pubDate>Wed, 23 Oct 2019 15:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598753#M16355</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-23T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598880#M16373</link>
      <description>&lt;P&gt;Predicted probability and result of logistic regression say different things. For example predicted probability decreases from age 15 to 31 then increase from 32 to 49 whilst logistic regression says age 1 year older probability will be decreasing. So it seems non-linear relations but regressions says linear which I am not sure but just reckon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 11:12:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598880#M16373</guid>
      <dc:creator>Daniellekeem</dc:creator>
      <dc:date>2019-10-24T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598923#M16376</link>
      <description>&lt;P&gt;Oh I see! thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 05:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598923#M16376</guid>
      <dc:creator>Daniellekeem</dc:creator>
      <dc:date>2019-10-24T05:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598962#M16393</link>
      <description>&lt;P&gt;You can fit a polynomial regression in PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the EFFECT statement in PROC LOGISTIC to fit a spline through the x-variable that might be a good predictor or the probability.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 10:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598962#M16393</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-24T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598967#M16395</link>
      <description>&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 11:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598967#M16395</guid>
      <dc:creator>Daniellekeem</dc:creator>
      <dc:date>2019-10-24T11:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598994#M16408</link>
      <description>&lt;P&gt;I remembered&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; wrote a blog about analysis NBA data by using two different non-parameter logistic regression .&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 12:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/598994#M16408</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-10-24T12:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/599025#M16414</link>
      <description>&lt;P&gt;Yes, you can use PROC ADAPTIVEREG for univariate analysis. "Multivariate" means "one or more" in this situation. Here is some data and an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Cars;
set sashelp.cars;
where Origin in ('Asia', 'USA');
Event = (Origin="USA");   /* equivalent 0/1 binary numerical response */
run;
&lt;BR /&gt;proc sort data=cars;&lt;BR /&gt;by weight;&lt;BR /&gt;run;&lt;BR /&gt;
proc adaptivereg data=cars;
model Origin(event="USA") = weight;
output out=AdaptiveOut p(ilink);
run;

proc sgplot data=AdaptiveOut noautolegend;
   scatter x=weight y=Event / jitter jitterwidth=0.1;
   series x=weight y=Pred;
   yaxis min=0 max=1 grid label="Predicted Probability" offsetmax=0.1 offsetmin=0.1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Paige and others have said, you can also use spline effects with PROC LOGISTIC. For a discussion, see the article &lt;A href="https://blogs.sas.com/content/iml/2017/04/19/restricted-cubic-splines-sas.html" target="_self"&gt;"Regression with restricted cubic splines in SAS".&lt;/A&gt; Here is an example, modified from that article:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* create sample data; sort by independent variable for graphing */
data Cars;
set sashelp.cars;
where Origin in ('Asia', 'USA');
Event = (Origin="USA");   /* equivalent 0/1 binary numerical response */
run;

proc sort data=cars;
   by weight;
run;
 
/* Fit data by using restricted cubic splines.
   The EFFECT statement is supported by many procedures: */
title "Restricted Cubic Spline Regression";
proc logistic data=cars plots=none;
  effect spl = spline(weight / details naturalcubic basis=tpf(noint)                 
                               knotmethod=percentiles(5) );
   model Origin(event="USA") = spl;       /* fit model by using spline effects */
   output out=SplineOut predicted=PredProb;    /* output predicted values for graphing */
quit;
 
proc sgplot data=SplineOut noautolegend;
   scatter x=weight y=Event / jitter jitterwidth=0.1;
   series x=weight y=PredProb;
   yaxis min=0 max=1 grid label="Predicted Probability" offsetmax=0.1 offsetmin=0.1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Oct 2019 13:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/599025#M16414</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-24T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric logistic regression (univariate)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/599995#M16561</link>
      <description>&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 07:22:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Nonparametric-logistic-regression-univariate/m-p/599995#M16561</guid>
      <dc:creator>Daniellekeem</dc:creator>
      <dc:date>2019-10-29T07:22:36Z</dc:date>
    </item>
  </channel>
</rss>

