Hi, I've built a linear model using multiple linear regression which leads me a R-squared value of 73.58%.
After that, I used this model to predicted some values based on the test data. Now I'm wondering how: 1. can I measure de R-squared value between the predicted(by the model) and real (observed) values.? 2. Measure the RMSE error . Example: suppose my data its below: REAL Predicted 8.22 9.016811 28.24 9.016811 29.69 26.491108 78.02 59.234736 51.29 67.823793 37.55 18.033622 10.82 29.683154 -- Thanks in advance, Giovane [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.