Hello,
I am having difficulty interpreting the results I have.
I want to check whether the probability of A and the probability of B are independent or not.
Below is the code and the result I have.
. tab exttot_wo_motor extdur_wo_motor, chi2
exttot_wo_ | extdur_wo_motor
motor | 0 1 | Total
-----------+----------------------+----------
0 | 16,486 7,446 | 23,932
1 | 8,520 16,652 | 25,172
-----------+----------------------+----------
Total | 25,006 24,098 | 49,104
Pearson chi2(1) = 6.0e+03 Pr = 0.000
.
end of do-file
As far as I know, Pr is the p-value so, I thought since the p-value is close to 0 I can reject the null hypothesis and argue that Pr(exttot_wo_motor) and Pr(extdur_wo_motor) are not independent
However, when I also run as below.
. return list
scalars:
r(N) = 49104
r(r) = 2
r(c) = 2
r(chi2) = 6027.114958488087
r(p) = 0
Then, r(p) gives me 0.
I am a bit confused because I have never seen any case with a p-value equal to 0 exactly.
So I was wondering whether I am understanding something wrong.
Thanks in advance.
Related Posts with Is it possible to have 0 p-value when using chi-square test?
reshape 4-levels wide format to 2X2 long formatHello, I have designed a 2✖2 within-subject design and get a 4-level repeated measure, how could I …
Local macro returns variable name and subscript rather than valueHi Statalist, I am trying to rename a set of variables in Stata 16.1. The new variable name I want …
Help with Stochastic Frontier Analysis/Translog Cost Function in Stata 15, bc95 modelDear Stata users, I am using Stata 15 and I am quite new in using this software. I am working on a …
Help with collapse (sum) commandI have a dataset, which has a (country_name) variable and a count of (requests) sent from that count…
ARCH effect after fitting GARCH(1,1)I am trying to messure volatility of return on stock index by using GARCH(1,1) but the ARCH-LM test …
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to have 0 p-value when using chi-square test?
Post a Comment