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]
st: RE: xtivreg2 invalid variable name r(198); while using first or fe option
From
"Schaffer, Mark E" <[email protected]>
To
<[email protected]>
Subject
st: RE: xtivreg2 invalid variable name r(198); while using first or fe option
Date
Wed, 5 Oct 2011 11:57:32 +0100
Daniel,
A few things...
- You haven't told us which version of -xtivreg2- you're using or (in
this email) which version of Stata.
- You haven't told us what the variable names are. It's hard to comment
on what might be invalid about the variable names without this bit of
information!
- What part of the suggestion at
http://www.stata.com/statalist/archive/2009-12/msg00654.html
is unclear?
Cheers,
Mark
NB: Personally ... I prefer citing archived messages from the Statalist
archive at stata.com instead of 3rd party archivers.
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Daniel Schalling
> Sent: 05 October 2011 11:33
> To: [email protected]
> Subject: st: xtivreg2 invalid variable name r(198); while
> using first or fe option
>
> Hi Statalist,
>
> I used xtivreg2 with different simple syntaxes and got, when
> using specific options, the error message " invalid name r(198);":
> - xtivreg2 depvar [varlist1] (endogvar=iv),fe --> one
> variable of varlist1
> is said to have an " invalid name r(198);"
> - xtivreg2 depvar [varlist1] (endogvar=iv),fe first --> the
> same variable of varlist1 is said to have an " invalid name r(198);"
> - xtivreg2 depvar [varlist1] (endogvar=iv),fd --> estimation works
> - xtivreg2 depvar [varlist1] (endogvar=iv),fd first -->
> depvar is said to have an " invalid name r(198);"
>
> When I'm trying for example
> - xtivreg depvar [varlist1] (endogvar=iv),fe first the
> estimation works.
>
> What is the problem for that and how can it be solved?
>
> I found this topic about that problem:
> http://statalist.1588530.n2.nabble.com/st-Problem-with-xtivreg
> 2-td4180979.ht
> ml
>
> But I'm not sure about how to implement the suggested solution.
>
> Thanks a lot, Daniel.
>
> *
> * 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 a Scottish charity
registered under charity number SC000278.
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
*
* 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/