<?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 getting additional test statistics for proc glmselect in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/getting-additional-test-statistics-for-proc-glmselect/m-p/420578#M22139</link>
    <description>&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select none;
PROC GLMSELECT data=TrainingData testdata=TestData;
	model DV 
		= 
	IV1
	IV2
	/selection=none STB SHOWPVALUES;
	ods output
	ParameterEstimates = ParameterEstimates 
	FitStatistics = Model_Fit
	ANOVA = ANOVA
	SelectionSummary = SelectionSummary;
run;
ods select All;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am getting ASE (Train) and ASE (Test) in Model_fit, which is great. Can I also get these measures for training and testing OOTB?:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MSE&lt;/P&gt;&lt;P&gt;adjusted RSquare&lt;/P&gt;&lt;P&gt;MAPE&lt;/P&gt;&lt;P&gt;sMAPE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;output out=Predictions p=Prediction r=Residual;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this gives me predictions and residuals for the training data. How can I obtain the same for test data. Having that I can calculate MAPE etc. myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;score Data=TestData out=PredictionsSc p=Prediction r=Residual;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This gives me the predictions and I can thus calculate whatever I want. However, maybe there is an easier way? Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2017 21:59:20 GMT</pubDate>
    <dc:creator>csetzkorn</dc:creator>
    <dc:date>2017-12-12T21:59:20Z</dc:date>
    <item>
      <title>getting additional test statistics for proc glmselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/getting-additional-test-statistics-for-proc-glmselect/m-p/420578#M22139</link>
      <description>&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select none;
PROC GLMSELECT data=TrainingData testdata=TestData;
	model DV 
		= 
	IV1
	IV2
	/selection=none STB SHOWPVALUES;
	ods output
	ParameterEstimates = ParameterEstimates 
	FitStatistics = Model_Fit
	ANOVA = ANOVA
	SelectionSummary = SelectionSummary;
run;
ods select All;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am getting ASE (Train) and ASE (Test) in Model_fit, which is great. Can I also get these measures for training and testing OOTB?:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MSE&lt;/P&gt;&lt;P&gt;adjusted RSquare&lt;/P&gt;&lt;P&gt;MAPE&lt;/P&gt;&lt;P&gt;sMAPE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;output out=Predictions p=Prediction r=Residual;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this gives me predictions and residuals for the training data. How can I obtain the same for test data. Having that I can calculate MAPE etc. myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;score Data=TestData out=PredictionsSc p=Prediction r=Residual;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This gives me the predictions and I can thus calculate whatever I want. However, maybe there is an easier way? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/getting-additional-test-statistics-for-proc-glmselect/m-p/420578#M22139</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2017-12-12T21:59:20Z</dc:date>
    </item>
  </channel>
</rss>

