<?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 How to run Probit regression on SAS? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-run-Probit-regression-on-SAS/m-p/560720#M10488</link>
    <description>&lt;P&gt;I want to run a simple probit regression. The available SAS resources boggle my mind. Hence, I am seeking your help. I have a binary dependent variable Y= either 1 or 0, and let's say 10 independent variables (X1, X2, X3,... etc.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to generate a table of the output, hence I would like to have 'noprint'. I also need r-squired and adjusted r-squired info. How should I code to see the regression results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 05:46:03 GMT</pubDate>
    <dc:creator>d6k5d3</dc:creator>
    <dc:date>2019-05-22T05:46:03Z</dc:date>
    <item>
      <title>How to run Probit regression on SAS?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-run-Probit-regression-on-SAS/m-p/560720#M10488</link>
      <description>&lt;P&gt;I want to run a simple probit regression. The available SAS resources boggle my mind. Hence, I am seeking your help. I have a binary dependent variable Y= either 1 or 0, and let's say 10 independent variables (X1, X2, X3,... etc.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to generate a table of the output, hence I would like to have 'noprint'. I also need r-squired and adjusted r-squired info. How should I code to see the regression results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 05:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-run-Probit-regression-on-SAS/m-p/560720#M10488</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2019-05-22T05:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Probit regression on SAS?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-run-Probit-regression-on-SAS/m-p/560823#M10506</link>
      <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_probit_toc.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;PROC PROBIT&lt;/A&gt; contains a lot of options for probit regression models. However, it does not contain an R-square statistic.&lt;/P&gt;
&lt;P&gt;If you want to experiment with PROC PROBIT, you can use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc probit data=MyData;
   model y = x1-x10;
run;
&lt;/CODE&gt;&lt;/PRE&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;You can also use PROC LOGISTIC with the LINK+probit option to perform probit regression. The LOGISTIC procedure supports the RSQUARE option, which prints a generalized R-square statistic:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=MyData;
   model y = x1-x10 / link=probit rsquare;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Both these calls generate a table of parameter estimates and other statistics. If you use the NOPRINT option, no output will be displayed. If you want to save a table into a SAS data set, you can &lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_self"&gt;use the ODS OUTPUT statement.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example, to save the ParameterEstimates table into a SAS data set called 'PE', you can use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc logistic data=MyData;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;model y = x1-x10 / link=probit rsquare;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ods output ParameterEstiamtes=PE;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 13:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-run-Probit-regression-on-SAS/m-p/560823#M10506</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-22T13:13:49Z</dc:date>
    </item>
  </channel>
</rss>

