multiple predictors



Hello,

can anyone provide me with a formula to compute the var of the
residuals in a multiple regression with 3 (uncorrelated) predictors
based on the mean and sd of the predictors, total R^2 and given the
unstandardized regression weights?

For a single predictor this is straightforward (see R syntax below) but
I am obviously doing something wrong when extending it to multiple
predictors - despite the fact that the condition of no
multicollinearity should make it quite easy...

Thank you very much!!!

Manuel


### For a single predictor
b1 <- 3 # fixed reg coefficient
R2 <- 0.6 # squared multiple R
m1 <- 20 # mean predictor
sd1 <- 17 # sd predictor
N <- 1000

x1 <- rnorm(N, m1, sd1)
sdy <- b1/sqrt(R2)*sd1
e <- rnorm(N,0,sdy*sqrt(1-R2))
Y <- b1*x1 + e

a <- lm(Y ~ x1) # check
summary(a)

.



Relevant Pages

  • Re: Expected Value of R^2 for Fixed Regressors
    ... When regressors are random in a multiple regression ... number of predictors, ... The mean of a noncentral beta is a Poisson mixture of the means of central betas, where the first of the two degrees of freedom follows an arithmetic progression. ...
    (sci.stat.math)
  • Re: Questions about square errors
    ... I feel that the least mean square error may not sufficient to tell us how ... In my mind, if I can normalize this error distribution curve, I ... In multiple regression, those are called residuals. ... Your model may have several unnecessary predictors. ...
    (sci.stat.math)
  • Re: Minimisation of s.e. Bs in Multiple Regression
    ... Multiple Regression and I would be grateful to receive your comments ... minimise the collinearity among predictors ... minimise the RMSE ... or data collection effort. ...
    (sci.stat.math)
  • Re: Questions about square errors
    ... My question is if it is OK that I plot all 800 square errors to get their ... In multiple regression, those are called residuals. ... Your model may have several unnecessary predictors. ... model for predicting future outcomes. ...
    (sci.stat.math)
  • multiple predictors
    ... residuals in a multiple regression with 3 predictors ... For a single predictor this is straightforward but ...
    (sci.stat.math)