Hi,

My problem is the following : I have points (houses) that are in 
polygons (counties). I don't have their exact location inside the 
polygon. I would like to estimate a spatial model to relate houses' 
prices to some counties characteristics.

How do I create spatial weights ? I would like to weight in the 
following manner : For all the houses in the same county would by first 
order neighboors. All the houses in the adjacent counties would be 
second-order neighboors, etc, as in contiguity matrices for areal data.

Otherwise, I though I could randomly assign a location within the 
polygon for each house. Is it possible in R to draw spatial locations 
from polygons. Put clearly: I have 2 houses (A & B) in county C. I want 
to draw coordinates (xA, yA) and (xB,yB) inside polygon C (that is, I 
want to make sure that(xA, yA) and (xB,yB)  belong to C). And I want to 
do that for the houses and for all the polygons in my dataset.

Is there a way to do that in R ?

Thank you very much for your advices. All the best, Julien Salanié

-- 
Julien Salanié
Maître de conférences en économie

GRANEM (UMR MA n°49) - Université d'Angers et Agrocampus Ouest
http://ead.univ-angers.fr/~granem08/

AGROCAMPUS OUEST - Centre d'Angers
Institut National d'Horticulture et de Paysage
2 rue Le Nôtre
ANGERS 49045 cedex 01
tel: +33 (0)2 41 22 55 17
fax: +33 (0)2 41 22 54 13
http://www.agrocampus-ouest.fr

European Consortium on Landscape Economics
http://www.ceep-europe.org


	[[alternative HTML version deleted]]

