Description Usage Arguments Value Examples
Generate a Monte-Carlo null distribution for a beta-Poisson model
1 2 | getBPMCnull(param, n = 200, tbreak = NULL, tbreak.num = 20,
sim.num = 1000, ran.num = 1e+05, E.esp = 0, useDebug = FALSE)
|
param |
A vector of parameters of the beta-Poisson model |
n |
The number of data points for each simulation |
tbreak |
A vector of break points |
tbreak.num |
Number of breaks |
sim.num |
A number of simulations |
ran.num |
The number of data points generated from the beta-Poisson model to approximate the theoretical model |
E.esp |
An small value added to expected value when computing X2 |
useDebug |
A parameter just used for debug and checking, so useDebug=FALSE by default |
A list containning the Monte-Carlo null distribution and other values
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.