<?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 what i forgot: in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/including-holdout-task-in-my-cbc-experiment/m-p/41285#M1740</link>
    <description>it would be a great help if someone could just tell me how i could include holdout tasks, that i designed myself.&lt;BR /&gt;
that is, how i could define the choice sets and insert them manually. by doing so i could bypass the problem, i guess</description>
    <pubDate>Sun, 27 Jun 2010 22:30:19 GMT</pubDate>
    <dc:creator>oraider</dc:creator>
    <dc:date>2010-06-27T22:30:19Z</dc:date>
    <item>
      <title>including holdout task in my cbc experiment</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/including-holdout-task-in-my-cbc-experiment/m-p/41284#M1739</link>
      <description>Hey everybody,&lt;BR /&gt;
&lt;BR /&gt;
I am preparing a discrete choice experiment. I did a linear design with kuhfeld's sas makros, %mktex to be precise.&lt;BR /&gt;
&lt;BR /&gt;
I now need to add holdout tasks, which turned out to be rather difficult, as i placed restrictions on my design. Everytime I add holdouts using the holdout= option of the %mktex makro, the result is that the restrictions in my choice tasks are gone.&lt;BR /&gt;
&lt;BR /&gt;
this is the code i used:&lt;BR /&gt;
&lt;BR /&gt;
%macro restrict; &lt;BR /&gt;
bad = (x6=1 &amp;amp; (x4=2 | x4=3))+(x12=1 &amp;amp; (x10=2 | x10=3))+(x18=1 &amp;amp; (x16=2 | x16=3))+(x24=1 &amp;amp; (x22=2 | x22=3))+&lt;BR /&gt;
      (x4=1 &amp;amp; x6=2)+(x10=1 &amp;amp; x12=2)+(x16=1 &amp;amp; x18=2)+(x22=1 &amp;amp; x24=2)+&lt;BR /&gt;
      (x3=1 &amp;amp; (x5=2 | x5=3))+ (x3=2 &amp;amp; (x5=1 | x5=3))+(x3=3 &amp;amp; (x5=1 | x5=2))+&lt;BR /&gt;
	  (x9=1 &amp;amp; (x11=2 | x11=3))+ (x9=2 &amp;amp; (x11=1 | x11=3))+(x9=3 &amp;amp; (x11=1 | x11=2))+&lt;BR /&gt;
	  (x15=1 &amp;amp; (x17=2 | x17=3))+(x15=2 &amp;amp; (x17=1 | x17=3))+(x15=3 &amp;amp; (x17=1 | x17=2))+&lt;BR /&gt;
	  (x21=1 &amp;amp; (x23=2 | x23=3))+ (x21=2 &amp;amp; (x23=1 | x23=3))+(x21=3 &amp;amp; (x23=1 |x23=2)); &lt;BR /&gt;
%mend;&lt;BR /&gt;
%mktex(4 3 3 3 3 2 4 3 3 3 3 2 4 3 3 3 3 2 4 3 3 3 3 2, n=72,restrictions=restrict, seed=12, options=resrep quickr )&lt;BR /&gt;
%mktex(4 3 3 3 3 2 4 3 3 3 3 2 4 3 3 3 3 2 4 3 3 3 3 2, n=78, init=randomized,&lt;BR /&gt;
seed=12, holdouts=6, options=resrep quickr nodups nosort);&lt;BR /&gt;
%mkteval(data=randomized(where=(w=1)), factors=x:) &lt;BR /&gt;
%mkteval(data=randomized(drop=w))&lt;BR /&gt;
proc print data=randomized(firstobs=70); run;&lt;BR /&gt;
&lt;BR /&gt;
This is followed by turning it into a choice design via %mktroll etc etc.&lt;BR /&gt;
I can not run the restriction makro in the second %mktex-line, as sas tells me problems occur if i include both an init= and and restriction= statement.&lt;BR /&gt;
&lt;BR /&gt;
hope anyone can help me here, thanks!</description>
      <pubDate>Sun, 27 Jun 2010 21:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/including-holdout-task-in-my-cbc-experiment/m-p/41284#M1739</guid>
      <dc:creator>oraider</dc:creator>
      <dc:date>2010-06-27T21:56:19Z</dc:date>
    </item>
    <item>
      <title>what i forgot:</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/including-holdout-task-in-my-cbc-experiment/m-p/41285#M1740</link>
      <description>it would be a great help if someone could just tell me how i could include holdout tasks, that i designed myself.&lt;BR /&gt;
that is, how i could define the choice sets and insert them manually. by doing so i could bypass the problem, i guess</description>
      <pubDate>Sun, 27 Jun 2010 22:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/including-holdout-task-in-my-cbc-experiment/m-p/41285#M1740</guid>
      <dc:creator>oraider</dc:creator>
      <dc:date>2010-06-27T22:30:19Z</dc:date>
    </item>
  </channel>
</rss>

