Skip to content
Prev 24419 / 29559 Next

spatial data with binomial distribution

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>: