Create scatter plots and pairwise correlations

Assignment Help Computer Engineering
Reference no: EM131891099

Assignment

Problem 1 Download the data set onstudent achievement in secondary education math education of two Portuguese schools (use the data set Students Math). Using any packages you wish, complete the following tasks:

• Create scatter plots and pairwise correlations between four continuous variables and the final grade (G3) using the pairs.panels() function in R. Pick the variables you believe are most useful.

• Build a multiple regression model predicting final math grade (G3) using as many features as you like but you must use at least four. Include at least one categorical variables and be sure to properly convert it to dummy codes. Select the features that you believe are useful -- you do not have to include all features.

• Use stepwise backward elimination to remove all non-significant variables and then state the final model as an equation. State the backward elimination measure you applied (p-value, AIC, Adjusted R2). This tutorial shows how to use various feature elimination techniques.

• Calculate the 95% confidence interval for a prediction -- you may choose any data you wish for some new student.

• What is the RMSEfor this model -- use the entire data set for both training and validation. You may find the residuals() function useful. Alternatively, you can inspect the model object, e.g., if your model is in the variable m, then the residuals (errors) are in m$residuals and your predicted values (fitted values) are in m$fitted.values.

Problem 2 For this problem, the following short tutorial might be helpful in interpreting the logistic regression output.

1. Using the same data set as in Problem (1), add another column, PF -- pass-fail. Mark any student whose final grade is less than 10 as F, otherwise as P and then build a dummy code variable for that new column. Use the new dummy variable column as the response variable.

2. Build a binomial logistic regression model classifying a student as passing or failing. Eliminate any non-significant variable using an elimination approach of your choice. Use as many features as you like but you must use at least four -- choose the ones you believe are most useful.

3. State the regression equation.

4. What is the accuracy of your model? Use the entire data set for both training and validation.

Reference no: EM131891099

Questions Cloud

How many shares need to be sold : The SEC filing fee and associated administrative expenses of the offering are $467,000. How many shares need to be sold?
How the findings of the studies reviewed could be implement : Describe how the findings of the studies reviewed could be implemented in your practice area.
What will be the value of the investment : Larry James is planning to invest $25,500 today in a mutual fund that will provide a return of 0.09 each year. What will be the value of the investment in 10
What is the motivation behind the article : What information within the article would you challenge as incomplete, bias or outdated. Why? What is the motivation behind this article?
Create scatter plots and pairwise correlations : Create scatter plots and pairwise correlations between four continuous variables and the final grade (G3) using the pairs.panels() function in R.
What profit do you actually expect : What profit do you actually expect? (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)
Write the five terms of the recursively defined sequence : Write the first five terms of the recursively defined sequence - Writing the terms of a sequence
What is the npv of investment : What is the NPV of this investment? Is it a good opportunity? the NPV of this investment is $__________round to nearest dollar.
Relationship between the risk and the return rate : For default risk. What would be the relationship between the risk and the return rate? Would a government bond be different than a new stock option? Explain

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd