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

st: help: mlogit and outreg


From   "Lim, Nelson" <nlim@rand.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: help: mlogit and outreg
Date   Thu, 2 Sep 2004 13:49:52 -0700

I don't know what I am doing wrong. Outreg won't work with me. My
dependent variable is int.

.. describe gpa

              storage  display     value
variable name   type   format      label      variable label
------------------------------------------------------------------------
-------
gpa             int    %12.0g      gpa_label
                                              group(gpamis gpa5 gpa4
gpa3
                                                gpa2 gpa1)

.. tab1 gpa

-> tabulation of gpa

group(gpamis |
   gpa5 gpa4 |
   gpa3 gpa2 |
       gpa1) |      Freq.     Percent        Cum.
-------------+-----------------------------------
1st quintile |      2,002       18.54       18.54
2nd quintile |      1,756       16.26       34.80
3rd quintile |      1,468       13.59       48.39
4th quintile |      3,532       32.71       81.10
5th quintile |      2,041       18.90      100.00
-------------+-----------------------------------
       Total |     10,799      100.00



.. xi: mlogit gpa i.race_n i.sex_n i.college_major_n i.college_quality
i.yorotc i.scholarship_types_n i.branch

.. outreg using test
outreg only accepts integer-valued dependent variables for mlogit
r(7);




*
*   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