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?
Paired t-test across different countriesDear all I have a hierarchical mass opinion survey data, 83,961 individuals nested in 21 countries.…
Help tracking down a possible bug under an older version of Stata: error 197, syntax statementHi all, This is a bit of an odd request, and it might end up going nowhere. I am the current maint…
Running Mixed Logit Models with > 20 Random CoefficientsHi there, I'm trying to run a Mixed Logit Model using the user written mixlogit command of the form…
Updated markstat for handling bibliographic citationsThanks to Kit Baum, markstat 2.6 is now available on SSC. To update type -ado update markstat, updat…
Instrumental Variable Affecting a Control Variable in Control Function ApproachDear all, I have a binary dependent variable Y, endogenous variable X, control variables C1 and C2,…
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to have 0 p-value when using chi-square test?
Post a Comment