search for: c_chisq_sim

Displaying 4 results from an estimated 4 matches for "c_chisq_sim".

2017 Aug 24
3
Are r2dtable and C_r2dtable behaving correctly?
...oing some enrichment tests using chisq.test() with simulated p-values, I noticed some strange behaviour. The computed p-value was extremely small, so I decided to dig a little deeper and debug chisq.test(). I noticed then that the simulated statistics returned by the following call tmp <- .Call(C_chisq_sim, sr, sc, B, E) were all the same, very small numbers. This, at first, seemed strange to me. So I decided to do some simulations myself, and started playing around with the r2dtable() function. Problem is, using my row and column marginals, r2dtable() always returns the same matrix. Let's provi...
2017 Aug 25
2
Are r2dtable and C_r2dtable behaving correctly?
...with simulated > p-values, I noticed some strange behaviour. The computed p-value was > extremely small, so I decided to dig a little deeper and debug > chisq.test(). I noticed then that the simulated statistics returned by the > following call > tmp <- .Call(C_chisq_sim, sr, sc, B, E) > were all the same, very small numbers. This, at first, seemed strange to > me. So I decided to do some simulations myself, and started playing around > with the r2dtable() function. Problem is, using my row and column > marginals, r2dtable() always retu...
2017 Aug 25
0
Are r2dtable and C_r2dtable behaving correctly?
...with simulated > p-values, I noticed some strange behaviour. The computed p-value was > extremely small, so I decided to dig a little deeper and debug > chisq.test(). I noticed then that the simulated statistics returned by the > following call > tmp <- .Call(C_chisq_sim, sr, sc, B, E) > were all the same, very small numbers. This, at first, seemed strange to > me. So I decided to do some simulations myself, and started playing around > with the r2dtable() function. Problem is, using my row and column > marginals, r2dtable() always retu...
2017 Aug 25
0
Are r2dtable and C_r2dtable behaving correctly?
...simulated >> p-values, I noticed some strange behaviour. The computed p-value was >> extremely small, so I decided to dig a little deeper and debug >> chisq.test(). I noticed then that the simulated statistics returned by the >> following call > >> tmp <- .Call(C_chisq_sim, sr, sc, B, E) > >> were all the same, very small numbers. This, at first, seemed strange to >> me. So I decided to do some simulations myself, and started playing around >> with the r2dtable() function. Problem is, using my row and column >> marginals, r2dtable() always...