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: 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: RE: xtivreg2 invalid variable name r(198); while using first or fe option
Date   Wed, 5 Oct 2011 15:35:07 +0200

I checked all variable names with di length() and shortened all to a max of
27 characters. I assume that stata is adding some characters to the variable
names during the estimation and this wasn't possible for the ones which had
already a length of 32. But xtivreg2 still doesn't work .

xtivreg2 depvar [varlist1] (endogvar=iv),fe ==>
xtivreg2 TaeglichesWachst_relat GefaelltMir_AngabenPage LandingTab_streng
Reiter_Anzahl Pinnwand Info Veranstaltungen Fotos Videos Links Notizen
Diskussionsforen Rezensionen Fragen Discografie AktivitaetenVonFreunden Orte
Klicke_GefaelltMir Promotion Promotion_allgemein Promotion_Fangenerierung
Information Information_zurPage  Information_Untern_Prod
Information_BlogRSSTwittAkt Information_LinkReiter Informationen_FAQ
Informationen_Newsletter Multimedia Multimedia_AudioPlayer
Multimedia_Downloads Spiele Spiele_AppsInFacebook Spiele_Extern
ProduktAnwendungen  ProduktAnwendungen_ProdProfil  ProduktAnwend_TestIndivid
ProduktAnwend_Verschicken Recruitment Recruitment_Produkttester
Recruitment_Mitarbeiter Shop Umfragen FreundeEinladen LeereReiter
SonstigeReiter Info_Wörter  Veranstaltungen_zukünftig
Veranstaltungen_vergangene Notizen_Anzahl  Diskussionen_ThemenAnzahl
Rezensionen_Anzahl Fragen_Anzahl Discografie_AlbenAnzahl Fotostream_Design
Fotostream_NichtDesignt Fotoalben_Anzahl  Fotos_Anzahl
Fotoalben_PageKomment_Anz  Fotos_PageKomment_Anz  Videos_Anzahl
Videos_PageKomment_Anz Backlinks_LinkRootDomains Backlinks_TotalLinks
Backlinks_PageAuthority Links_vonWebsite SocialPlugins_LikeButton
SocialPlugins_LikeBox SocialPlugins_LoginButton SocialPlugins_Registration
SocialPlugins_ActivityFeed  SocialPlugins_Recomm SocialPlugins_Facepile
SocialPlugins_LiveStream SocialPlugins_ShareButton
(Rel_FanKommInt=PagePosts_Anzahl),fe
--> too few variables specified r(102);


xtivreg2 depvar [varlist1] (endogvar=iv),fe first
--> the same error message
--> too few variables specified r(102);


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

xtivreg2 depvar [varlist1] (endogvar=iv),fd first
--> D.TaeglichesWachst_ invalid name r(198);
--> but there isn't any variable with this name " D.TaeglichesWachst_", just
the depvar " TaeglichesWachst_relat"


Daniel.



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

The first one is nothing to do with -xtivreg2-. 

. di length("_Information_Unternehmen_Produkt_m")
34

That is an invalid variable name in any version of Stata. The upper limit is
32 characters. I guess you typed it wrongly. 

Nick 
n.j.cox@durham.ac.uk 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Daniel Schalling
Sent: 05 October 2011 12:28
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: xtivreg2 invalid variable name r(198); while using first or
fe option

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);


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