<?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>Miracle Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>Miracle Tracker</description>
    <pubDate>Mon, 11 May 2026 04:11:27 GMT</pubDate>
    <dc:date>2026-05-11T04:11:27Z</dc:date>
    <item>
      <title>Re: How to output p value for covariance parameter estimates when using PROC GLIMMIX?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-output-p-value-for-covariance-parameter-estimates-when/m-p/785672#M250778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/222217"&gt;@di_niu0&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;This output section can be obtained by using the ods output statement where it is stored in&amp;nbsp;&lt;FONT size="3"&gt;&lt;EM&gt;CovParms&lt;/EM&gt; in SAS. &lt;BR /&gt;HTH.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ods trace on;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ods output CovParms=outds;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;proc glimmix data=schools method=quad;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;class school_id class_id;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;model&amp;nbsp; score = class_id / solution dist=binary link=logit;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;random intercept / subject=school_id solution;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ods output close;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ods trace off;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 02:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-output-p-value-for-covariance-parameter-estimates-when/m-p/785672#M250778</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-12-13T02:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exposure-adjusted event rate</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/763901#M2601</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72050"&gt;@MelissaM&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 16:44:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/763901#M2601</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-25T16:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Assign id</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/763899#M80956</link>
      <description>&lt;P&gt;Thanks everyone for the advice.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 16:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/763899#M80956</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-25T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Assign id</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/762785#M80938</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp; for your solution using datastep.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="4"&gt;But I need to perform this manipulation using proc sql.&lt;BR /&gt;BTW, this is not homework. I try to use proc sql more for my work now.&lt;BR /&gt;Thanks a lot.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 08:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/762785#M80938</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-20T08:49:55Z</dc:date>
    </item>
    <item>
      <title>Assign id</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/762243#M80927</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="3"&gt;Dear All,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino" size="3"&gt;May I know how do go from 'have' to 'want' using proc sql?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino" size="3"&gt;Thanks a lot.&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="georgia,palatino" size="3"&gt;&lt;U&gt;&lt;STRONG&gt;have&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;studyid test
abc110  1
abc110  2
abc110  3
abc201  1
abc201  2
abc405  1
abc405  2&lt;/FONT&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;FONT face="georgia,palatino" size="3"&gt;&lt;U&gt;&lt;STRONG&gt;want&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;studyid test   n
abc110  1           1
abc110  2          1
abc110  3          1
abc201  1          2
abc201  2         2
abc405  1         3
abc405  2         3&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 09:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-id/m-p/762243#M80927</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-18T09:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql: combine data with string dates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/760921#M80903</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Dear&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp; and All,&lt;BR /&gt;I have another question please.&lt;BR /&gt;How do I combine the demographic dataset that contains more patients to this sql please? So every patient from the demographic dataset will show in the final dataset regardless whether they are present in x or y dataset.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Thanks a lot. Again!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 14:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/760921#M80903</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-11T14:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate every id by all possible unique group present in data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replicate-every-id-by-all-possible-unique-group-present-in-data/m-p/759721#M240139</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281770"&gt;@maguiremq&lt;/a&gt;&amp;nbsp;for your quick reply.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="4"&gt;I was thinking something like datastep by reading a macro variable containing all the unique grp then using do loop to repeat for every row but I dunno how exactly.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="4"&gt;This is much easier and should do for now.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replicate-every-id-by-all-possible-unique-group-present-in-data/m-p/759721#M240139</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-05T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql: combine data with string dates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/759702#M80875</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;Thanks a lot&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt; It's a very detailed explanation for someone who isn't a sql person.&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="georgia,palatino" size="4"&gt;I really appreciate it.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 14:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/759702#M80875</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-05T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Replicate every id by all possible unique group present in data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replicate-every-id-by-all-possible-unique-group-present-in-data/m-p/759701#M240130</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Dear All,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;Can I please seek your help on how to achieve this?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;For example, I would like turn data X into data Y.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Thanks a lot.&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD width="64" height="17" class="xl63" style="height: 12.75pt; width: 48pt;"&gt;Data X&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="width: 48pt;"&gt;Data Y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;id&amp;nbsp; grp&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl64"&gt;id&amp;nbsp; grp&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;1&amp;nbsp; A&lt;/TD&gt;
&lt;TD class="xl64"&gt;1&amp;nbsp; A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;1&amp;nbsp; B&lt;/TD&gt;
&lt;TD class="xl64"&gt;1&amp;nbsp; B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;2&amp;nbsp; A&lt;/TD&gt;
&lt;TD class="xl64"&gt;1 C&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;2&amp;nbsp; C&lt;/TD&gt;
&lt;TD class="xl64"&gt;2&amp;nbsp; A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;3&amp;nbsp; A&lt;/TD&gt;
&lt;TD class="xl64"&gt;2 B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;3&amp;nbsp; B&lt;/TD&gt;
&lt;TD class="xl64"&gt;2&amp;nbsp; C&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;3&amp;nbsp; C&lt;/TD&gt;
&lt;TD class="xl64"&gt;3&amp;nbsp; A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" class="xl64" style="height: 12.75pt;"&gt;4&amp;nbsp; C&lt;/TD&gt;
&lt;TD class="xl64"&gt;3&amp;nbsp; B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" style="height: 12.75pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl64"&gt;3&amp;nbsp; C&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" style="height: 12.75pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl64"&gt;4&amp;nbsp; A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" style="height: 12.75pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl64"&gt;4&amp;nbsp; B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" style="height: 12.75pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD class="xl64"&gt;4&amp;nbsp; C&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&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;</description>
      <pubDate>Thu, 05 Aug 2021 14:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replicate-every-id-by-all-possible-unique-group-present-in-data/m-p/759701#M240130</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-05T14:25:04Z</dc:date>
    </item>
    <item>
      <title>proc sql: combine data with string dates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/759274#M80868</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Dear All,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;Can I please seek your help on how to combine this 2 proc sql together?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;The first proc sql is to obtaine the date of first and last treatment.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;The second proc sql is to identify treatment emergent AE.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;Instead of two separate proc sql, how can I achieve this by using one proc sql?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino"&gt;Thanks a lot.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
	create table txdat as 
	select id, 
	       min(input(ECSTD,yymmdd10.)) format=is8601da. length=8 as trtstd,
				 max(input(ECEND,yymmdd10.)) format=is8601da. length=8 as trtend
	from ec
	group by id;
