<?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: Designing a discrete choice experiment (choice set size and parameter estimation) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933055#M46531</link>
    <description>&lt;P&gt;Is it correct to use the %mktex macro with n = 144 and the %choiceff macro with nsets = 72? &amp;nbsp;Unfortunately, I don't understand exactly how the recommended size of the kandidate set relates to the size of the choice sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure. The candidates are simply profiles that might be included in the final design. 144 seems like a great number. Other numbers would work too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is my design able to estimate all parameters?&lt;/P&gt;
&lt;P&gt;Yes. Your D-efficiency is greater than zero, so yes. There is other output not shown that shows the parameters.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 18:49:59 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2024-06-19T18:49:59Z</dc:date>
    <item>
      <title>Designing a discrete choice experiment (choice set size and parameter estimation)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/932952#M46527</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about&amp;nbsp;designing a&amp;nbsp;discrete choice experiment. My design contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;2 unlabeled alternatives (Alt 1 and Alt 2)&lt;/LI&gt;&lt;LI&gt;5 attributes (x1, x2, x3, x4, x5) with three levels (0 = underachieved, 1 = sufficient, 2 = overachieved)&lt;/LI&gt;&lt;LI&gt;1 cost-attribute (x6) with four levels (0 = 0, 1 = 1%, 2 = 2%, 3 = 3%)&lt;/LI&gt;&lt;LI&gt;Interaction effects between each of the 5 attributes (x1 – x5) and the cost attribute (x6)&lt;/LI&gt;&lt;LI&gt;Restriction to avoid comparing Alt 1 with better attributes and lower costs with an Alt 2 with worse attributes and higher costs (and vice versa)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following the book “Marketing Research Methods in SAS” by Warren Kuhfeld, I created the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%mktruns(3 3 3 3 3 4, interact=x1*x6 x2*x6 x3*x6 x4*x6 x5*x6); 

%mktex(3 3 3 3 3 4, seed = 200, n=144, interact=x1*x6 x2*x6 x3*x6 x4*x6 x5*x6);


%macro res;
	g1 = (x[1,1:5])[+]; * Attributes in alt 1;
	g2 = (x[2,1:5])[+]; * Attributes in alt 2;
	bad = bad + (g1 &amp;gt; g2 &amp;amp; x[1,6] &amp;lt; x[2,6]); * Better attributes in 1 and lower price in 1;
	bad = bad + (g2 &amp;gt; g1 &amp;amp; x[2,6] &amp;lt; x[1,6]); * Better attributes in 2 and lower price in 2;
	%mend;


%mktlab(data=design, int=f1-f2)
proc print; run;
%choiceff(data=final, model=class(X1-X6), nsets=72, maxiter=20, seed=200, flags=f1-f2, options=relative, restrictions=res, resvars=X1-X6, beta=zero);
proc print; by set; id set; run;
%mktblock(data=best, nalts=2, nblocks=8, seed=200, maxiter=20);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final results are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maria99_2-1718787661742.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97617i1F2AD9E95F46E399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maria99_2-1718787661742.png" alt="Maria99_2-1718787661742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I still have the following questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it correct to use the %mktex macro with n = 144 and the %choiceff macro with nsets = 72? &amp;nbsp;Unfortunately, I don't understand exactly how the recommended size of the kandidate set relates to the size of the choice sets.&lt;/LI&gt;&lt;LI&gt;Is my design able to estimate all parameters?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 09:03:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/932952#M46527</guid>
      <dc:creator>Maria99</dc:creator>
      <dc:date>2024-06-19T09:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Designing a discrete choice experiment (choice set size and parameter estimation)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933055#M46531</link>
      <description>&lt;P&gt;Is it correct to use the %mktex macro with n = 144 and the %choiceff macro with nsets = 72? &amp;nbsp;Unfortunately, I don't understand exactly how the recommended size of the kandidate set relates to the size of the choice sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure. The candidates are simply profiles that might be included in the final design. 144 seems like a great number. Other numbers would work too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is my design able to estimate all parameters?&lt;/P&gt;
&lt;P&gt;Yes. Your D-efficiency is greater than zero, so yes. There is other output not shown that shows the parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 18:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933055#M46531</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2024-06-19T18:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Designing a discrete choice experiment (choice set size and parameter estimation)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933141#M46538</link>
      <description>&lt;P&gt;Thank you so much for this quick response, Warren! I run my code again. I assume this is the output you meant in your answer: &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maria99_0-1718890424157.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97675iE2FCFD52FD453BF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maria99_0-1718890424157.png" alt="Maria99_0-1718890424157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I still miss something, and three new questions came to my mind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why do I only see 13 parameters in the list, although I want to estimate 19 parameters (5 attributes x 3 levels + 1 attribute x 4 levels = 19 parameters)? Can I still estimate all 19 parameters?&lt;/LI&gt;&lt;LI&gt;I tried to optimize by design by increasing my nsets within my %choiceff from nsets = 72 to nsets = 144. As a result, the D-Efficiency is higher, and my variances from my parameters are lower. Would you recommend me to make this optimization, or would you say my design with nsets = 72 is actually pretty good so its not necessary? I am not sure because the Relative D-Efficiency is still very similar to each other.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="comparison.png" style="width: 946px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97677i4E2BF0AA421EE0F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="comparison.png" alt="comparison.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Finally, you wrote in your answer “The candidates are simply profiles that might be included in the final design.” So do I understand correctly that the following would also work: %mktex macro with n = 144 and the %choiceff macro with nsets = 144?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 13:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933141#M46538</guid>
      <dc:creator>Maria99</dc:creator>
      <dc:date>2024-06-20T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Designing a discrete choice experiment (choice set size and parameter estimation)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933434#M46550</link>
      <description>I just noticed that you posted a follow up question. If you have an n-level factor, there are n-1 parameters. Have you looked at  &lt;A href="https://support.sas.com/techsup/technote/mr2010c.pdf" target="_blank"&gt;https://support.sas.com/techsup/technote/mr2010c.pdf&lt;/A&gt; ? I know there is a lot there, and it is not the easiest topic, but in my biased opinion, it is a pretty good source of info on all this. I don't think you want 144 choice sets. Your call not mine, but with issues getting subjects, I would think you would want a smaller design.</description>
      <pubDate>Sun, 23 Jun 2024 00:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933434#M46550</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2024-06-23T00:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Designing a discrete choice experiment (choice set size and parameter estimation)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933684#M46558</link>
      <description>&lt;P&gt;Thank you again for answering my follow-up questions!! Your book really helped me a lot, and I will take a closer look at the chapter again!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 15:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Designing-a-discrete-choice-experiment-choice-set-size-and/m-p/933684#M46558</guid>
      <dc:creator>Maria99</dc:creator>
      <dc:date>2024-06-25T15:02:51Z</dc:date>
    </item>
  </channel>
</rss>

