<?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 MI var statement errors in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302085#M16062</link>
    <description>&lt;P&gt;Look at &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mi_examples03.htm" target="_self"&gt;the documentation example for the MONOTONE REG method.&lt;/A&gt;&amp;nbsp; The order of the variables that you specify on the VAR statement are important. &amp;nbsp;Because you are requesting a monotone missing value pattern, it is assumed that the first variables in the VAR statement have nonmissing values and that the missingness increases as you proceed to later variables in the list. &amp;nbsp;If the only variable that has missing values is Dependent, put that variable last in the VAR statement.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2016 15:24:38 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-10-03T15:24:38Z</dc:date>
    <item>
      <title>Proc MI var statement errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302076#M16060</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone can gelp me with proc MI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS ver. 9.2 with Enterprise Guide 4.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to impute missing values for one dependent variable.&amp;nbsp; I've consulted with subject matter experts in my company, who have agreed that there are five categorical variables and three continuous variables that should be used to model the dependent variable.&amp;nbsp; None of the explanatory variables have an issue with missing data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For proprietary reasons, I'm renaming the variable names;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;class&amp;nbsp;C1 C2 C3 C4&amp;nbsp;C5;&lt;/P&gt;&lt;P&gt;var&amp;nbsp;Dependent N1 N2 N3 C1 C2&amp;nbsp;C3 C4 C5;&lt;/P&gt;&lt;P&gt;monotone reg (Dependent=N1 N2 N3&amp;nbsp;C1 C2 C3 C4 C5);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the following:&lt;/P&gt;&lt;P&gt;WARNING: The imputed variable Dependent in the MONOTONE statement is the leading variable in the VAR list. Missing values for this variable will not be imputed.&lt;/P&gt;&lt;P&gt;ERROR: The covariate N1 is not in the VAR statement. {I did a direct copy and paste}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed 'Dependent" from the&amp;nbsp;VAR statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the following:&lt;/P&gt;&lt;P&gt;ERROR: The variable&amp;nbsp;Dependent in the MONOTONE statement is not in the VAR list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put 'Dependent" back in the VAR statement, as the last variable in the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: The covariates are not specified in a monotone discriminant method for variable C2, only preceding continuous&lt;/P&gt;&lt;P&gt;variables will be used as covariates.&lt;/P&gt;&lt;P&gt;WARNING: The covariates are not specified in a monotone discriminant method for variable C3, only preceding continuous&lt;/P&gt;&lt;P&gt;variables will be used as covariates.&lt;/P&gt;&lt;P&gt;WARNING: The covariates are not specified in a monotone discriminant method for variable C4, only preceding continuous&lt;/P&gt;&lt;P&gt;variables will be used as covariates.&lt;/P&gt;&lt;P&gt;WARNING: The covariates are not specified in a monotone discriminant method for variable C5, only preceding continuous&lt;/P&gt;&lt;P&gt;variables will be used as covariates.&lt;/P&gt;&lt;P&gt;ERROR: A MONOTONE statement is specified for a data set with a non-monotone missing pattern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've consulted with a couple of colleagues, who are just as confused as I am.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:51:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302076#M16060</guid>
      <dc:creator>KeithJS</dc:creator>
      <dc:date>2016-10-03T14:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI var statement errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302085#M16062</link>
      <description>&lt;P&gt;Look at &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mi_examples03.htm" target="_self"&gt;the documentation example for the MONOTONE REG method.&lt;/A&gt;&amp;nbsp; The order of the variables that you specify on the VAR statement are important. &amp;nbsp;Because you are requesting a monotone missing value pattern, it is assumed that the first variables in the VAR statement have nonmissing values and that the missingness increases as you proceed to later variables in the list. &amp;nbsp;If the only variable that has missing values is Dependent, put that variable last in the VAR statement.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 15:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302085#M16062</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-03T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI var statement errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302152#M16063</link>
      <description>&lt;P&gt;Thanks Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your response caused me to look more closely at my data.&amp;nbsp; I had one instance where there was a missing value on one of the character variables, even though the dependent variable was&amp;nbsp;NOT missing.&amp;nbsp; Knowing that, I was able to reach a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-var-statement-errors/m-p/302152#M16063</guid>
      <dc:creator>KeithJS</dc:creator>
      <dc:date>2016-10-03T19:20:28Z</dc:date>
    </item>
  </channel>
</rss>

