Page 1 of 1

dummy variable in panel data

Posted: Sat Aug 02, 2014 8:04 pm
by mahan
hi,
i'm using panel data for 3 cross section and 11 years. i use one variable that is fixed for all cross sections but i see near singular matrix!!! why?
and, how i can use dummy variable in model? how i can exclude one year?
thanks for any help

Re: dummy variable in panel data

Posted: Sun Aug 03, 2014 7:26 am
by startz
You can't have cross-section dummies and a variable that is constant within a cross-section.

Use the smpl command to choose years.