<?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: PROC SSM for level change in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SSM-for-level-change/m-p/588861#M75916</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Every single output object (be it a table or a graph / plot) can be captured in a SAS dataset!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use&lt;/P&gt;
&lt;P&gt;ODS TRACE ON;&lt;/P&gt;
&lt;P&gt;to know about the name of all the output objects (they are published in the log-screen&amp;nbsp;in order of appearance).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some examples from PROC GLM:&lt;/P&gt;
&lt;P&gt;Output Added:&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Name: ModelANOVA&lt;/P&gt;
&lt;P&gt;Label: Type III Model ANOVA&lt;/P&gt;
&lt;P&gt;Template: stat.GLM.Tests&lt;/P&gt;
&lt;P&gt;Path: GLM.ANOVA.Weight.ModelANOVA&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Output Added:&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Name: BoxPlot&lt;/P&gt;
&lt;P&gt;Label: Box Plot&lt;/P&gt;
&lt;P&gt;Template: Stat.GLM.Graphics.FitBoxPlot&lt;/P&gt;
&lt;P&gt;Path: GLM.ANOVA.Weight.BoxPlot&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use&lt;/P&gt;
&lt;P&gt;ODS OUTPUT objectname=datasetname;&lt;/P&gt;
&lt;P&gt;to capture what you're interested in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Full example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
ods output ModelANOVA=work.ModelANOVA;
proc glm data=sashelp.class;
class sex; 
model weight=sex;
run;
QUIT;
ods trace off;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The LOG says:&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.MODELANOVA has 2 observations and 8 variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sun, 15 Sep 2019 17:51:31 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2019-09-15T17:51:31Z</dc:date>
    <item>
      <title>PROC SSM for level change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SSM-for-level-change/m-p/548242#M74429</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the time series which has level change behavior using PROC SSM using following code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the output in ODS window, but how can I write the output in a sas table and use it directly for flagging the level change point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc ssm data=WORK.sales data plot=maxshock;&lt;BR /&gt;id date interval=week;&lt;BR /&gt;trend irw(ll) variance=0 checkbreak;&lt;BR /&gt;state seasonState(1) type=season(length=52)&lt;BR /&gt;cov(g) checkbreak(overall);&lt;BR /&gt;comp season = seasonState[1];&lt;BR /&gt;irregular wn;&lt;BR /&gt;model sale_qty =irw season wn;&lt;BR /&gt;output out=breakFor;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ankush&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 15:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SSM-for-level-change/m-p/548242#M74429</guid>
      <dc:creator>ankush2301</dc:creator>
      <dc:date>2019-04-03T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SSM for level change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-SSM-for-level-change/m-p/588861#M75916</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Every single output object (be it a table or a graph / plot) can be captured in a SAS dataset!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use&lt;/P&gt;
&lt;P&gt;ODS TRACE ON;&lt;/P&gt;
&lt;P&gt;to know about the name of all the output objects (they are published in the log-screen&amp;nbsp;in order of appearance).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some examples from PROC GLM:&lt;/P&gt;
&lt;P&gt;Output Added:&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Name: ModelANOVA&lt;/P&gt;
&lt;P&gt;Label: Type III Model ANOVA&lt;/P&gt;
&lt;P&gt;Template: stat.GLM.Tests&lt;/P&gt;
&lt;P&gt;Path: GLM.ANOVA.Weight.ModelANOVA&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Output Added:&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;Name: BoxPlot&lt;/P&gt;
&lt;P&gt;Label: Box Plot&lt;/P&gt;
&lt;P&gt;Template: Stat.GLM.Graphics.FitBoxPlot&lt;/P&gt;
&lt;P&gt;Path: GLM.ANOVA.Weight.BoxPlot&lt;/P&gt;
&lt;P&gt;-------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use&lt;/P&gt;
&lt;P&gt;ODS OUTPUT objectname=datasetname;&lt;/P&gt;
&lt;P&gt;to capture what you're interested in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Full example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
ods output ModelANOVA=work.ModelANOVA;
proc glm data=sashelp.class;
class sex; 
model weight=sex;
run;
QUIT;
ods trace off;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The LOG says:&lt;/P&gt;
&lt;P&gt;NOTE: The data set WORK.MODELANOVA has 2 observations and 8 variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 17:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-SSM-for-level-change/m-p/588861#M75916</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2019-09-15T17:51:31Z</dc:date>
    </item>
  </channel>
</rss>

