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

st: help with nlogit


From   jaejae@umich.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: help with nlogit
Date   Wed, 26 May 2004 16:27:18 -0400

Hi all,

I am trying to run the nlogit command and having difficulty setting up the
syntax correctly. I have two levels with three possible decisions. Here is
what i have:

Dependent variable:  dichotomous
Y1=dichotomous (and the exact same var as the depvar)
Y2=three options
(Y1 is the first decision, Y2 the second)
3 dummy variables for each of the possible decisions (D1, D2, D3)
Group=the number of cases
Independent variables

so the syntax i used is:
nlogit depvar d1 d2 d3 (y2=ind var) (y1=ind var), group (grp)

i get "outcome does not vary in any group"

Can anyone tell what I've done wrong?

Thanks in advance.

Jae-Jae

*********************
Jae-Jae Spoon
PhD Candidate
Department of Political Science
University of Michigan
www.umich.edu/~jaejae
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index