<?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 Theoretical Semivariogram Model Fitting - Use of &amp;quot;Lag 0&amp;quot; in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Theoretical-Semivariogram-Model-Fitting-Use-of-quot-Lag-0-quot/m-p/929313#M46298</link>
    <description>&lt;P&gt;I was hoping I could get some clarification on how SAS 9.4 handles the semivariance estimate for Lag 0 in the semivariogram model fitting process. A visual inspection of various fitted variogram curves for my data suggest that SAS is either ignoring or weighting down the importance of the Lag 0 semivariance estimates in fitting the semivariogram curves. Given that Lag 0 generally contains substantially fewer data points than the other lags under consideration, this seems reasonable, but I have been unable to find a description in the SAS User's Guide that details exactly how this process is handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I interpreting&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_variogram_details20.htm" target="_self"&gt;The VARIOGRAM Procedure -&amp;nbsp;Quality of Fit&lt;/A&gt;&amp;nbsp;page correctly to mean that Lag 0 is ignored in the fitting process when it says:&amp;nbsp; "the weights&amp;nbsp;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;EM&gt;wi2&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;are taken at&amp;nbsp;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;&lt;STRONG&gt;i = 1, . . . ,&amp;nbsp;k.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;" or am I missing something in the documentation elsewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this general code form for my model fitting:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC VARIOGRAM DATA = LIB.DATA  PLOTS(ONLY) = FIT;
COMPUTE AUTOCORRELATION
	LAGD = x
	MAXLAG = y
	CL ROBUST 
        AUTOCORR(WEIGHTS = DISTANCE (NORMAL)
		;
COORDINATES XC = X_CORD YC = Y_CORD;
MODEL FORM = AUTO (MLIST = (EXP, SPH, GAU, SHE) NEST = 1) 
	CL FIT = ROBUST
	CHOOSE = (STATUS SSE);
	VAR RESID;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 20:41:16 GMT</pubDate>
    <dc:creator>CThickstun</dc:creator>
    <dc:date>2024-05-22T20:41:16Z</dc:date>
    <item>
      <title>Theoretical Semivariogram Model Fitting - Use of "Lag 0"</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Theoretical-Semivariogram-Model-Fitting-Use-of-quot-Lag-0-quot/m-p/929313#M46298</link>
      <description>&lt;P&gt;I was hoping I could get some clarification on how SAS 9.4 handles the semivariance estimate for Lag 0 in the semivariogram model fitting process. A visual inspection of various fitted variogram curves for my data suggest that SAS is either ignoring or weighting down the importance of the Lag 0 semivariance estimates in fitting the semivariogram curves. Given that Lag 0 generally contains substantially fewer data points than the other lags under consideration, this seems reasonable, but I have been unable to find a description in the SAS User's Guide that details exactly how this process is handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I interpreting&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_variogram_details20.htm" target="_self"&gt;The VARIOGRAM Procedure -&amp;nbsp;Quality of Fit&lt;/A&gt;&amp;nbsp;page correctly to mean that Lag 0 is ignored in the fitting process when it says:&amp;nbsp; "the weights&amp;nbsp;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;EM&gt;wi2&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;are taken at&amp;nbsp;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;&lt;STRONG&gt;i = 1, . . . ,&amp;nbsp;k.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;" or am I missing something in the documentation elsewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this general code form for my model fitting:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC VARIOGRAM DATA = LIB.DATA  PLOTS(ONLY) = FIT;
COMPUTE AUTOCORRELATION
	LAGD = x
	MAXLAG = y
	CL ROBUST 
        AUTOCORR(WEIGHTS = DISTANCE (NORMAL)
		;
COORDINATES XC = X_CORD YC = Y_CORD;
MODEL FORM = AUTO (MLIST = (EXP, SPH, GAU, SHE) NEST = 1) 
	CL FIT = ROBUST
	CHOOSE = (STATUS SSE);
	VAR RESID;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 20:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Theoretical-Semivariogram-Model-Fitting-Use-of-quot-Lag-0-quot/m-p/929313#M46298</guid>
      <dc:creator>CThickstun</dc:creator>
      <dc:date>2024-05-22T20:41:16Z</dc:date>
    </item>
  </channel>
</rss>

