Set of mini R problems that focuses statsitical methods and regression analysis.
🍩 Delicious treats with plot3d
📈 Regression models and all the goodies
🐧 Clusters with penguin dataset
- Test with mutiple dataset and use
plot3d()
to build the dessert - Use covariance matrix
diag()
in the context of linear algebra in generating data. - Use MASS package
mvnorm()
to generate multivariate normal distribution points to form the "cloud". - View the project here ✔
- Examine the predictor and response variables by building a linear regression model using
lm()
andplot()
. - Check influential and leverage points with
rstandard()
,lm.influence()
, andcook.distance()
. - Build a standard deviation table using dplyr and Scale-Location model to check for variance changes.
- Transform the data to further improve the model and build a prediction table using
predict.lm()
. - Explain the results in
confint()
,summary()
,anova()
and diagnostic plots. - View the project here ✔
- Editing...
- Editing...
- Using KNN as an alternative approach to simple linear regression.
- Predict result by choosing differnet K values.
- Write a loop to run KNN method on every observation.
- View the KNN statistic model here ✔
- Using KNN in machine learning to predict flow patterns.
- Hyperparameter tuning the model.
- View the KNN ML model here ✔