<?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 Searching for Macro Tips in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118709#M6211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running SAS for my research, I have&lt;BR /&gt;some problem with ‘MACRO’ things. So, anyone who know how to solve my problem&lt;BR /&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find the ‘decay parameter’ which&lt;BR /&gt;results the maximum concurrent rate in logistics regression model. And before&lt;BR /&gt;that I need to make some dataset which differ according to its decay parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here’s my original codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;%macro&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;STRONG&gt;&lt;EM&gt;m2&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;data ana2_macro; set ana2; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;decay=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: teal; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;0. 1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2=d0_log_count*decay+d1_log_count;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T2=d0_H_PV*decay+d1_H_PV;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E2=d0_spd*decay+d1_spd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq_E2=d0_spd_sq*decay+d1_spd_sq;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;%mend&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; m2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;And the problem is &lt;STRONG style="text-decoration: underline;"&gt;I want to make decay from 0.1 to 1 (0.1, 0.2, 0.3 …) automatically by using &amp;amp;n or something,&lt;/STRONG&gt; but I don’t&lt;BR /&gt;know how to make it. So, can you give me some advice on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 15:00:39 GMT</pubDate>
    <dc:creator>Yondori</dc:creator>
    <dc:date>2013-04-24T15:00:39Z</dc:date>
    <item>
      <title>Searching for Macro Tips</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118709#M6211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running SAS for my research, I have&lt;BR /&gt;some problem with ‘MACRO’ things. So, anyone who know how to solve my problem&lt;BR /&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find the ‘decay parameter’ which&lt;BR /&gt;results the maximum concurrent rate in logistics regression model. And before&lt;BR /&gt;that I need to make some dataset which differ according to its decay parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here’s my original codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;%macro&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;STRONG&gt;&lt;EM&gt;m2&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;data ana2_macro; set ana2; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;decay=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: teal; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;0. 1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2=d0_log_count*decay+d1_log_count;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T2=d0_H_PV*decay+d1_H_PV;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E2=d0_spd*decay+d1_spd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq_E2=d0_spd_sq*decay+d1_spd_sq;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt;%mend&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 굴림체; mso-bidi-font-size: 10.0pt; mso-hansi-font-family: 'MS Sans Serif'; mso-bidi-font-family: 굴림체; mso-font-kerning: 0pt;"&gt; m2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;And the problem is &lt;STRONG style="text-decoration: underline;"&gt;I want to make decay from 0.1 to 1 (0.1, 0.2, 0.3 …) automatically by using &amp;amp;n or something,&lt;/STRONG&gt; but I don’t&lt;BR /&gt;know how to make it. So, can you give me some advice on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 15:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118709#M6211</guid>
      <dc:creator>Yondori</dc:creator>
      <dc:date>2013-04-24T15:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for Macro Tips</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118710#M6212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need a macro for that? Use a do loop and then process using a by variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;data ana2_macro; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;set ana2; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;do decay=0.1&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: teal; font-family: 굴림체;"&gt; to 0.5&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2=d0_log_count*decay+d1_log_count;&lt;/SPAN&gt; &lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T2=d0_H_PV*decay+d1_H_PV;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E2=d0_spd*decay+d1_spd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sq_E2=d0_spd_sq*decay+d1_spd_sq;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; font-family: 굴림체;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 15:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118710#M6212</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-04-24T15:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for Macro Tips</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118711#M6213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a related discussion of macro processing versus BY-group processing, see the article &lt;A href="http://blogs.sas.com/content/iml/2012/07/18/simulation-in-sas-the-slow-way-or-the-by-way/" title="http://blogs.sas.com/content/iml/2012/07/18/simulation-in-sas-the-slow-way-or-the-by-way/"&gt;Simulation in SAS&lt;/A&gt;. (Bonus: It includes a comment from Reeza!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 15:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Searching-for-Macro-Tips/m-p/118711#M6213</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-04-24T15:13:32Z</dc:date>
    </item>
  </channel>
</rss>

