Hi,
I have a simple question. I have an unbalanced panel dataset with monthly prices for each company from 2001 to 2022. I want to create a new variable calculating the monthly return for each company and each month however L lagged operator does not work. it creates a wholly blank column, consisting only of dots. Can you help me?
I have a simple question. I have an unbalanced panel dataset with monthly prices for each company from 2001 to 2022. I want to create a new variable calculating the monthly return for each company and each month however L lagged operator does not work. it creates a wholly blank column, consisting only of dots. Can you help me?
Comment