<?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 proc countreg / WMAT= option and/or SPATIALID statement will be ignored in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-countreg-WMAT-option-and-or-SPATIALID-statement-will-be/m-p/646556#M193452</link>
    <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to run proc countreg on spatially correlated data. But I get error:&amp;nbsp;WARNING: The WMAT= option and/or SPATIALID statement will be ignored because the spatial lag model is not valid.&lt;/P&gt;
&lt;P&gt;Where should I look at to start with to investigate the problem? Any known issues associated with this Warning?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mydata; 
by ID1NAME IDNAME; 
run;
ods trace on; 
ods output  ParameterEstimates=par; 
proc countreg data=mydata Wmat=Wmatrix;
model n_covid =db_ocular_rate p55_64 p65_74 p75_84 p85/offset=ln dist=negbin;
ods trace off; 
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 10 May 2020 22:02:45 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2020-05-10T22:02:45Z</dc:date>
    <item>
      <title>proc countreg / WMAT= option and/or SPATIALID statement will be ignored</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-countreg-WMAT-option-and-or-SPATIALID-statement-will-be/m-p/646556#M193452</link>
      <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to run proc countreg on spatially correlated data. But I get error:&amp;nbsp;WARNING: The WMAT= option and/or SPATIALID statement will be ignored because the spatial lag model is not valid.&lt;/P&gt;
&lt;P&gt;Where should I look at to start with to investigate the problem? Any known issues associated with this Warning?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mydata; 
by ID1NAME IDNAME; 
run;
ods trace on; 
ods output  ParameterEstimates=par; 
proc countreg data=mydata Wmat=Wmatrix;
model n_covid =db_ocular_rate p55_64 p65_74 p75_84 p85/offset=ln dist=negbin;
ods trace off; 
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 May 2020 22:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-countreg-WMAT-option-and-or-SPATIALID-statement-will-be/m-p/646556#M193452</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2020-05-10T22:02:45Z</dc:date>
    </item>
  </channel>
</rss>

