[R] mcmc simulation

From: Peter Francis <peterfrancis_at_me.com>
Date: Mon, 18 Apr 2011 19:18:18 +0100

Dear List,

I am reading a method and am unsure how to do something similar, so have come here for advice!

I have a observed value and a expected value generated from a null model. I am looking to see if observed - expected is significantly different from zero.

So in the method in the paper it states: " .. significance of difference from zero was tested with Markov chain Monte Carlo simulation"

I have installed the package mcmc as this seemed a good place to start but i am unsure what function to call?

I have 600 data points in a data frame called diversity, where the observed value is called, well observed and the expected.. expected!

Thanks for any advice.


R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Apr 2011 - 19:35:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Apr 2011 - 19:40:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive