Hi,

I would like to find out the mean value by dividing the total value per year by number of variables (excluding the variables with missing observations). In my case I have around 500+ variables and wondered if there exist a simple code to obtain this information?

Kind regards,

Jo