Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Randomize points to map polygons using -spmap- ?


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Randomize points to map polygons using -spmap- ?
Date   Tue, 16 Jul 2013 02:21:40 -0400

Andrew,
It is totally doable in Stata, see for example:
http://radyakin.org/statalist/2013071601/ukrp00g.htm
I don't see how R can help.. How would you do that in R? And why not
try in Stata?
What country(ies) are you dealing with? What precision do you need
(e.g. 50meters? or 1 degree?).
Best,Sergiy

On Mon, Jul 15, 2013 at 9:56 PM,  <graupel75@gmail.com> wrote:
> Thanks for the info Sergiy! I was trying to avoid using other programs
> (ArcGIS etc) so I could keep my analysis all in one consistent script,
> but given the oddity of PIP algos (ie, ensuring randomness) coding it
> up might not be the best idea. FWIW, I am hoping to randomly
> distribute the points within each polygon separately.
>
> I am thinking that Roger Newson's -Rsource- (SSC) might be my best
> option then....
>
> cheers-
> Andrew Lover
> ___________________________________________________________
> Epidemiologist
> Centre for Infectious Disease Epidemiology Research (CIDER)
> Saw Swee Hock School of Public Health
> National University of Singapore
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index