• add checks for CoxPH (against coefficients and logLik of CoxPH)
  • add weights to CoxPH
  • the ngradient function in Family objects needs to implement arguments (y, f, w), not just (y, f)
  • check for meaningful class of the response for some families