Hi members,

I am trying to run a regression by industry and year. I used the following code but I get no results. Could someone help me improve the code for provide a working code?

Click image for larger version

Name:	regression code.PNG
Views:	1
Size:	15.0 KB
ID:	1581545


The aim is to get the discretionary accruals (residuals) using the modified Jones model

This is an example of my data set and the variables
Click image for larger version

Name:	stata sample.PNG
Views:	1
Size:	63.8 KB
ID:	1581544