<?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 write code for 1 parameter logistic model ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/646997#M193588</link>
    <description>&lt;P&gt;I have a test contains 150 items, item difficulty parameter for each item is as attached. Suppose I now have candidate whose ability level is 0, I named it theta=0. Now on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;each of the item&lt;/STRONG&gt;, I need to calculate the probability of this candidate correctly answer on each of the time, how should I edit the following&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;macro sas&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code to make it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="\bpar.csv"&amp;nbsp; &amp;nbsp;dbms=csv out=bpar replace; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro f1;&lt;/P&gt;&lt;P&gt;do i=1 to 150;&amp;nbsp; /*from item 1 to item 150*/&lt;/P&gt;&lt;P&gt;prob &amp;amp;i= exp(theta-bpar&amp;amp;i)/(1+exp(theta-bpar&amp;amp;i);&amp;nbsp; &amp;nbsp;/*1 parameter logistic regression model*/&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%f1;&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 08:32:42 GMT</pubDate>
    <dc:creator>CarsonGrey</dc:creator>
    <dc:date>2020-05-12T08:32:42Z</dc:date>
    <item>
      <title>how to write code for 1 parameter logistic model ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/646997#M193588</link>
      <description>&lt;P&gt;I have a test contains 150 items, item difficulty parameter for each item is as attached. Suppose I now have candidate whose ability level is 0, I named it theta=0. Now on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;each of the item&lt;/STRONG&gt;, I need to calculate the probability of this candidate correctly answer on each of the time, how should I edit the following&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;macro sas&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;code to make it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="\bpar.csv"&amp;nbsp; &amp;nbsp;dbms=csv out=bpar replace; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro f1;&lt;/P&gt;&lt;P&gt;do i=1 to 150;&amp;nbsp; /*from item 1 to item 150*/&lt;/P&gt;&lt;P&gt;prob &amp;amp;i= exp(theta-bpar&amp;amp;i)/(1+exp(theta-bpar&amp;amp;i);&amp;nbsp; &amp;nbsp;/*1 parameter logistic regression model*/&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%f1;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/646997#M193588</guid>
      <dc:creator>CarsonGrey</dc:creator>
      <dc:date>2020-05-12T08:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code for 1 parameter logistic model ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/647002#M193592</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/328462"&gt;@CarsonGrey&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;'s reply to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304931"&gt;@superbug&lt;/a&gt;'s &lt;EM&gt;identical&lt;/EM&gt; question, posted three days ago:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/646542/highlight/true#M193443" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/646542/highlight/true#M193443&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-write-code-for-1-parameter-logistic-model/m-p/647002#M193592</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-05-12T08:59:57Z</dc:date>
    </item>
  </channel>
</rss>

