search for: adjustedr2

Displaying 2 results from an estimated 2 matches for "adjustedr2".

2006 Jan 10
2
Obtaining the adjusted r-square given the regression coefficients
...e intercept term too). I have made a function based in the equations of the book "Linear Regression Analisys" (Wiley Series in probability and mathematical statistics), but it doesn't return values between 0 and 1. What is wrong???? The functions is given by: adjustedR2<-function(Y,X,saM) { if(is.matrix(Y)==F) (Y<-as.matrix(Y)) if(is.matrix(X)==F) (X<-as.matrix(X)) if(is.matrix(saM)==F) (saM<-as.matrix(saM)) RX<-rent.matrix(X,1)$Rentabilidade.tipo RY<-rent.matrix(Y,1)$Rentabilidade.tipo r2m<-matrix(0,nrow=ncol(Y),ncol=1) R...
2006 Jan 11
0
Obtaining the adjusted r-square given the regression coef ficients
...out the intercept term too). I have made a function based in the equations of the book "Linear Regression Analisys" (Wiley Series in probability and mathematical statistics), but it doesn't return values between 0 and 1. What is wrong???? The functions is given by: adjustedR2<-function(Y,X,saM) { if(is.matrix(Y)==F) (Y<-as.matrix(Y)) if(is.matrix(X)==F) (X<-as.matrix(X)) if(is.matrix(saM)==F) (saM<-as.matrix(saM)) RX<-rent.matrix(X,1)$Rentabilidade.tipo RY<-rent.matrix(Y,1)$Rentabilidade.tipo r2m<-matrix(0,nrow=ncol(Y),ncol=1)...