Skip to content

spatial data with binomial distribution

2 messages · Daniela Nava, Thierry Onkelinx

#
Hello,I'm trying to simulate a grid with binomial distribution spacially dependent. For the normal distribution, the package geoR has the command grf(). Has anyone some ideia how can I do this?Thanks a lot, Daniela.
 
 
 
Daniela Trentin Nava
Msc. em Estat?stica pela UFPE
Professora da UTFPR - Campus Toledo
Email alternativo: dnava at utfpr.edu.br
 
Hapiness is a decision. You are as happy as you decide to be.
#
Dear Daniela,

You could first generate a grid with the mean proportion on the logit
scale. You can use grf() to do that since the mean in the logit scale is
linear like the normal distribution. In step 2 you backtransform from the
logit scale to the original scale. E.g. with plogis(). Step 3 generates
binomial values based on the proportions from step 2. E.g. with rbinom().

Best regards,


ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2016-05-20 14:53 GMT+02:00 Daniela Nava <dtnava at hotmail.com>: