Dear all,
I am running the following code:
. xtset id year
. xi: xtivreg2 `t' (`z'=instrument_p) i.year i.ccode if drop10_ncidef`y'!=1 & `x'==1 & `s'==1 , fe first cluster (ccode)
panel variable: id (unbalanced)
time variable: year, 2006 to 2015, but with gaps
delta: 1 unit
i.year _Iyear_2006-2015 (naturally coded; _Iyear_2006 omitted)
i.il_kodu _Iil_kodu_1-81 (naturally coded; _Iil_kodu_1 omitted)
Warning - singleton groups detected. 19125 observation(s) not used.
However the warning tells that covariance matrix is not of full rank, possibly resulting from singletons. Therefore, I want to locate all singletons and I am wondering whther there is any way to locate those 19125 variables in my sample. I have tried to use e(sample) as suggested in previous postings but it did not help me to find out /locate singletons.
Many thanks
Nazlı
Related Posts with xtivreg2 warning that covariance matrix is not of full rank. Detecting singletons?
Help to convert from SAS program to Stata programHi everyone, For my paper, I need to convert a SAS program to Stata program. However, I don't know …
Creating peer group based on a score with an if conditions, and calculate the mean.Hi, I am currently working on a panel dataset (15 EU countries for 15 years) that comprises of appr…
number of cuts- ologithello to all I want to categorized a data sample based on the income into categories such as " low c…
DID problem with 2 pre treatment periodsDear Statalist, I'm running a fixed effects diff. in diff. I have data on 1,000 firms for 3 years w…
Panel Data Conditional DifferenceI have a panel dataset. I want to calculate the difference in value for a particular varlist on the …
Subscribe to:
Post Comments (Atom)
0 Response to xtivreg2 warning that covariance matrix is not of full rank. Detecting singletons?
Post a Comment