[Linear Regression] Applying simple and multiple linear regression with R script
How to apply simple linear regression model and interpret results (1) Opening the file heights = read.csv('data/heights.csv') head(heights) ## fat...
How to apply simple linear regression model and interpret results (1) Opening the file heights = read.csv('data/heights.csv') head(heights) ## fat...
How to apply decision tree model and visualizing results (1) Installing ‘rpart’ package install.packages(c('rpart','rpart.plot')) library(rpart) libr...
1. Testing the significance of the correlation coefficient between study hour and score(n=9) (1) Opening the file TWO_CONT = read.csv('data/TWO_CONT.csv'...
Testing the independence of categorical data (1) Opening the file raw = read.csv('data/raw.csv') head(raw) ## PROD AGE ## 1 B AGE20 ## 2 C A...
Testing the difference in means between groups (1) Opening the file team_score = read.csv('data/TEAM_SCORE.csv') team_score ## TEAM SCORE ## 1 ...