quit;
proc sql;
	create table chk as 
	select coalesce (x.id,y.id) as id, 
				 x.trtstd, 
				 y.AEYN,
				 y.aeterm, 
				 case when AESTDT &amp;lt;&amp;gt; "" then input(y.AESTDT,is8601da.) else . end as aestd format=is8601da. length=8,
				 case when AESTDT &amp;lt;&amp;gt; "" and trtstd &amp;lt;&amp;gt; . and calculated aestd &amp;gt;= trtstd then 1 else 0 end as teae,
				 y.tmp
	from txdat as x
	full join ae as y
	on x.id=y.id;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 11:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-combine-data-with-string-dates/m-p/759274#M80868</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-08-04T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Incorrect year from character date to SAS date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incorrect-year-from-character-date-to-SAS-date/m-p/754040#M237723</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Dear All,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Could you please point me out the what's wrong with my code? &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Why it is giving me the year of 2020 instead of 2021?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Thanks a lot.&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="andale mono,times"&gt;&lt;CODE class=" language-sas"&gt;data _null_;
strdate="13 APR 2021";
sasdate=input(strdate,date9.);
format sasdate yymmdd10.;
put strdate=; 
put sasdate=;
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;FONT face="andale mono,times"&gt;&lt;CODE class=" language-sas"&gt;strdate=13 APR 2021
sasdate=2020-04-13&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 11:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incorrect-year-from-character-date-to-SAS-date/m-p/754040#M237723</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-07-14T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exposure-adjusted event rate</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/733721#M2589</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;for your reply.&lt;BR /&gt;I can see many on exposure-adjusted incidence rate only.&lt;BR /&gt;Would you mind to share me the link specifically for exposure-adjusted event rate please?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 12:59:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/733721#M2589</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-04-14T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Conditionally run proc mixed within macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conditionally-run-proc-mixed-within-macro/m-p/732976#M228405</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Dear All,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;Could you please to point out what have I done wrong given the following errors?&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Thanking you in advance.&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: Required operator not found in expression: &amp;amp;sub eq
ERROR: The macro REPEAT will stop executing.

