<?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: How to tell SAS &amp;quot;now, do that again, except this time with this outcome&amp;quot;? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110504#M5827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia uses to call macro language the "automatic typewriter" - sorry Cynthia in case I've quoted you wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you describe "copy/paste the same code 50 times and change the outcome variable in each" sounds exactly like something you want to pack into a SAS macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know anything about PROC GLIMMIX except that this is one of these statistic "black magic" procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a general level what you could do for repetitive code blocks where only the variable name changes, is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro CodeSnippet(&lt;STRONG&gt;variable&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code code code;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code&lt;STRONG&gt; &amp;amp;variable&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code code code;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc Whatever;&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var1&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var2&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var3&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; ... and so on.&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 12:23:55 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2013-10-11T12:23:55Z</dc:date>
    <item>
      <title>How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110500#M5823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; background-color: #f6f7f7;"&gt;I'm using proc glimmix and need to model ~50 different outcomes. I recognize that I could just copy/paste the same code 50 times and change the outcome variable in each; however, it seems to me that SAS likely has a more eligant way of handling this. Does anyone know of a command or macro that basically says, &lt;SPAN style="color: #333333; font-family: Arial, sans-serif; background-color: #f6f7f7;"&gt;"now, do that again, except this time with this outcome&lt;/SPAN&gt;...and then this outcome"? Thanks, Mark&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110500#M5823</guid>
      <dc:creator>MLaVenia</dc:creator>
      <dc:date>2013-10-11T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110501#M5824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark.&lt;/P&gt;&lt;P&gt;Yes, there is a way (there are probably plenty).&lt;/P&gt;&lt;P&gt;One way would be to define a macro:&lt;/P&gt;&lt;P&gt;%macro models(outcome = );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc glimmix data = ....;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model &amp;amp;outcome. = .....;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%mend models;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could call the macro&lt;/P&gt;&lt;P&gt;%models(outcome = y1);&lt;/P&gt;&lt;P&gt;%models(outcome = y2)..&lt;/P&gt;&lt;P&gt;all the way to the fiftieths outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;you could save your outcomes of interest in a macro variable, then use a scan function...&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select name into: my_outcomes separated by " "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where libname = "WORK" &amp;amp; memname = "YOUR_DATASET_IN_CAPITAL_LETTERS"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; name ....&amp;nbsp; ---at this point it would be nice if your outcome has some sort of pattern...&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then change a bit the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro models(outcome = );&lt;/P&gt;&lt;P&gt;%do i = 1 %to 50;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc glimmix data = ....;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model %scan(&amp;amp;outcome., &amp;amp;i., "") = .....;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%mend models;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110501#M5824</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-10-11T12:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110502#M5825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;/* dataset prep goes here */&lt;/P&gt;&lt;P&gt;%macro RMANCOVA(param=);&lt;/P&gt;&lt;P&gt;/* any preprocessing data steps go in here */&lt;/P&gt;&lt;P&gt;proc glimmix data=for_Stats1 ;&lt;/P&gt;&lt;P&gt;where param = &amp;amp;param;&lt;/P&gt;&lt;P&gt; by param ;&lt;/P&gt;&lt;P&gt;class sex grp_no studyday anml_nbr ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model value = grp_no&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; studyday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*sex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex*studyday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*studyday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*sex*studyday&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cov/ ddfm=kr2;&lt;/P&gt;&lt;P&gt;/* more glimmix code if needed */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/* a bunch of reporting data steps to do things like accumulate tests, lsmeans, lsmestimates, etc here */&lt;/P&gt;&lt;P&gt;%mend RMANCOVA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro MAIN;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %do i=1 %to 21;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %RMANCOVA(param = &amp;amp;i);&lt;/P&gt;&lt;P&gt;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;%mend MAIN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%main;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does 21 analyses with identical outcomes.&amp;nbsp; It requires preprocessing the data set into 'long' format, with all of the outcomes put into the variable 'value', and an additional variable 'param' that indexes the variables of interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110502#M5825</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-11T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110503#M5826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anca and Steve - Thank you for your prompt replies. This is definitely going to require me to up my game, but your directions seem clear and detailed enough that I think I can figure it out. I'll reply later with a progress report.Gratefully yours, Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110503#M5826</guid>
      <dc:creator>MLaVenia</dc:creator>
      <dc:date>2013-10-11T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110504#M5827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia uses to call macro language the "automatic typewriter" - sorry Cynthia in case I've quoted you wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you describe "copy/paste the same code 50 times and change the outcome variable in each" sounds exactly like something you want to pack into a SAS macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know anything about PROC GLIMMIX except that this is one of these statistic "black magic" procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a general level what you could do for repetitive code blocks where only the variable name changes, is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro CodeSnippet(&lt;STRONG&gt;variable&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code code code;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code&lt;STRONG&gt; &amp;amp;variable&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code code code;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc Whatever;&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var1&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var2&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; %CodeSnippet(&lt;STRONG&gt;var3&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt; ... and so on.&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110504#M5827</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-10-11T12:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110505#M5828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you use BY PARAM and WHERE PARAM=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not just use BY PARAM.&amp;nbsp;&amp;nbsp; No macro loop involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;SteveDenham wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Something like:&lt;/P&gt;
