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]

st: RE: xtivreg2 invalid variable name r(198); while using first or fe option


From   "Daniel Schalling" <daniel.schalling@uni-weimar.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: xtivreg2 invalid variable name r(198); while using first or fe option
Date   Wed, 5 Oct 2011 13:27:55 +0200

Sorry for leaving these questions open.
- I'm using xtivreg2 1.0.13 28Aug2011
- I'm not sure how to "create the L2 variables [my indep variables] as new
variables instead of having xtivreg2 do them"?
- Now about my Variable names:

xtivreg2 depvar [varlist1] (endogvar=iv),fe
==> xtivreg2 TaeglichesWachstum_relativ  GefaelltMir_AngabenDerPage
LandingTab_streng Reiter_Anzahl Veranstaltungen Fotos Videos Links Notizen
Diskussionsforen Fragen AktivitaetenVonFreunden Orte Klicke_GefaelltMir
Promotion Promotion_allgemein Promotion_Fangenerierung Information
Information_zurPage Information_Unternehmen_Produkt
Information_Blog_RSS_Twitter_Akt Information_LinkReiter Informationen_FAQ
Informationen_Newsletter Multimedia Multimedia_AudioPlayer
Multimedia_Downloads ProduktAnwendungen ProduktAnwendungen_TestIndividua
ProduktAnwendungen_Verschicken Recruitment Recruitment_Mitarbeiter Shop
Umfragen FreundeEinladen LeereReiter SonstigeReiter Info_Wörter
Veranstaltungen_zukünftig Veranstaltungen_vergangene Notizen_Anzahl
Diskussionsforen_ThemenAnzahl Fragen_Anzahl Fotostream_Design
Fotostream_NichtDesignt Fotoalben_Anzahl Fotoalben_PageKommentare_Anzahl
Fotos_PageKommentare_Anzahl Backlinks_LinkingRootDomains
Backlinks_TotalLinks Backlinks_PageAuthority Links_vonWebsite
SocialPlugins_LikeButton SocialPlugins_LikeBox SocialPlugins_LoginButton
SocialPlugins_ShareButton
(Relative_Fankommunikationsintens=PagePosts_Anzahl),fe
_Information_Unternehmen_Produkt_m invalid name
r(198);


xtivreg2 depvar [varlist1] (endogvar=iv),fe first  
==> just added the "first" option to the example above
_Information_Unternehmen_Produkt_m invalid name
r(198);


xtivreg2 depvar [varlist1] (endogvar=iv),fd
==> changed "fe" to "fd"
--> estimation works


xtivreg2 depvar [varlist1] (endogvar=iv),fd first
==> changed "fe" to "fd" and added the "first" option
--> D.TaeglichesWachstu invalid name
r(198);


> NB: Personally ... I prefer citing archived messages from the Statalist
archive at stata.com instead of 3rd party archivers.
Sorry for that and thanks for adding the Statalist archive address
http://www.stata.com/statalist/archive/2009-12/msg00654.html


Thank you very much for your help, Mark!
Daniel



-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Schaffer, Mark
E
Gesendet: Mittwoch, 5. Oktober 2011 12:58
An: statalist@hsphsun2.harvard.edu
Betreff: st: RE: xtivreg2 invalid variable name r(198); while using first or
fe option 

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: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Daniel 
> Schalling
> Sent: 05 October 2011 11:33
> To: statalist@hsphsun2.harvard.edu
> 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/


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