Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Stata 11 Mac crashes


From   Eric Booth <ebooth@ppri.tamu.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Stata 11 Mac crashes
Date   Sun, 5 Dec 2010 19:57:14 +0000

<>

Using the publicly available dataset "sysdsn1" I was able to reproduce the crash Ulrich described using Stata/MP 11.1 for Mac OSX 10.6.5 (64-bit Intel) (Born 10 Nov 2010).


*******!
webuse sysdsn1
mlogit insure c.age i.male i.nonwhite i.site


**THESE WORK:
margins (i.site#i.male#i.nonwhite)#i.site#i.nonwhite, at(age=50)

margins (i.site#i.nonwhite)#i.site#i.male#i.nonwhite, at(age=50)



**THIS CRASHES STATA:
margins i.site#i.male#i.nonwhite#(i.site#i.nonwhite), at(age=50)
*******!

- Eric


__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu
Office: +979.845.6754
Fax: +979.845.0249
http://ppri.tamu.edu

On Dec 5, 2010, at 12:50 PM, Ulrich Atz wrote:

> Hi everyone,
> 
> I can produce a crash with the following command (all dummy variables) after a multinomial logit regression:
> 
> margins i.us#i.highed#i.highrelig#(i.us#i.highrel), at(age=50)
> 
> This one for example works -margins (i.us#i.highed#i.highrelig)#i.us#i.highrel, at(age=50)-, though not as I intend. (The idea was to interact the first three dummies with an interaction term.)
> 
> I know this is very little information and that the syntax may actually be wrong, but I suppose an error would be more appropriate than a crash. I use Stata/IC 11.1 for Mac (64-bit Intel).
> 
> If the statalist is not the right place to report bugs, I apologise.
> 
> Thanks,
> Ulrich
> 
> Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer
> 
> *
> *   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/



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