This question already has an answer here:

I have a contingency table where I estimate the p value Pearson's Chi-squared test, I want to take a confidence interval to validate this value P some code to do this by simulation monte carlo?

       A   B   C   D   
  H    3   9  16  13  
  M   13   8  19  21 

  Pearson's Chi-squared test
   data:  tabla1
X-squared = 4.7077, df = 3, p-value = 0.1945

marked as duplicate by Ferdi, kjetil b halvorsen, mkt, mdewey, Peter Flom Oct 17 '18 at 13:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ This looks like a question about R code, which is off-topic here. Can you reformulate as a question about statistics or methodology? $\endgroup$ – kjetil b halvorsen Oct 17 '18 at 5:41
  • $\begingroup$ CI of what estimate? The p-value? This is not done. $\endgroup$ – user2974951 Oct 17 '18 at 7:32

It looks like you are asking about how to construct a confidence interval for the p-value (from a chisquared test). But confidence intervals are constructed for parameters, and the p-value is not a parameter. So a confidence interval for the p-value does not make sense.

Further discussion is here.


Not the answer you're looking for? Browse other questions tagged or ask your own question.