Which fitting function is the best fitting model

Assignment Help Other Subject
Reference no: EM133749151

Real World Analytics

Using aggregation functions for data analysis

The provided zip file contains the data file [RedWine.txt] and the R code [AggWaFit718.R] to use with the following tasks, include these in your R working directory. You can use the R script [template.R] to organise your code.

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.

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.

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

Reference no: EM133749151

Questions Cloud

Practical application of play-based learning : Rationale of the practical application of play-based learning with intentionality is justified, drawing on relevant academic readings
Which forecasting techniques do you think should be used : Which forecasting techniques do you think should be used in calculating fuel prices? Time series models? Causal models? Qualitative models?
Intellectual disability client : Intellectual Disability client: follow best practice guidelines when developing strategies to address complex or special needs liaising with the appropriate exp
How interprofessional collaboration work to support quality : When working in a health care setting, how would interprofessional collaboration work to support quality and the improvement of patient outcomes?
Which fitting function is the best fitting model : SIT718 Real World Analytics, What kinds of the data distribution you have identified in the raw data. Explain the transformations applied for the selected
How structured process such as six sigma methodology useful : BUS 307- Describe how structured process such as Six Sigma methodology (Chapter 4) can be useful to identify spending patterns and opportunities for improvement
Techniques for menstruation findings for menstruation : Techniques for menstruation Findings for menstruation Provide privacy as needed Introduce yourself Perform hand hygiene/put on PPE
Ethical issues of AI in healthcare diagnostics : I chose two sources with different views on the ethical issues of AI in healthcare diagnostics. Patil (2024) highlights the benefits of AI,
Discuss the accuracy of the parameter estimates : COMP2025 Introduction to Data, Western Sydney University Comment on the significance of the parameters of the model above (part c). Compare and comment

Reviews

len3749151

8/21/2024 11:57:27 PM

Rstudio assignment Tell the person who is gonna do the assignment to follow all instructions and the template. And for the presentation slides to make sure that he describes everything nicely and script is clear in slides.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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