MCMCEc4photo(obsDat, niter = 30000, iCa = 380, iOa = 210, iVcmax = 60, iVpmax = 120, iVpr = 80, iJmax = 400, thresh = 0.01, scale = 1)
\mu
mol
m^{-2}
s^{-1}
). The second column should be
the observed quantum flux (\mu
mol m^{-2}
s^{-1}
). The third column should be observed
temperature of the leaf (Celsius). The fourth column
should be the observed relative humidity in proportion
(e.g. 0.7).\mu
bar).list
structure with components
This function attempts to implement Markov chain Monte Carlo methods for models with no likelihoods. In this case it is done for the von Caemmerer C4 photosynthesis model. The method implemented is based on a paper by Marjoram et al. (2003). The method is described in Miguez (2007). The chain is constructed using a Gaussian random walk. This is definitely a beta version of this function and more testing and improvements are needed. The value of this function is in the possibility of examining the empirical posterior distribution (i.e. vectors) of the Vcmax and alpha parameters. Notice that you will get different results each time you run it.
P. Marjoram, J. Molitor, V. Plagnol, S. Tavare, Markov chain monte carlo without likelihoods, PNAS 100 (26) (2003) 15324--15328.
Miguez (2007) Miscanthus x giganteus production: meta-analysis, field study and mathematical modeling. PhD Thesis. University of Illinois at Urbana-Champaign.
## <strong>Not run</strong>: # ## This is an example for the MCMCEc4photo # ## evaluating the convergence of the chain # ## Notice that if a parameter does not seem # ## to converge this does not mean that the method # ## doesn't work. Careful examination is needed # ## in order to evaluate the validity of the results # data(obsNaid) # res1 <- MCMCEc4photo(obsNaid,100000,thresh=0.007) # res1 # # ## Run it a few more times # ## and test the stability of the method # res2 <- MCMCEc4photo(obsNaid,100000,thresh=0.007) # res3 <- MCMCEc4photo(obsNaid,100000,thresh=0.007) # # ## Now plot it # plot(res1,res2,res3) # plot(res1,res2,res3,type='density') # ## <strong>End(Not run)</strong>