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?
oaxaca_riffDear members, I am trying to estimate productivity/yield gap between men and women using oaxaca_rif.…
including time dummy variables make all other variables insignificantDear Statalist, I am working on bilateral remittances data over the period 2011-2017 for a set of d…
Mata run-time error r(3001)Hello, I use Stata/IC 15.1. I can run regressions with it but when I try to get summary statistics …
Panel data with repeated time values within panel r(451); due to multiple directorshipsDear all, I am writing my Master's thesis in Economics, and I am working on a data set on board of …
The difference between Run and Do icon in do-file toolbar?What's the difference? I use Mac. …
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to have 0 p-value when using chi-square test?
Post a Comment