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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: xtivreg2 query


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: xtivreg2 query
Date   Fri, 23 Mar 2012 00:38:58 -0000

Bonnie,

This is very odd.  Neither -xtivreg2- nor -ivreg28- has an error message that says "option partial() not allowed"; this must be being generated by Stata for some reason.

I don't have a Stata 8.2 around but I tried mimicking your installation with Stata 9.2 and couldn't reproduce it.

Maybe try

set trace on

and then 

xtivreg2 growth5 ef loggroups, fe

This will display the commands that are being executed by -xtivreg2-, line by line.  If you could post the lines just before Stata crashes with the error message, we might be able to work out what is going wrong.

--Mark

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Bonnie Wilson
> Sent: 23 March 2012 00:02
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: xtivreg2 query
> 
> Mark,
> 
> As best I can tell, there's only one xtivreg2 and one ivreg28, no
> ivreg2 and no ivreg29.
> 
> Results from Stata are below...(and I've taken a peak in the 
> directories.  I see the same thing that Stata reports.)
> 
> Thanks for the suggestion.  Any further thoughts would be appreciated.
> 
> Again, here's an example of what's happening:
> 
> tsset country_number yr2
>        panel variable:  country_number, 1 to 173
>         time variable:  yr2, 1 to 3
> 
> . xtivreg2 growth5 ef loggroups, fe
> Warning - singleton groups detected.  2 observation(s) not used.
> option partial() not allowed
> r(198);
> 
> 
> I believe I understand the "warning."  What I don't 
> understand is "option partial() not allowed".
> 
> Bonnie
> 
> 
> . which xtivreg2, all
> 
> c:\ado\plus\x\xtivreg2.ado
> *! xtivreg2 1.0.13 28Aug2011
> *! author mes
> 
> . which ivreg28, all
> 
> c:\ado\plus\i\ivreg28.ado
> *! ivreg28 2.1.22  6July2007
> *! authors cfb & mes
> *! cloned from official ivreg version 5.0.9  19Dec2001 *! see 
> end of file for version comments
> 
> . which ivreg2
> command ivreg2 not found as either built-in or ado-file r(111);
> 
> . which ivreg29
> command ivreg29 not found as either built-in or ado-file r(111);
> 
> 
> On Thu, Mar 22, 2012 at 5:43 PM, Schaffer, Mark E 
> <M.E.Schaffer@hw.ac.uk> wrote:
> > Bonnie,
> >
> > Might you have multiple versions of -xtivreg2- or -ivreg28- 
> lurking on your machine?
> >
> > which xtivreg2, all
> >
> > which ivreg2, all
> >
> > will tell you.
> >
> > Or maybe there is a version of -ivreg29- or -ivreg2- 
> installed?  That would cause problems if you try to run them 
> under Stata 8.2.
> >
> > --Mark
> >
> >> -----Original Message-----
> >> From: owner-statalist@hsphsun2.harvard.edu
> >> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Bonnie 
> >> Wilson
> >> Sent: 22 March 2012 19:38
> >> To: statalist@hsphsun2.harvard.edu
> >> Subject: Re: st: xtivreg2 query
> >>
> >> Sorry...that was a typo on my part.  I am indeed using xtivreg2...
> >>
> >>
> >> On Thu, Mar 22, 2012 at 2:15 PM, Nick Cox <njcoxstata@gmail.com> 
> >> wrote:
> >> > -xtivreg- is an official Stata command. It is nothing to do with
> >> > -ivreg2- or -xtivreg2- or their variants, which are user-written.
> >> >
> >> > Nick
> >> >
> >> > On Thu, Mar 22, 2012 at 7:09 PM, Bonnie Wilson
> >> <wilsonbe@slu.edu> wrote:
> >> >> Thanks for the fwl() option suggestion as well as the
> >> suggestion to
> >> >> upgrade from Kit.
> >> >>
> >> >> Problem is...I'm not using the partial option.  At 
> least, I don't 
> >> >> think I'm using the partial option.
> >> >>
> >> >> For example, I write
> >> >>
> >> >> xtivreg y x1 x2, fe
> >> >>
> >> >> And I get "option partial() not allowed".
> >> >>
> >> >> I have installed ivreg29.  If I try to use the partial 
> option and 
> >> >> write
> >> >>
> >> >> xtivreg y x1 x2, fe partial(x2)
> >> >>
> >> >> ...I still get "option partial() not allowed".
> >> >>
> >> >> Any further thoughts would be much appreciated.
> >> >>
> >> >
> >> > *
> >> > *   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/
> >>
> >>
> >>
> >> --
> >> ************************************************************
> >> Bonnie Wilson
> >> Associate Professor, Department of Economics Saint Louis University
> >> 3674 Lindell Blvd.
> >> St. Louis, MO 63108-3397
> >>
> >> Phone:  (314) 977-3844
> >> Fax:      (314) 977-1478
> >>
> >> https://sites.google.com/a/slu.edu/bonnie_wilson/
> >> ************************************************************
> >>
> >> *
> >> *   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/
> >>
> >
> >
> > --
> > Heriot-Watt University is the Sunday Times Scottish 
> University of the 
> > Year 2011-2012
> >
> > We invite research leaders and ambitious early career 
> researchers to 
> > join us in leading and driving research in key inter-disciplinary 
> > themes. Please see
> >
> > http://www.hw.ac.uk/researchleaders
> >
> > for further information and how to apply.
> >
> > Heriot-Watt University is a Scottish charity registered 
> under charity 
> > number SC000278.
> >
> >
> > *
> > *   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/
> 
> 
> 
> --
> ************************************************************
> Bonnie Wilson
> Associate Professor, Department of Economics Saint Louis University
> 3674 Lindell Blvd.
> St. Louis, MO 63108-3397
> 
> Phone:  (314) 977-3844
> Fax:      (314) 977-1478
> 
> https://sites.google.com/a/slu.edu/bonnie_wilson/
> ************************************************************
> 
> *
> *   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/
> 


-- 
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012

We invite research leaders and ambitious early career
researchers to join us in leading and driving research
in key inter-disciplinary themes. Please see 

http://www.hw.ac.uk/researchleaders

for further information and how to apply.

Heriot-Watt University is a Scottish charity
registered under charity number SC000278.


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