Description Usage Arguments Value Author(s)
See Eqs. 1 and 2 in Czado, Geniting and Held (2009), Predictive Model Assessment for Count Data, Biometrics Vol. 65, No. 4 (Dec., 2009), pp. 1254-1261
1 | pit_test_sample(y, dat, J, N = 10)
|
y |
vector of data (length n) |
dat |
nxN matrix of predictive samples, n (number of rows) being the number of data points and N (number of columns) the number of Monte Carlo samples |
J |
the number of bins in the PIT histogram. If not given, will use the square root of n |
N |
the number of tests to perform, each time re-randomising the PIT |
the n p-values from the tests
Sebastian Funk sebastian.funk@lshtm.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.