Build models and investigate the importance of each variable

Assignment Help Other Subject
Reference no: EM133684161

Red wine quality Dataset

The given dataset, "RedWine.txt", is used to model wine quality based on physicochemical tests. The dataset provides the 1,599 red wine samples from the north of Portugal. It is a modified version of the data used in the study [1]. This dataset includes 5 variables, denoted as X1, X2, X3, X4, X5, and Y, described as follows:
X1 - citric acid X2 - chlorides
X3 - total sulfur dioxide X4 - pH
X5 - alcohol
Y - quality (score between 0 and 10)
[1] P. Cortez, A. Cerdeira, F. Almeida, T. Matos and J. Reis. Modeling wine preferences by data mining from physicochemical properties. In Decision Support Systems, Elsevier, 47(4):547-553, 2009.

Assignment Tasks

Understand the data
Import the txt file (RedWine.txt) and save it to your R working directory.
Assign the data to a matrix, e.g. using the.data <- as.matrix(read.table("RedWine.txt "))
The variable of interest is quality (Y). To investigate Y, generate a subset of 500 data, e.g. using:
my.data <- the.data[sample(1:1599,500),c(1:6)]
[The following tasks are based on the 500 sample data]
Using scatter plots and histograms to understand the relationship between each of the variables X1, X2, X3, X4, X5 and the variable of interest Y.

Transform the data
Choose any four from the five variables (X1, X2, ..., X5). Make appropriate transformations to the chosen four variables and the variable of interest Y individually, so that the values can be aggregated in order to predict the variable of interest. Assign your transformed data along with your transformed variable of interest to an array.
[All the following tasks are based on the saved transformed data]

Build models and investigate the importance of each variable
Import AggWaFit718.R file to your working directory and load into the R workspace using, source("AggWaFit718.R")
Evaluating the following fitting functions on the transformed data:
A weighted arithmetic mean (WAM)
Weighted power means (WPM) with P=0.5 and P=2
An ordered weighted averaging function (OWA)

Use your model for prediction
Using your best fitting model based on Q3, predict the wine quality for the input: X1=0.9; X2= 0.65; X3=38; X4=2.53; X5=7.1.
[Apply the same pre-process as Q2 for the new input]

Summarising your data analysis procedures in up to 20 slides for a 5-minutes presentation. The slides should include the following contents:
What kinds of the data distribution you have identified in the raw data.
Explain the transformations applied for the selected four variables and the variable of interest.
Include two tables - one with the error measures and correlation coefficients, and one summarising the weights/parameters and any other useful information learned for your data.
Explain the importance of each of the variables (the four variables that you have selected).
Which fitting function is the best fitting model on your selected data.
Give your prediction result and comment on whether you think it is reasonable.
Discuss the best conditions (in terms of your chosen four variables) under which a higher quality wine will occur.

Comment the implications and the limitations of the fitting model you used for prediction.

The 5-minutes presentation can be using a simple and accessible platform such as YouTube or PowerPoint Audio.

Harvard style for code citation and reference in your R script with comments.

Reference no: EM133684161

Questions Cloud

Briefly describe history of the gap in access to healthcare : Describe a specific gap in delivery of healthcare. Include the specific population affected by gap. Briefly describe history of this gap in access to healthcare
Negligence case involving coca-cola delivery truck : Draft a set of Defendant's First Interrogatories to Plaintiff for a negligence case involving a coca-cola delivery truck
What kinds of the data distribution you have identified : Build models and investigate the importance of each variable and Summarising your data analysis procedures in up to 20 slides for a 5-minutes presentation
Key differences between tort and crime : What are the key differences between a tort and a crime? Identify and discuss a case where a business has faced both tort litigation and criminal liability.
Build models and investigate the importance of each variable : Using aggregation functions for data analysis - Explain the importance of each of the variables (the four variables that you have selected)
Crime scene investigation : As a crime scene investigator, you have been called to investigate a crime scene. Provide two primary responsibilities regarding evidence considerations.
Explore the use of geographic information systems : In this GIS project, you will explore the use of Geographic Information Systems (GIS) in addressing a relevant issue in any field of public administration.
Develop a ppt discussing the each of different components : Develop a PowerPoint presentation discussing the each of the different components of your competency-based training.
Do you think Administrative Procedure Act : Do you think the Administrative Procedure Act is sufficient to make sure that federal agencies comply with Congress' intention in passing a federal law?

Reviews

Write a Review

Other Subject Questions & Answers

  Question regarding the international politics

From the second e-Activity, propose two (2) outcomes that you believe offshore drilling would have on the global usage of non-renewable resources overall. Support your rationale with two (2) specific examples of non-renewable resources likely to b..

  Discuss how the privacy of an employee may be limited

Discuss how the privacy of an employee may be limited by the employer using four examples. Include in your answer a discussion of how employee privacy can vary.

  Identify the serious genre to which it belonged

When discussing your choice of play or film to point out characteristics from that particular piece that helped you to identify the serious genre

  What item from the humans is found

What item from the humans is found in this otherwise nearly untouched region of the ocean - What is your reaction to this

  Explanation of anti-war social movement

An in-depth explanation of the Anti-War Social Movement. Explain using social movement theories.

  How do you give good patient centered care

How do you give good patient centered care? How would you deliver this care on your unit?

  Explain the process and purpose of the five rights

Explain the process and purpose of the Five Rights.What are the various methods of drug administration? Explain why one method may be chosen over another.

  Explain when you would use a spearman and a point-biserial

If there was a perfect relationship between two variables, what would the scatterplot look like? (Use for question two also).

  What environmental factors do think shaped your personality

Describe and reflect on your own personality in a 3-5 page paper. When doing so, include the following points: Relate your personality to at least 3 theories covered in this course. Describe each theory in detail.

  Identify two differential diagnoses

You are seeing a patient with fatigue, pallor, Identify two differential diagnoses and provide the pathophysiology of these two differential diagnoses.

  What contemporary issues seem to involve

What contemporary issues seem to involve a tension between the individual and the community? Identify at least two such issues. Then select one and explain

  What are your thoughts about the given video

But when earnings started to fall short of Wall Street's expectation, he claims the CFOs cooked the books and that he didn't know anything about it. What are your thoughts?

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