Skip to content
Prev 7551 / 29559 Next

generate simulation data for a theoretical spatial model

It is dificult if not irrealistic to set Y to be 0/1 (ou interger counts 
or similar) in such model since this would impose severe contraints in the
a's and x's as well as in the model structure.

This is why the hierarquical model structure is one possible
working around. The ideia is the same as in generalised linear models 
relating the covariates (x's) and spatial effect to as function of the
expected value of Y instead of directly with Y.
In a "loose" notation:
Y_i ~ "some distribution" with E[Y_i] = \mu_i 
g(\mu_i) = a1*x1+a2*x2+spatial effect

where g() is a "convenient" function mapping (-Inf, +Inf)
to the parameter space of \mu_i

Some examples:

1. For binay (0/1) observations a possible model would be
Y_i ~ B(p_i)
log(p_i/(1-p_i) = a1*x1+a2*x2+spatial effect

2. For count data:
Y_i ~ B(\lambda_i)
log(\lambda_i) = a1*x1+a2*x2+spatial effect

3. For Gaussian data
Y_i ~ N(\mu_i, \tau^2)
\mu_i = a1*x1+a2*x2+spatial effect
which in this particular case can be written as
Y_i = a1*x1+a2*x2+spatial effect


Paulo Justiniano Ribeiro Jr
LEG (Laboratorio de Estatistica e Geoinformacao)
Universidade Federal do Parana
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR  -  Brasil
Tel: (+55) 41 3361 3573
Fax: (+55) 41 3361 3141
e-mail: paulojus AT  ufpr  br
http://www.leg.ufpr.br/~paulojus
On Tue, 2 Feb 2010, rusers.sh wrote: