Hello,
As part of my research, I need to calculate the mean deviation from the median of some variables. I know that we can use the egen function to compute the mean deviation from the mean (mdev) and the median deviation from the median (mad). However, is there an option to compute directly the mean deviation from the median? If not, how can I compute it by hand?
Thank you in advance for your answers.
As part of my research, I need to calculate the mean deviation from the median of some variables. I know that we can use the egen function to compute the mean deviation from the mean (mdev) and the median deviation from the median (mad). However, is there an option to compute directly the mean deviation from the median? If not, how can I compute it by hand?
Thank you in advance for your answers.
Comment