Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: fractional polynomial with glm and the cluster option


From   Garry Anderson <[email protected]>
To   [email protected]
Subject   st: fractional polynomial with glm and the cluster option
Date   Fri, 09 Jul 2004 22:23:54 +1000

Hi,

mfp is multivariable fractional polynomial.

I am wishing to do
mfp glm y x , fam(nb #) link(log) cl(cluster)

The message -option cl() not allowed- appears

The mfp command is not allowed with nbreg.

-mfp poisson y x,cl(cluster)- does produce results
-mfp glm y x,fam(poisson)- does produce results
-glm y x,fam(poisson) cl(cluster)- does produce results
-mfp glm y x,fam(poisson) cl(cluster)
produces the message -option cl() not allowed-
Therefore the cluster option with -mfp glm y x,cl(cluster)- is producing the message.
The help file for mfp indicates that
"regression_cmd_options may be any of the options appropriate to regression_cmd."

The same applies to the fracpoly command.

Any ideas would be appreciated as to why the cluster option does not work with -glm-, but does work with -poisson-

Regards, Garry

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index