Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: xtlogitrum


From   ragnhifj@econ.uio.no
To   statalist@hsphsun2.harvard.edu
Subject   st: xtlogitrum
Date   Thu, 8 Oct 2009 11:32:04 +0200

Dear Statalisters,

I am having trouble with running the commando nlogitrum. I run the
following syntax;

global a1 "male doc_age doc_age2 child0_18 doc_child married spouse_doc
male_child male_age aut_year reform"

global b5 " gp psychiatry surgery2 surgery3 gen_med2 gen_med3 oto_rhino
ophtalmology lab_med other paedriatrics obgyn anae"

global a1b5 "$a1 $b5"

nlogitgen type=moon_group(hospital:1|2, non_hosptial:3|4)
nlogittree moon_group type

nlogitrum chosen $a1b5, group(idnr) nests (moon_group type)
nlogitrum chosen $a1b5, group(idnr) nests (moon_group type) ivc(hospital=1
non_hospital=1)


I get the message "no independent variables". Does enyone know what I
shold to to modyfy the Syntax?

Regards Ragnhild


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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