Description Usage Arguments Details Value
Compute the pseudologit vector for random discrete data using Chi squared and Fisher exact tests
1 | chi2logit(Cum, R)
|
Cum |
Input vector of cumulative response counts |
R |
A vector with trial numbers of putative change points |
Not normally called directly, but via the cp_wrapper function instead. For cases, in which the chi square test is not valid (expected obersavations all smaller than 5), the Fisher exact test is used instead. Occasionally, for noisy data even this test will fail. In that case use the rrd function instead. Notice that the p values delivered by this test are estimated from a 1000 Monte Carlo simulations.
Lgt A vector giving for each trial the pseudologit, approximately the log of the odds that there has been a change point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.