<?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: ODS Output Model anova in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519789#M140852</link>
    <description>&lt;P&gt;And the ModelANOVA part is there? Please post the code you use now?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still the same error message?&lt;/P&gt;</description>
    <pubDate>Sun, 09 Dec 2018 21:37:55 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2018-12-09T21:37:55Z</dc:date>
    <item>
      <title>ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519780#M140848</link>
      <description>&lt;P&gt;ods output ModelANOVA=varout(where=(Effect="avgsbp_S"));&lt;BR /&gt;proc phreg data=Master;&lt;BR /&gt;effect avgsbp_S = spline(avgsbp / basis=tpf(noint) NATURALCUBIC details knotmethod=percentiles(5) );&lt;BR /&gt;model time*event(0)=avgsbp_S tavr bmi nyha34 pvd hoxy atrial cirrh immunth gait live stro30 ltbld mjbld aki mi30&lt;BR /&gt;/ rl=wald ties=EFRON ;&lt;BR /&gt;store coxspline;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;modelanova output is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output 'ModelANOVA' was not created. Make sure that the output&lt;BR /&gt;object name, label, or path is spelled correctly. Also, verify&lt;BR /&gt;that the appropriate procedure options are used to produce the&lt;BR /&gt;requested output object. For example, verify that the NOPRINT&lt;BR /&gt;option is not used.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 20:59:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519780#M140848</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T20:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519785#M140849</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Make sure that your procedure actually creates an output named&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;ModelANOVA&lt;/SPAN&gt;&lt;/STRONG&gt;. You can verify this by wrapping your code in ODS TRACE ON/OFF like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
