Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maurizio Pisati <maurizio.pisati@unimib.it> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: spmap: Color missing-data areas with values interpolated across surrounding areas? |
Date | Wed, 27 Jul 2011 09:54:16 -0500 |
If Jen Zhen is willing to adopt a smoothing approach, Jen Zhen might consider using -spgrid- and -spkde-, both available from the Boston SSC Archive. Maurizio > Dear list members, > > I am using Maurizio Pisati's -spmap- to draw maps of different > municipalities and color the area of each municipality according to > the value of some continuous variable. Unfortunately there are some > areas for which I have the polygon data, but for which I do not have > data on the continuous variable. Therefore I would like to color the > no-data areas with the color corresponding to a value interpolated > across the respective municipality's surrounding areas. Is there any > option for this, which I have overlooked? > > Otherwise, I think I first need to find, ideally automatically, for > each municipality all surrounding municipalities. Can anyone recommend > a way to do so? > > Thanks very much! > > JZ > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/