Homework:
Please complete this homework by filling the template provided on Canvas. Any submission which is not R will not be accepted. The code will need to properly run without any error
Exercise 1 - LR and Out of Sample Prediction
We generate 99 independent variables uniformly distributed between -100 and 100 of size 500 observations each. (see code below) We also generate the dependent variable y = 3 + 10*V99, where V99 is the last covariate and add some noise (see code below).
1. Construct 3 models: one linear model with no variables, one with all the variables and one with only the variable V99
2. Compute the MSE of each model
Exercise 2 Cross Validation
We are interested in predicting the quality of wines using chemical indicators. To do so, we have a disposal two data sets for white and red wine, reporting the variable quality on a scale from 0 to 10.
1. find the file read wine
2. Find three models you might think are meaningful for the prediction with different number of variables
3. Compute the in-sample mean squared
4. Compute the out-of-sample mean squared error using a test-training set approach (remember to set the seeds)
5. (challenging) Compute the out-of-sample mean squared error using 10-folds cross validation
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme