Thinking about this thread during the last few days, perhaps -testnl- can also contribute to decide about the evidence of a -poisson- mechanism.
Starting off from the first lines of Nick Cox 's code:
In this example, the outcome of -testnl- does not reject the null of equidispersion between variance and mean (ie, the main feature of a -poisson- distribution).
Starting off from the first lines of Nick Cox 's code:
Code:
. set obs 1000 number of observations (_N) was 0, now 1,000 . set seed 2803 . gen y = rpoisson(3) . sum y Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- y | 1,000 3.029 1.746198 0 10 . testnl (_se[y]^2*1000)/_b[y]=1 (1) (_se[y]^2*1000)/_b[y] = 1 chi2(1) = 0.13 Prob > chi2 = 0.7162
Comment