Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: independent variables not showing up in model results


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: independent variables not showing up in model results
Date   Tue, 6 Aug 2013 10:16:41 +0200

On Mon, Aug 5, 2013 at 11:46 PM, Caroline Wilson wrote:
> I ran the below code and the output only shows the variables include in $PatChar2 - none of the variables included in $PhysChar appeared in the model results. The model ran successfully and I didn't get any error messages.
>
> mi estimate: xtlogit pt_dx_hyp_that_day $PatChar2 $PhysChar, i(Patient_Key) quad(30) or

Sounds like the global macro $PhysChar is empty. Either you did not
define it, or you accidentally dropped it, or there was a typo when
you defined that macro (e.g. global PysChar "..." or global Physchar 0
"...", or ...). You can check what is stored in the globar that by
typing

di "|$PhysChar|"

if it is empty it will return
||

if it is not empty it will return
|<content of the macro>|

-- Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index