<?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 COUNTREG - Compact Form for WMAT in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/925061#M4818</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/454151"&gt;@lucamerlini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately PROC COUNTREG does not accept compact form of the WMAT matrix as does PROC SPATIALREG. Sorry I do not have better news for you at this time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2024 19:32:26 GMT</pubDate>
    <dc:creator>SASCom1</dc:creator>
    <dc:date>2024-04-19T19:32:26Z</dc:date>
    <item>
      <title>PROC COUNTREG - Compact Form for WMAT</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920671#M4780</link>
      <description>&lt;P&gt;Hello SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project where I need to utilize PROC COUNTREG in SAS, particularly focusing on utilizing a weight matrix (WMAT) in a compact form. I have a WMAT with a dimension of 139,000*139,000 which is highly sparse (only 15 values per rows). I would use a matrix in a compact form to save space with three columns. The first two columns give the row and column indices for nonzero entries in the spatial weights matrix. The third column in the data set contains the nonzero entries in the spatial weights matrix. This option is already present in PROC SPATIALREG(&lt;A href="https://documentation.sas.com/api/collections/etscdc/14.3/docsets/etsug/content/spatialreg.pdf?locale=en#nameddest=etsug_spatialreg_overview" target="_self" rel="nofollow noopener noreferrer"&gt;proc spatialreg pages2355-2356&lt;/A&gt;&amp;nbsp;), it is possible to adapt this feature even in PROC COUNTREG?&lt;/P&gt;&lt;P&gt;Has anyone ever had this problem?&lt;/P&gt;&lt;P&gt;Could anyone please provide share some insights on how to properly utilize the WMAT in a compact form within PROC COUNTREG?&lt;/P&gt;&lt;P&gt;Any examples, tips, or resources you could share would be greatly appreciated. Thank you in advance for your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 11:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920671#M4780</guid>
      <dc:creator>lucamerlini</dc:creator>
      <dc:date>2024-03-18T11:23:05Z</dc:date>
    </item>
    <item>
      <title>PROC COUNTREG - Compact Form for WMAT</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920469#M4783</link>
      <description>&lt;P&gt;Hello SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project where I need to utilize PROC COUNTREG in SAS, particularly focusing on utilizing a weight matrix (WMAT) in a compact form. I have a WMAT with a dimension of 139,000*139,000 which is highly sparse (only 15 values per rows). I would use a matrix in a compact form to save space with three columns. The first two columns give the row and column indices for nonzero entries in the spatial weights matrix. The third column in the data set contains the nonzero entries in the spatial weights matrix. This option is already present in PROC SPATIALREG(&lt;A href="https://documentation.sas.com/api/collections/etscdc/14.3/docsets/etsug/content/spatialreg.pdf?locale=en#nameddest=etsug_spatialreg_overview" target="_self"&gt;proc spatialreg pages2355-2356&lt;/A&gt;&amp;nbsp;), it is possible to adapt this feature even in PROC COUNTREG?&lt;/P&gt;&lt;P&gt;Has anyone ever had this problem?&lt;/P&gt;&lt;P&gt;Could anyone please provide share some insights on how to properly utilize the WMAT in a compact form within PROC COUNTREG?&lt;/P&gt;&lt;P&gt;Any examples, tips, or resources you could share would be greatly appreciated. Thank you in advance for your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920469#M4783</guid>
      <dc:creator>lucamerlini</dc:creator>
      <dc:date>2024-03-15T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC COUNTREG - Compact Form for WMAT</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920630#M4784</link>
      <description>Since PROC COUNTREG is under SAS/ETS . &lt;BR /&gt;You'd better post it at Forecasting Forum:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics&lt;/A&gt;</description>
      <pubDate>Mon, 18 Mar 2024 05:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/920630#M4784</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-18T05:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC COUNTREG - Compact Form for WMAT</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/924922#M4817</link>
      <description>&lt;P&gt;The compact form you're describing is called an edge list, and you're correct that in SPATIALREG you can simply input an edge list with non-zero element values and SPATIALREG will convert it into the NxN spatial weights matrix behind the scenes for you and normalize it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the doc and am unclear if you can read the spatial weights matrix in edge list format into COUNTREG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, a more user-friendly workaround with sparse W matrices is to start with an edge list containing only non-zero elements, use SAS to convert it into an NxN spatial weights matrix, then read it into COUNTREG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's how I used SPATIALREG for years until I realized it accepted edge lists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 21:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/924922#M4817</guid>
      <dc:creator>ChanceTGardener</dc:creator>
      <dc:date>2024-04-18T21:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC COUNTREG - Compact Form for WMAT</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/925061#M4818</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/454151"&gt;@lucamerlini&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately PROC COUNTREG does not accept compact form of the WMAT matrix as does PROC SPATIALREG. Sorry I do not have better news for you at this time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 19:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-COUNTREG-Compact-Form-for-WMAT/m-p/925061#M4818</guid>
      <dc:creator>SASCom1</dc:creator>
      <dc:date>2024-04-19T19:32:26Z</dc:date>
    </item>
  </channel>
</rss>

