<?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: Regression excluding individual observations in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668775#M79159</link>
    <description>&lt;P&gt;The SOLUTION option is needed in the MODEL statement. (You may also want it in the RANDOM statement, but that doesn't seem to be what you are asking for in this thread)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 11:11:31 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-07-13T11:11:31Z</dc:date>
    <item>
      <title>Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68435#M19601</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to run firm-year specific regressions in SAS to get to an expected value for industry-year. However, I need to exclude the i'th observation. For example, if there are 20 observations for 1995 for a specific industry (IND), the regression for obs 1 would be based on obs 2-20. The regression for obs 2 would be based on obs 1 and obs 3-20. I can't seem to find a way to exclude the variable individually. I found a reweight function that can exclude a specific observation by changing the weight to zero, but I would have to do that for every observation and run thousands of individual regressions. If I didn't need to exclude the i'th observation I know the code would be:&lt;BR /&gt;
&lt;BR /&gt;
Proc Reg;&lt;BR /&gt;
by fyear IND;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Any ideas on how to exclude the observation? Thanks for the help.&lt;BR /&gt;
&lt;BR /&gt;
BC</description>
      <pubDate>Mon, 23 May 2011 18:22:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68435#M19601</guid>
      <dc:creator>bcRam</dc:creator>
      <dc:date>2011-05-23T18:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68436#M19602</link>
      <description>As long as you have (or create) a variable that contains the obs number, you can simply exclude any particular obs with a where statement.&lt;BR /&gt;
&lt;BR /&gt;
Art&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I am trying to run firm-year specific regressions in&lt;BR /&gt;
&amp;gt; SAS to get to an expected value for industry-year.&lt;BR /&gt;
&amp;gt; However, I need to exclude the i'th observation. For&lt;BR /&gt;
&amp;gt; example, if there are 20 observations for 1995 for a&lt;BR /&gt;
&amp;gt; specific industry (IND), the regression for obs 1&lt;BR /&gt;
&amp;gt; would be based on obs 2-20. The regression for obs 2&lt;BR /&gt;
&amp;gt; would be based on obs 1 and obs 3-20. I can't seem to&lt;BR /&gt;
&amp;gt; find a way to exclude the variable individually. I&lt;BR /&gt;
&amp;gt; found a reweight function that can exclude a specific&lt;BR /&gt;
&amp;gt; observation by changing the weight to zero, but I&lt;BR /&gt;
&amp;gt; would have to do that for every observation and run&lt;BR /&gt;
&amp;gt; thousands of individual regressions. If I didn't need&lt;BR /&gt;
&amp;gt; to exclude the i'th observation I know the code would&lt;BR /&gt;
&amp;gt; be:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Proc Reg;&lt;BR /&gt;
&amp;gt; by fyear IND;&lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Any ideas on how to exclude the observation? Thanks&lt;BR /&gt;
&amp;gt; for the help.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; BC</description>
      <pubDate>Mon, 23 May 2011 21:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68436#M19602</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-05-23T21:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68437#M19603</link>
      <description>It looks like cross-verify test for cluster analysis.&lt;BR /&gt;
You need to make a macro to process it  iterative.&lt;BR /&gt;
What does your original data look like?&lt;BR /&gt;
I think it is not very difficulty task.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Tue, 24 May 2011 05:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68437#M19603</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-24T05:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68438#M19604</link>
      <description>Your question is related to the PRESS statistic (leave-one-out method) that is an option in REG. But I don't think there is an option to get a listing of the parameter estimates for each observation exclusion. Here is a quick macro that does what you want. It assume you are modeling y as a function of x. For this very simple macro, you must give the number of observations in the %do statement.Then, each observation is given, in turn, a weight of 0 (with 1 for the rest); the regression is done; the parameter estimates are stored (in parms); and then these estimates are stacked in a file called parms2. This is printed: there are two records for each observation (estimates of intercept and slope for each observation, when that observation is given a weight of 0). In this quick and dirty macro, the first record of parms2 has a missing value. You can delete. If you had four predictor variables, parms2 would have 5 records for each observation. &lt;BR /&gt;
&lt;BR /&gt;
Right now, the individual regression output is suppressed. If you want to see the full results for each observation, comment out the ods listing statements at the start and end of the macro.&lt;BR /&gt;
&lt;BR /&gt;
data a;&lt;BR /&gt;
input x1 y;&lt;BR /&gt;
id = _n_;&lt;BR /&gt;
datalines;&lt;BR /&gt;
0 2&lt;BR /&gt;
1 4&lt;BR /&gt;
2 3&lt;BR /&gt;
3 6&lt;BR /&gt;
4 6&lt;BR /&gt;
5 5&lt;BR /&gt;
6 8&lt;BR /&gt;
7 10&lt;BR /&gt;
8 9&lt;BR /&gt;
9 9&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
%macro jk;&lt;BR /&gt;
ods listing exclude all;&lt;BR /&gt;
data parms2;&lt;BR /&gt;
%do i = 1 %to 10;&lt;BR /&gt;
	data b; set a;&lt;BR /&gt;
	if (id eq &amp;amp;i) then weight=0;&lt;BR /&gt;
	else weight=1;&lt;BR /&gt;
run;&lt;BR /&gt;
proc print data=b;run;&lt;BR /&gt;
proc reg data=b ;&lt;BR /&gt;
ods output parameterestimates=parms;&lt;BR /&gt;
weight weight;&lt;BR /&gt;
model y = x1;&lt;BR /&gt;
run;&lt;BR /&gt;
data parms2; set parms2 parms;&lt;BR /&gt;
%end;&lt;BR /&gt;
ods listing ;&lt;BR /&gt;
proc print data=parms2;&lt;BR /&gt;
%mend jk;&lt;BR /&gt;
&lt;BR /&gt;
%jk;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 24 May 2011 13:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68438#M19604</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2011-05-24T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68439#M19605</link>
      <description>Hello . LVM&lt;BR /&gt;
It is impressed for me to see the code you post.&lt;BR /&gt;
In general,I think you are seasoned statistician about general linear model especiall for mixed model.&lt;BR /&gt;
But in the future, I hope I will become seasoned statistician just like you ,That is the thing after ten years. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Wed, 25 May 2011 00:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/68439#M19605</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-25T00:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668674#M79138</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Excellent macro. I would like to create a macro for validate a multivariate mixed model. I tried to addapt this macro to a mixed model approach usind the leave-one-out method, but i did not get succesfull. Could you please to help me?.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 19:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668674#M79138</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T19:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668683#M79143</link>
      <description>&lt;P&gt;All you have to do is replace PROC REG in the macro with &lt;EM&gt;working&lt;/EM&gt; code for some other PROC that performs a multivariate mixed model. Have you done that? Can you show us the code you tried?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 20:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668683#M79143</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T20:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668690#M79145</link>
      <description>Yes, I tried, however, I did not get sucess. For example, I would like to generate the predicted values for a mixed model. For example, using the data previously datalines sugested by Ivm, but including an additional "study" variable, I produced the following code:&lt;BR /&gt;&lt;BR /&gt;data a;&lt;BR /&gt;input x1 y study;&lt;BR /&gt;id = _n_;&lt;BR /&gt;datalines;&lt;BR /&gt;0 2 1&lt;BR /&gt;1 4 1&lt;BR /&gt;2 3 1&lt;BR /&gt;3 6 2&lt;BR /&gt;4 6 2&lt;BR /&gt;5 5 2&lt;BR /&gt;6 8 3&lt;BR /&gt;7 10 3&lt;BR /&gt;8 9 3&lt;BR /&gt;9 9 3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc print data=a;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%macro jk;&lt;BR /&gt;ods listing exclude all;&lt;BR /&gt;data parms2;&lt;BR /&gt;%do i = 1 %to 10;&lt;BR /&gt;data b; set a;&lt;BR /&gt;if (id eq &amp;amp;i) then weight=0;&lt;BR /&gt;else weight=1;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=b;run;&lt;BR /&gt;&lt;BR /&gt;proc mixed data=b;&lt;BR /&gt;ods output parameterestimates=parms;&lt;BR /&gt;class study;&lt;BR /&gt;weight weight;&lt;BR /&gt;model y = x1;&lt;BR /&gt;RANDOM study / SOLUTION;&lt;BR /&gt;run;&lt;BR /&gt;data parms2; set parms2 parms;&lt;BR /&gt;%end;&lt;BR /&gt;ods listing ;&lt;BR /&gt;proc print data=parms2;&lt;BR /&gt;%mend jk;&lt;BR /&gt;&lt;BR /&gt;%jk;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;However, I did not get the parameters of mixed equations.&lt;BR /&gt;In addition, I am trying to get a dataset with predicted and observed values, using the leave-one-out cross validation approach.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Jul 2020 20:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668690#M79145</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668692#M79146</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;However, I did not get the parameters of mixed equations.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What did you get?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;In addition, I am trying to get a dataset with predicted and observed values, using the leave-one-out cross validation approach.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to create code that works and does what you want on your actual data set (forget the leave-one-out part). Once you have that, and it works properly, you should be able to plug it into the macro.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668692#M79146</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T21:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668695#M79148</link>
      <description>OK, inicially, my objective is to produce a dataset with predicted (derived from a leave-one-out process) and observed values.&lt;BR /&gt;To get it, I would like to begin with a simple random univariate model like that: y = X1 using study as random effect.&lt;BR /&gt;A simple code would be:&lt;BR /&gt;&lt;BR /&gt;proc mixed data=a;&lt;BR /&gt;class study;&lt;BR /&gt;model Y = X1/ solution outpred=preditos;&lt;BR /&gt;RANDOM study / SOLUTION;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Assuming 10 observations in my dataset, I would like to create a macro in which I delete an observation, and fit a new model with the rest of observations (n=9). Afterwards, I get predicted value for the observation I did not include in fitting process. I repeat this process until excluding all the observations, getting a data set with 10 observations and 10 predicted values (each one from each fitting step).&lt;BR /&gt;&lt;BR /&gt;Regarding your question, when I run the code posted in previous question, I got:&lt;BR /&gt;&lt;BR /&gt;ERROR: File WORK.PARMS.DATA does not exist.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run the aforementioned code</description>
      <pubDate>Sun, 12 Jul 2020 21:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668695#M79148</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T21:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668697#M79149</link>
      <description>&lt;P&gt;Yes, this happens because your code with PROC MIXED has not been modified to obtain the parameter estimates in a SAS data set. You need to get that correct, and then it should work in the macro loop as well. That's step one ... no macros ... no loop, just get the results you want from PROC MIXED.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668697#M79149</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T21:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668699#M79150</link>
      <description>The main mistake may be associated to proc mixed does not produce the parameters of the equations using parameterestimates statement. In proc mixed, What would be the equivalent statement?</description>
      <pubDate>Sun, 12 Jul 2020 21:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668699#M79150</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T21:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668701#M79152</link>
      <description>Coudl you please to help me to get the correct code for getting the parameter estimates in a SAS data set?</description>
      <pubDate>Sun, 12 Jul 2020 21:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668701#M79152</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T21:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668702#M79153</link>
      <description>&lt;P&gt;I think its something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output solutionF=parms;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668702#M79153</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T21:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668704#M79155</link>
      <description>I previously tried the suggested option, but problem remains:&lt;BR /&gt;WARNING: Output 'solutionF' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,&lt;BR /&gt;verify that the appropriate procedure options are used to produce the requested output object. For example, verify that&lt;BR /&gt;the NOPRINT option is not used.</description>
      <pubDate>Sun, 12 Jul 2020 21:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668704#M79155</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T21:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668706#M79156</link>
      <description>&lt;P&gt;Show the log for PROC MIXED where you used the SOLUTIONF option and it didn't work.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668706#M79156</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T21:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668718#M79157</link>
      <description>&lt;P&gt;I run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input x1 y study;&lt;BR /&gt;id = _n_;&lt;BR /&gt;datalines;&lt;BR /&gt;0 2 1&lt;BR /&gt;1 4 1&lt;BR /&gt;2 3 1&lt;BR /&gt;3 6 2&lt;BR /&gt;4 6 2&lt;BR /&gt;5 5 2&lt;BR /&gt;6 8 3&lt;BR /&gt;7 10 3&lt;BR /&gt;8 9 3&lt;BR /&gt;9 9 3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc mixed data=a;&lt;BR /&gt;ods output solutionF=parms;&lt;BR /&gt;class study;&lt;BR /&gt;model y = x1;&lt;BR /&gt;RANDOM study / SOLUTION;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the log was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Las sentencias ODS en el entorno SAS Studio podrían deshabilitar algunas características de salida.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 data a;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 input x1 y study;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 id = _n_;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 datalines;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The data set WORK.A has 10 observations and 4 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement ha utilizado (Tiempo de proceso total):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;88 ;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;89 run;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;90&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91 proc mixed data=a;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;92 ods output solutionF=parms;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;93 class study;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;94 model y = x1;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;95 RANDOM study / SOLUTION;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;96 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Criterio de convergencia cumplido.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: La matriz G estimada no se ha definido positiva.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Output 'solutionF' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;verify that the appropriate procedure options are used to produce the requested output object. For example, verify that&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;the NOPRINT option is not used.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE MIXED ha utilizado (Tiempo de proceso total):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.16 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.17 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;97&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;98 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 12 Jul 2020 23:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668718#M79157</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-12T23:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668775#M79159</link>
      <description>&lt;P&gt;The SOLUTION option is needed in the MODEL statement. (You may also want it in the RANDOM statement, but that doesn't seem to be what you are asking for in this thread)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668775#M79159</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-13T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regression excluding individual observations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668874#M79161</link>
      <description>I am go try your suggestion and I will give you a feedback. Many thanks for your help.</description>
      <pubDate>Mon, 13 Jul 2020 16:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regression-excluding-individual-observations/m-p/668874#M79161</guid>
      <dc:creator>lkjjl</dc:creator>
      <dc:date>2020-07-13T16:14:16Z</dc:date>
    </item>
  </channel>
</rss>