proc phreg data=Master;
effect avgsbp_S = spline(avgsbp / basis=tpf(noint) NATURALCUBIC details knotmethod=percentiles(5) );
model time*event(0)=avgsbp_S tavr bmi nyha34 pvd hoxy atrial cirrh immunth gait live stro30 ltbld mjbld aki mi30
/ rl=wald ties=EFRON ;
store coxspline;
run;
ods trace off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Does the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;ModelANOVA&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;appear in the log? If not, then you found your problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp;&lt;/STRONG&gt;I don't think the &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/65308/HTML/default/viewer.htm#p0oxrbinw6fjuwn1x23qam6dntyd.htm" target="_self"&gt;ODS OUTPUT Statement&lt;/A&gt; supports data set options like the where= option. Try to simply output the data without any data set options. Then modify the data once it is there.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519785#M140849</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T21:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519787#M140851</link>
      <description>&lt;P&gt;its not working:-(&lt;BR /&gt;&lt;BR /&gt;i tried ods trace on/off but i am not able to output dataset . i removed where conditioned too&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519787#M140851</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T21:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519789#M140852</link>
      <description>&lt;P&gt;And the ModelANOVA part is there? Please post the code you use now?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still the same error message?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519789#M140852</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T21:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519790#M140853</link>
      <description>&lt;P&gt;I am not getting warning message because i comment out ods output option.&lt;BR /&gt;&lt;BR /&gt;But when i use ods modelanova i am getting same warning message.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
/*ods output ModelANOVA=modelanova;*/
proc phreg data=out.Master;
    effect avgsbp_S = spline(avgsbp / basis=tpf(noint) NATURALCUBIC details knotmethod=percentiles(5) );
    model time*event(0)=avgsbp_S tavr  bmi nyha34 pvd hoxy atrial cirrh immunth gait live stro30 ltbld mjbld aki mi30  
                       / rl=wald ties=EFRON ;
    store coxspline;
	   
run;
ods trace off;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519790#M140853</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T21:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519792#M140854</link>
      <description>&lt;P&gt;Yes, but when you run the PHREG Procedure with ODS TRACE ON/OFF wrapped around it, do you see the ModelANOVA output being described in the log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, when I run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
proc reg data=Sashelp.Cars plots=none;
   model Horsepower = EngineSize Weight;
quit;
ods trace off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I see&amp;nbsp;a list of all the output 'Blocks' that the procedure outputs like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25481i80ED5AB7A8D96A4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519792#M140854</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T21:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519794#M140855</link>
      <description>&lt;P&gt;thanks for explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont see modelanova output name in log&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 21:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519794#M140855</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519795#M140856</link>
      <description>&lt;P&gt;Then that is your problem. You are trying to build a data set from an output that does not exist. The names you see in the log are all the names of output 'blocks' that you can write to SAS data sets with the ODS OUTPUT Statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you write this code yourself? How did ModelANOVA get there?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:00:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519795#M140856</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T22:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519796#M140857</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_phreg_details192.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_phreg_details192.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please look at above link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519796#M140857</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T22:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519797#M140858</link>
      <description>&lt;P&gt;Ah, I see. I am not an expert in PROC PHREG myself. But it seems that if you use the TYPE3 option in the model statement, the procedure will output the ModelANOVA block. So, I suspect this code will work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ModelANOVA=ModelANOVA;
proc phreg data=out.Master;
    effect avgsbp_S = spline(avgsbp / basis=tpf(noint) NATURALCUBIC details knotmethod=percentiles(5) );
    model time*event(0)=avgsbp_S tavr  bmi nyha34 pvd hoxy atrial cirrh immunth gait live stro30 ltbld mjbld aki mi30 / rl=wald ties=EFRON type3;
    store coxspline;
	   
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519797#M140858</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T22:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519798#M140859</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243302"&gt;@sam1231&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Output 'ModelANOVA' was not created. Make sure that the output&lt;BR /&gt;object name, label, or path is spelled correctly. Also, &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;verify&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;that the appropriate procedure options are used to produce the&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;requested output object&lt;/STRONG&gt;&lt;/FONT&gt;. For example, verify that the NOPRINT&lt;BR /&gt;option is not used.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243302"&gt;@sam1231&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_phreg_details211.htm&amp;amp;locale=en" target="_blank"&gt;PROC PHREG documentation&lt;/A&gt; (see Details --&amp;gt; ODS Table Names) says that ModelANOVA requires the TYPE3 option of the MODEL statement or a CLASS statement, neither of which is used in your code. So, adding the TYPE3 option (after "EFRON") should help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519798#M140859</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-12-09T22:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519800#M140861</link>
      <description>&lt;P&gt;thank you!&lt;BR /&gt;&lt;BR /&gt;it give me p value on output editor but ods output modelanova not working.&lt;BR /&gt;&lt;BR /&gt;Any other option?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519800#M140861</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T22:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519801#M140862</link>
      <description>&lt;P&gt;&lt;SPAN&gt;thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it give me p value on output editor but ods output modelanova not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other option?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519801#M140862</guid>
      <dc:creator>sam1231</dc:creator>
      <dc:date>2018-12-09T22:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519802#M140863</link>
      <description>&lt;P&gt;If the p-value is in the output editor or results viewer, then it is in the generated data set as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please compare the generated data set with the output block labelled "Type 3 Tests".&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 22:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519802#M140863</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-09T22:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Model anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519813#M140868</link>
      <description>&lt;P&gt;MODELANOVA indicates it needs a MODEL and possibly a CLASS statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise as indicated by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&amp;nbsp;you do need to see the MODELANOVA table name in the output. If you don't then it's not one of the output table names and you cannot store it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation does list all table names and what options you need to get that information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're doing anything bayesian for example, it's not even listed as an output table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_details211.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_details211.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&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/243302"&gt;@sam1231&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not getting warning message because i comment out ods output option.&lt;BR /&gt;&lt;BR /&gt;But when i use ods modelanova i am getting same warning message.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
/*ods output ModelANOVA=modelanova;*/
proc phreg data=out.Master;
    effect avgsbp_S = spline(avgsbp / basis=tpf(noint) NATURALCUBIC details knotmethod=percentiles(5) );
    model time*event(0)=avgsbp_S tavr  bmi nyha34 pvd hoxy atrial cirrh immunth gait live stro30 ltbld mjbld aki mi30  
                       / rl=wald ties=EFRON ;
    store coxspline;
	   
run;
ods trace off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 01:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Output-Model-anova/m-p/519813#M140868</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-10T01:04:57Z</dc:date>
    </item>
  </channel>
</rss>

