<?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 do I specify values for continuous variable in SLICEBY in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641480#M19771</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sliceby=variable2=20&amp;nbsp;40&amp;nbsp;60&amp;nbsp;80&amp;nbsp;100&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like that should work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/255456"&gt;@ljlynn97&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm trying to produce a slicefit type plot and want to specify values for the sliceby variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Outcome is a binary outcome (0/1). Variable1 and Variable2 are both continuous variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code below produces exactly what I want except for one small issue: I'd like to set the values for sliceby=variable2 to be like 20, 40, 60, etc., not the 15.66, 36.36, 57.06, etc. that are being chosen automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to use AT to specify values but can't get the result I want. The sliceby values are still the ones chosen automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=my_dataset PLOTS(ONLY) = EFFECT(showobs);
	model outcome = variable1 variable2 variable1*variable2 / rsquare;
    effectplot slicefit (x=variable1 sliceby=variable2)
   	 / noobs
	;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SliceFitPlot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38499i92C512D258908568/image-size/large?v=v2&amp;amp;px=999" role="button" title="SliceFitPlot.png" alt="SliceFitPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 21:19:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-04-20T21:19:04Z</dc:date>
    <item>
      <title>How do I specify values for continuous variable in SLICEBY</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641470#M19770</link>
      <description>&lt;P&gt;I'm trying to produce a slicefit type plot and want to specify values for the sliceby variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outcome is a binary outcome (0/1). Variable1 and Variable2 are both continuous variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below produces exactly what I want except for one small issue: I'd like to set the values for sliceby=variable2 to be like 20, 40, 60, etc., not the 15.66, 36.36, 57.06, etc. that are being chosen automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use AT to specify values but can't get the result I want. The sliceby values are still the ones chosen automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=my_dataset PLOTS(ONLY) = EFFECT(showobs);
	model outcome = variable1 variable2 variable1*variable2 / rsquare;
    effectplot slicefit (x=variable1 sliceby=variable2)
   	 / noobs
	;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SliceFitPlot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38499i92C512D258908568/image-size/large?v=v2&amp;amp;px=999" role="button" title="SliceFitPlot.png" alt="SliceFitPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 20:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641470#M19770</guid>
      <dc:creator>ljlynn97</dc:creator>
      <dc:date>2020-04-20T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify values for continuous variable in SLICEBY</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641480#M19771</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sliceby=variable2=20&amp;nbsp;40&amp;nbsp;60&amp;nbsp;80&amp;nbsp;100&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like that should work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/255456"&gt;@ljlynn97&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm trying to produce a slicefit type plot and want to specify values for the sliceby variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Outcome is a binary outcome (0/1). Variable1 and Variable2 are both continuous variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code below produces exactly what I want except for one small issue: I'd like to set the values for sliceby=variable2 to be like 20, 40, 60, etc., not the 15.66, 36.36, 57.06, etc. that are being chosen automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to use AT to specify values but can't get the result I want. The sliceby values are still the ones chosen automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=my_dataset PLOTS(ONLY) = EFFECT(showobs);
	model outcome = variable1 variable2 variable1*variable2 / rsquare;
    effectplot slicefit (x=variable1 sliceby=variable2)
   	 / noobs
	;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SliceFitPlot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38499i92C512D258908568/image-size/large?v=v2&amp;amp;px=999" role="button" title="SliceFitPlot.png" alt="SliceFitPlot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 21:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641480#M19771</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-04-20T21:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify values for continuous variable in SLICEBY</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641482#M19772</link>
      <description>Yes, thank you! I knew it had to be something simple. And thanks for the link, I'll add it to my collection.</description>
      <pubDate>Mon, 20 Apr 2020 21:26:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-specify-values-for-continuous-variable-in-SLICEBY/m-p/641482#M19772</guid>
      <dc:creator>ljlynn97</dc:creator>
      <dc:date>2020-04-20T21:26:12Z</dc:date>
    </item>
  </channel>
</rss>

