Hi there,

 

I need some help with the code in order to de-mean the data for each unit and variable of interest.

It’s a task in my microeconometric lecture. Unfortunately I did not succeed in writing the right loop command.

 

Thanks a lot

Pindar