Help using Base SAS procedures

PROC GLIMMIX

Accepted Solution Solved
Reply
Occasional Learner
Posts: 1
Accepted Solution

PROC GLIMMIX

Can the nearest neighbor be used with the proc glimmix?

Anyone knows the code?


Accepted Solutions
Solution
‎02-29-2016 12:39 PM
SAS Super FREQ
Posts: 3,477

Re: PROC GLIMMIX

In addition to TYPE=SP, some people use a radial smoother for analyzing spatial data. The option is TYPE=RSMOOTH. The radial smoother supports KNOTMETHOD=KDTREE(NEAREST), which is essentially a nearest neighbor approach. Links are provided in the documentation for the RANDOM statement.  For an example, see the section "Spatial Smoothing" in Schabenberger (2005, p. 15)

View solution in original post


All Replies
Respected Advisor
Posts: 4,649

Re: PROC GLIMMIX

If you want a spatial covariance structure, look at the SP() covariance types in GLIMMIX statement RANDOM. 

PG
Solution
‎02-29-2016 12:39 PM
SAS Super FREQ
Posts: 3,477

Re: PROC GLIMMIX

In addition to TYPE=SP, some people use a radial smoother for analyzing spatial data. The option is TYPE=RSMOOTH. The radial smoother supports KNOTMETHOD=KDTREE(NEAREST), which is essentially a nearest neighbor approach. Links are provided in the documentation for the RANDOM statement.  For an example, see the section "Spatial Smoothing" in Schabenberger (2005, p. 15)

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 286 views
  • 3 likes
  • 3 in conversation