here are some results I got trying -binreg- and -poisson- for a simple
data set I concocted. It is not a mathematical demonstration but I
think it illustrates the binreg thread.
Excuse me for the long message. I hope I am not offending the
netiquette of the Statalist.
Variable -regiao- is categorical alwais.
Variable -mes- is continuous and also catgorical.
Variable -intr- is the response, binomial 0|1.
Summary of the results:
1. -binreg- converges slowly for regiao and mes as categorical in the
same model.
2. -binreg- converges for mes as continuous.
2. -binreg- does not converge even using observed initial values
(-mean-), when using regiao and mes as continuous, in the same model.
3. -poisson- and -binreg- give the same results only when using just
one variable, either regiao or mes as categorical.
4. -poisson- and -binreg- dont give the same results for mes as continuous.
binreg intr mes,rr robust
Iteration 7 : deviance = 220.5331
Bernoulli distribution, log link
------------------------------------------------------------------------------
| Semi-Robust
intr | Risk Ratio Std. Err. z P>|z| [95%
Conf. Interval]
-------------+----------------------------------------------------------------
mes | 1.23469 .0708729 3.67 0.000 1.10331
1.381713
------------------------------------------------------------------------------
Cheers,
Jose Maria
-
Jose Maria Pacheco de Souza, Professor Titular
Departamento de Epidemiologia
Faculdade de Saude Publica/Universidade de Sao Paulo
Av. Dr. Arnaldo, 715 cep 01246-904
Sao Paulo Brasil
fones (11)3082-3886 (11)3714-2403 (11)3768-8612
fax (11)3082-2920 (11)3714-2403
www.fsp.usp.br/~jmpsouza [email protected]