ods output LSMeans=LSM_all_&amp;amp;param
SliceDiffs=SDiff_all_&amp;amp;param;
proc mixed data=inds;
%if &amp;amp;sub ne %then by &amp;amp;byvar;
where PARNAM1C="&amp;amp;param" and 1&amp;lt;=vis&amp;lt;=13;
class id resp tx sex vis / ref=first;
model chg=resp tx sex resp*vis / s ddfm=kenwardroger;
lsmeans resp*vis / cl;
repeated vis / subject=id type=&amp;amp;cov;
slice resp*VIS / sliceby=vis pdiff cl;
run;
ods output close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Apr 2021 09:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conditionally-run-proc-mixed-within-macro/m-p/732976#M228405</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-04-12T09:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exposure-adjusted event rate</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/732931#M2586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From clinicaltrials.gov.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 03:34:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/732931#M2586</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-04-12T03:34:39Z</dc:date>
    </item>
    <item>
      <title>Exposure-adjusted event rate</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/728844#M2584</link>
      <description>Dear All,&lt;BR /&gt;My apologies that this is not a SAS question.&lt;BR /&gt;But I'm wondering if anyone is able to explain to me on how exposure-adjusted event rate is calculated? Especially the denominator. Is the denominator the sum of differences between treatment start date and discontinuation/completion date from all patients?&lt;BR /&gt;Thanking you in advance.</description>
      <pubDate>Fri, 02 Apr 2021 15:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Exposure-adjusted-event-rate/m-p/728844#M2584</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-04-02T15:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite Likelihood error Proc Mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infinite-Likelihood-error-Proc-Mixed/m-p/726976#M263199</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/367723"&gt;@QiQi_22&lt;/a&gt;&amp;nbsp; for your reply.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;I have already tried that but still getting the warning.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 04:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infinite-Likelihood-error-Proc-Mixed/m-p/726976#M263199</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-03-17T04:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite Likelihood error Proc Mixed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infinite-Likelihood-error-Proc-Mixed/m-p/726269#M263198</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;I am also getting this warning -&amp;nbsp;WARNING: Stopped because of infinite likelihood.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;I have tried different covariance structure as advised &lt;A title="here" href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mixed_sect031.htm" target="_self"&gt;here.&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;And there is only one&amp;nbsp;&lt;SPAN&gt;observation row for every VIS from ID.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="4"&gt;Any advice from anybody will be very much appreciated.&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="andale mono,times" size="2"&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=final;
by labparam;
class ID resp sex tx VIS;
model chg=base resp age sex tx VIS tx*VIS / s ddfm=kenwardroger;
lsmeans tx*VIS / cl;
repeated VIS / subject=ID type=ar(1);
/* repeated VIS / subject=ID type=vc;*/
/* repeated VIS / subject=ID type=cs;*/
/* repeated VIS / subject=ID type=un(1);*/
/* repeated VIS / subject=ID type=toep;*/
slice tx*VIS / sliceby=VIS pdiff cl;
run;.&amp;nbsp;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 13:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infinite-Likelihood-error-Proc-Mixed/m-p/726269#M263198</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-03-15T13:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional flagging id by few variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723790#M224666</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, you are correct. The data is stored in a database.&lt;BR /&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp; for pointing out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 07:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723790#M224666</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-03-05T07:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional flagging id by few variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723782#M224663</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp; for your response.&lt;/P&gt;
&lt;P&gt;It is not homework.&lt;/P&gt;
&lt;P&gt;It is a claim data with &amp;gt;1billion data rows.&lt;/P&gt;
&lt;P&gt;I was advised to use sql because it will run faster but I am not good at sql.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 06:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723782#M224663</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-03-05T06:23:03Z</dc:date>
    </item>
    <item>
      <title>Conditional flagging id by few variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723755#M224653</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Dear All,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Can I please seek your help on this by using sql?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;I have a dataset containing id, date_1, date_2 and indication.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;I would like to derive get, keep, date_3 and group.&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face="andale mono,times" size="4"&gt;The rationale is to &lt;/FONT&gt;&lt;FONT face="andale mono,times" size="4"&gt;flag keep=Y for the all the data rows with the earliest dates of&amp;nbsp;both date_1 and date_2 for all the ids&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="andale mono,times" size="4"&gt;If the data rows of keep=Y having both the same month and year i.e. id=1, then date_3=date_2 and group=Gen&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="andale mono,times" size="4"&gt;If the data rows of keep=Y having different month and year i.e. id=2, then group=Indication.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT face="andale mono, times" size="4"&gt;Thanking you in advance.&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="andale mono,times" size="4"&gt;id	date_1	        date_2	       indication	keep	date_3	       group
1	01-02-2020	20-02-2020	Y			
1	01-02-2018	03-03-2018	Y			
1	01-02-1990	20-02-1990	N	        Y	       20-02-1990	Gen
1	01-02-1990	20-02-1990	Y	        Y	       20-02-1990	Gen
1	01-02-1990	20-02-1990	Y	        Y	       20-02-1990	Gen
1	01-02-1990	20-02-1990	N	        Y	       20-02-1990	Gen
2	01-06-2009	25-08-2010	Y	        Y		                        Y
2	01-06-2009	25-08-2010	N	        Y		                        N
2	01-06-2009	25-08-2010	N	        Y		                        N
2	01-06-2009	25-08-2010	Y	        Y		                        Y
2	01-05-2018	08-06-2019	Y			
2	01-05-2018	04-12-2019	Y			
&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 03:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conditional-flagging-id-by-few-variables/m-p/723755#M224653</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2021-03-05T03:20:00Z</dc:date>
    </item>
  </channel>
</rss>

