<?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: smoothing map in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/421921#M68002</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I solved using SAS Studio that has neighbour option in PROC MCMC.&lt;/P&gt;&lt;P&gt;I'd need to weight the single area (cod_pro) and&amp;nbsp;the neighbors (cod_pro_adj)&amp;nbsp;with their Observedevents .&lt;/P&gt;&lt;P&gt;How could I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;follow my sintax without the weight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods select none;&lt;BR /&gt;proc mcmc data=step1 seed=615926 nbi=10000 nmc=50000 thin =10&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plots=none outpost=/*OUT.*/step1post;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; parms tau_b 0.5 tau_h 0.2 provar 0.5;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; parms alpha 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior tau: ~ gamma(0.5, is=0.0005);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior alpha ~ general(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior provar ~ gamma(0.001, is=0.001);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; random h ~ n(0, prec=tau_h/**poptime*/) s=cod_pro;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; random b ~ normalcar(neighbors=cod_pro_ad, num=num, prec=tau_b*num/*/poptime ObservedEvents*/) s=cod_pro;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mu=alpha + b + h;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; model stdrate ~ normal(mu, sd=provar);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the db with few rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Alessandra&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2017 08:41:12 GMT</pubDate>
    <dc:creator>ale_rossi</dc:creator>
    <dc:date>2017-12-18T08:41:12Z</dc:date>
    <item>
      <title>smoothing map</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420127#M67868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I should create a map with&amp;nbsp;smoothing mortality rate for italian areas with the neighbor Matrix (for each area (row) the Matrix considers more areas (colomns))&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't&amp;nbsp;PROC IML and I think I could't use PROC GLIMMIX.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.si-folkesundhed.dk/scient.pub/sr/Icar.htm" target="_blank"&gt;http://www.si-folkesundhed.dk/scient.pub/sr/Icar.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to&amp;nbsp;study&amp;nbsp;PROC MCMC form&amp;nbsp;an example&amp;nbsp;by SAS that considers the neighbor Matrix,&amp;nbsp;but It doesn't work .&lt;/P&gt;&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_mcmc_details61.htm&amp;amp;docsetVersion=14.2&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_mcmc_details61.htm&amp;amp;docsetVersion=14.2&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alessandra Rossi&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 14:42:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420127#M67868</guid>
      <dc:creator>ale_rossi</dc:creator>
      <dc:date>2017-12-11T14:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: smoothing map</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420341#M67869</link>
      <description>Moved to "SAS procedures"</description>
      <pubDate>Tue, 12 Dec 2017 01:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420341#M67869</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-12-12T01:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: smoothing map</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420542#M67882</link>
      <description>&lt;P&gt;Doesn't work is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of a dataset, the actual results and the expected results. Data should be in the form of a data step. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420542#M67882</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-12T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: smoothing map</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420559#M67885</link>
      <description>&lt;P&gt;Try using radial&amp;nbsp;smoothing&amp;nbsp;functions (TYPT=RSMOOTH) as in this GLIMMIX example:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glimmix_details46.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glimmix_details46.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 19:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/420559#M67885</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-12-12T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: smoothing map</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/421921#M68002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I solved using SAS Studio that has neighbour option in PROC MCMC.&lt;/P&gt;&lt;P&gt;I'd need to weight the single area (cod_pro) and&amp;nbsp;the neighbors (cod_pro_adj)&amp;nbsp;with their Observedevents .&lt;/P&gt;&lt;P&gt;How could I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;follow my sintax without the weight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods select none;&lt;BR /&gt;proc mcmc data=step1 seed=615926 nbi=10000 nmc=50000 thin =10&lt;BR /&gt;&amp;nbsp;&amp;nbsp; plots=none outpost=/*OUT.*/step1post;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; parms tau_b 0.5 tau_h 0.2 provar 0.5;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; parms alpha 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior tau: ~ gamma(0.5, is=0.0005);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior alpha ~ general(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; prior provar ~ gamma(0.001, is=0.001);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; random h ~ n(0, prec=tau_h/**poptime*/) s=cod_pro;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; random b ~ normalcar(neighbors=cod_pro_ad, num=num, prec=tau_b*num/*/poptime ObservedEvents*/) s=cod_pro;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mu=alpha + b + h;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; model stdrate ~ normal(mu, sd=provar);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the db with few rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Alessandra&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 08:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/smoothing-map/m-p/421921#M68002</guid>
      <dc:creator>ale_rossi</dc:creator>
      <dc:date>2017-12-18T08:41:12Z</dc:date>
    </item>
  </channel>
</rss>

