As the error message says there are some values missing in variable m and hence the reshape does not work. First you should find out why these values are missing (data error, input error?) To proceed anyway, you must delete these values like
But make sure to check what is the underlying cause.
Code:
drop if missing(m)
Comment