interactions not allowed

i am using a fixed effects model with log of wage as the dependent variable

when i try
xi: xtreg logwage i.d08##c.yrschool exp2 married, i(id) fe

where i.d08##c.yrschool is an interaction term with d08 being a dummy for the year 2008 and yrschool being a continuous variable for years of schooling i get "interactions not allowed" or "no observations."

anyone spot the error here?


I would start by removing the "xi: " prefix which is now several years out of date... assuming you're using Stata 11 or later.