The median pay for workers in Rhode Island who've been at their jobs for at least a year lags behind their peers nationwide.