&lt;P&gt;/* dataset prep goes here */&lt;/P&gt;
&lt;P&gt;%macro RMANCOVA(param=);&lt;/P&gt;
&lt;P&gt;/* any preprocessing data steps go in here */&lt;/P&gt;
&lt;P&gt;proc glimmix data=for_Stats1 ;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where param = &amp;amp;param;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; by param ;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;class sex grp_no studyday anml_nbr ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model value = grp_no&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; studyday&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*sex&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sex*studyday&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*studyday&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grp_no*sex*studyday&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cov/ ddfm=kr2;&lt;/P&gt;
&lt;P&gt;/* more glimmix code if needed */&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;/* a bunch of reporting data steps to do things like accumulate tests, lsmeans, lsmestimates, etc here */&lt;/P&gt;
&lt;P&gt;%mend RMANCOVA;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;%macro MAIN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; %do i=1 %to 21;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %RMANCOVA(param = &amp;amp;i);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; %end;&lt;/P&gt;
&lt;P&gt;%mend MAIN;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%main;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This does 21 analyses with identical outcomes.&amp;nbsp; It requires preprocessing the data set into 'long' format, with all of the outcomes put into the variable 'value', and an additional variable 'param' that indexes the variables of interest.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110505#M5828</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-11T12:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110506#M5829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We used to use the BY PARAM.&amp;nbsp; We ran into a problem with the random number string when using the adjust= option in the LSMEANS statement, in that we weren't duplicating p-values exactly even with a fixed seed when running on separate machines (don't ask, it's what we do to meet some GLP requirements) or when we wanted to look at one particular param that was indexed farther down the line, and compared its results to when it was analyzed "in sequence'.&amp;nbsp; This syntax enables re-initiating the random string with the designated seed.&amp;nbsp; Well, at least adding the WHERE statement eliminated the problem.&amp;nbsp; We could probably now use just the WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110506#M5829</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-11T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110507#M5830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I see.&amp;nbsp; If you keep BY statement do the ODS output data have the BY variable included.&amp;nbsp; That would make it easier to put it all back together or keep is "sorted".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 13:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110507#M5830</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-11T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110508#M5831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep.&amp;nbsp; I remember dropping the BY, and not having variable names/labels for reporting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 13:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110508#M5831</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-11T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell SAS "now, do that again, except this time with this outcome"?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110509#M5832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve - It ran like a dream the first time; unheard of! Thank you so much. Best, Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 12:09:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-tell-SAS-quot-now-do-that-again-except-this-time-with/m-p/110509#M5832</guid>
      <dc:creator>MLaVenia</dc:creator>
      <dc:date>2013-10-15T12:09:24Z</dc:date>
    </item>
  </channel>
</rss>

