linear regressoin

  1. M

    How to do weighted ridge regression in R?

    How can we do weighted ridge regression in R? In MASS package in R, I can do weighted linear regression by passing a weight parameter to `lm`. It can be seen that the model with weights is different from the one without weights. # with weights > model = lm( y ~ X - 1, weights = w)...
  2. J

    confidence interval that violates physical boundaries

    :wave::wave::wave: Hi, Colleagues, A model is supposed to predict a value that represents proportion, namely, the predicted value should be in [0,1]. However, model is just a linear regression, producing confidence intervals violating the boundaries of [0,1]. Of course it is not an adequate...