Serdal, You still don't want explicit dummy variables. You have instead indicated that you need two factors, one for industryGroup, and one for industry nested within industryGroup.
The model you suggested lnQ~lnC+lnM+lnL+lnE+eco_inno+inno+(sum)ind_3d will be easier to read and interpret as lnQ ~ industryGroup / industry Rich [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.