Hi I have 25 samples in my dataset. I have written a multiple regression model and I would like to test it. I would like to train my model on 20 samples and then test it on 5 remaining. However I would like to test the model several times, each time using different 5 samples out of 25 and check how well the model performs each time. As I am new to R, I am not sure how the script should look like. Could you please help me with this ? Thank you
-- View this message in context: http://r.789695.n4.nabble.com/testing-the-multiple-regression-model-tp4657119.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.