<?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: Fitting Spatial covariance model - Proc Mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100190#M5164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you take multiple random samples of your data, run PROC MIXED on each of these samples, and then summarize the results across the samples?&amp;nbsp; If your sample were one-half the size of your original data set, the corresponding matrices would be only one-fourth the size as those from your original data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or can you group observations near to one another and summarize/average their yields to reduce your sample size?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jun 2013 18:53:57 GMT</pubDate>
    <dc:creator>1zmm</dc:creator>
    <dc:date>2013-06-08T18:53:57Z</dc:date>
    <item>
      <title>Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100189#M5163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am trying to fit various spatial covariance model such as spherical, exponential, gaussian, power, linear, linear log and other anisotropic structure using proc mixed. The spatial data has west longitude, latitude, and yield. I converted the spatial coordinates into easting and northing for efficient statistical analysis. Each time I run my SAS script for the entire data set which 12009 observations, I got insufficient memory despite running the script on system with 24 GB of RAM. I suspect the inability of REML algorithm to fit the 12009 x 12009 variance-covariance structure of R matrix of the residual term. Please see my script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp; %spatialcov(var= cov=)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc mixed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model &amp;amp;var=/ddfm=residual;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeated/subject=intercept type=sp(&amp;amp;cov)(easting northing);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parms (25) (20);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;%mend spatialcov;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=sph)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=exp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=gau)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=pow)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=lin)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; %spatialcov(var=yield cov=linl)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New;"&gt;I have to substract a constant 321000 and 5708000 from easting and northing respectively when I discovered that the values are extremely high to facilitate the computation but all effort in vain. Please could any one advise me on better approach? Does it mean PROC MIXED can not fit spatial model with a very large dataset? Could anyone suggest alternative approach or how to modify my SAS code? Look forward to reading from you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 21:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100189#M5163</guid>
      <dc:creator>Moshood</dc:creator>
      <dc:date>2013-06-07T21:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100190#M5164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you take multiple random samples of your data, run PROC MIXED on each of these samples, and then summarize the results across the samples?&amp;nbsp; If your sample were one-half the size of your original data set, the corresponding matrices would be only one-fourth the size as those from your original data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or can you group observations near to one another and summarize/average their yields to reduce your sample size?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 18:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100190#M5164</guid>
      <dc:creator>1zmm</dc:creator>
      <dc:date>2013-06-08T18:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100191#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are probably running SAS 9.3. There is a 2 GB software memory limit in MIXED, not matter how much memory you have on your machine. Starting with SAS/STAT 12.1, this restriction has been eliminated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 13:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100191#M5165</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2013-06-10T13:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100192#M5166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear lvm,&lt;/P&gt;&lt;P&gt;I appreciate your informative response to my request. I would like to ask if SAS/STAT 12.1 is available for use now. I&amp;nbsp; have to think of alternative now that the usage of PROC MIXED is not feasible for my analysis. Could you please suggest any other approach? It is better I work with the entire data rather than subset.&lt;/P&gt;&lt;P&gt;My contact email is &lt;A href="mailto:bakare@ualberta.ca"&gt;bakare@ualberta.ca&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let us keep in touch please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:52:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100192#M5166</guid>
      <dc:creator>Moshood</dc:creator>
      <dc:date>2013-06-10T16:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100193#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;12.1 has been available for about a year. But, your installation may not have it yet -- it depends when your installation gets the updates. Note, SAS/STAT 12.1 runs with SAS/Base 9.There is a cost for the increased memory: programs may run an extremely long time to reach convergence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you consider sampling of your dataset. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 16:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100193#M5167</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2013-06-10T16:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting Spatial covariance model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100194#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OP may also want to look at PROC KRIGE2D.&amp;nbsp; I think all (or almost all) of the spatial forms in the macro are available in that procedure.&amp;nbsp; I have to admit that I have never used it, but looking through the documentation examples, it seems like a possible alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-Spatial-covariance-model-Proc-Mixed/m-p/100194#M5168</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-11T12:01:56Z</dc:date>
    </item>
  </channel>
</rss>

