panelutil: median handles nulls (as missing values)