Similar to what `ncvfit()` does in **ncvreg**.
Similar to what
ncvfit()does in ncvreg.