Related Questions
- I Need To Hire Someone To Take The Alteryx Core Certification Exam For Me
- Sql Questions
- Matlab Project
- I Am Needing Tutoring In Assembly Language
- What Is Php And How Do I Use It?
- Pendulum And Second-Order Ode
- Matlab Stability State / Space
- Matlab Stability State / Space
- This Is A Lab For My Intro To Gis Class.
- `Required To Create A Code That Determines If Multiple Race Vehicles Meet The Regulations Of A Race.
- Vacation Recommender Matlab Program
- You Should Select A Real Gis Topic Project And Try To Address The Issue By Applying Gis Approaches
- Matlab 3 For Differential Equations
- My Deliv C Need To Do Lcfs. I Did Dfs Eventually It Worked. But It Is Not What He Want. He Wants Lcfs
- Stata Replication Of Table 3 And 4 Homework
Popular Services
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework for me
- Do my math homework for me
- Online Assignment Help
- Do my assignment for me
- Essay Writing Help
- Write my college essay
- Write my essay for me
Post your project now for free and watch professional homework help experts outbid each other in just a few minutes.
R Coding Homework, Numbers One Through Four
Asked
Modified
Viewed
9
Code to answer these questions and comments that explain what is being done. Do not need the last 2 questions answered. Does not require any textbooks, the data is provided on the attached sheet. Numbers (1-4). I think this assignment is fairly easy for someone that knows R since this is an introductory course.
This order does not have tags, yet.
Additional Instructions
Homework #3 [15 pts]
Due date: 03/07 at 10:00am
** You are required to submit an error-free, fully commented R code
Q1. While running an experiment about wafer manufacturing, you collected the following data:
Inputs Output
Observation # Furnace setting Temperature setting
Layer
Thickness
1 -1.056 -1 1004
2 1.120 -1 1636
3 -1.045 0.667 852
4 0.952 0.667 1506
5 0.993 -0.167 1555
Write an R code to do the following:
(1) [5 pts] Perform a Leave one out cross validation (LOOCV) using the linear regression model with two
input variables and kNN (k = 2) with two input variables. Report your final LOOCV mean squared error.
(2) [2 pts] Now, using the “best” model, re-train using all the data. Report the estimated values of the model
parameters.
(3) [2 pts] Use the best model to predict at (furnace setting, temperature setting) = (1,1). Report the final value
of the prediction.
(4) [4 pts] Train a new model using all the data. The model is a quadratic polynomial regression of the
following form:
Layer thickness = beta0 + beta1*furnace setting + beta2*temperature + beta3*temperature^2
Report the estimated values of the model parameters. Also, what is your prediction for this model at
(furnace setting, temperature setting) = (1,1)?
(5) [1 pts] In 1-2 sentence, why do you think Leave one out cross validation is a suitable validation approach
for this experiment?
(6) [1 pts] In 1-2 sentences, what is your comment on the performance of the kNN regression model in the
first question.
Answers
0No answers posted
Post your Answer - free or at a fee
Login to your account tutor account to post an answer
Posting a free answer earns you +20 points.
LoginTo get help with a similar task to R Coding Homework, Numbers One Through Four, Ask for R Assignment Help online.