What are the methods for transforming categorical variables

Assignment Help Other Subject
Reference no: EM133672508

Predictive Analytics

Assignment: Building and Evaluating Predictive Models

Objective:
Revise BUS5PA material on predictive modelling
Demonstrate knowledge of data exploration and selection of variables to apply for the predictive models
Demonstrate knowledge of building different types of predictive models using R
Demonstrate knowledge on comparing and evaluating different predictive models
Relate theoretical knowledge of predictive models and best practices to application scenarios

Business Case

A used car online selling company in the USA is in the process of updating their car price assessment method where they want to apply a data driven technique. The trial dataset consists of 25 variables describing 20673 car sales from 2019 to 2020. The management is very keen to apply predictive modelling for this task where the trail data set is to be used to build and evaluate predictive models to ascertain the feasibility of such an approach. The company has outsourced the task to you.

Part A - Problem Formulation

The objective of this section (Part A) is to introduce students to the ‘domain understanding and familiarisation' phase data analysts go through prior to the actual analytics. Since you may have to carry out analytics projects in different domains in the future, where you may not have domain knowledge, it is important to develop this skill.

Carryout an exploratory study to identify the background and relevant aspects of used cars which influence their value (you can research USA and Australia) and methods used for price evaluation and assessment of used cars?
Identify the data sources that would contain information useful for value assessment of used cars. What is the possible format of such information? Will you face any problems in accessing these data?
What variables would be useful to build a predictive model to assess the used cars?

You are expected to prepare a brief report with the answers to the above questions (Maximum 3 pages)

Part B - Data Exploration and Cleaning

Use the provided dataset to answer this section. You are given access to 24 variables that are directly related to used car sales from the above-mentioned dataset. Most of these variables are similar to the type of information that an assessor will use to evaluate and assess the price of a used car (e.g., when was it made? What is the length and width of the car? What type of wheel system? Number of seats?). You need to answer the following questions with evidence and justifications.

a. Which variables are numerical and categorical? Which are ordinal, Nominal, discrete and continuous? Prepare a table similar to below given table

b. What are the methods for transforming categorical variables?
c. Carry out and demonstrate data transformation where necessary. (Show your R script lines related to this in the report as well)

a. Calculate following summary statistics:
mean, median, max, min and standard deviation for each of the numerical variables,
count for each categorical variable.
b. Is there any evidence of extreme values? Provide the relevant diagrams to identify the extreme points and briefly discuss.

Plot histograms for each of the continuous variables. Based on the histogram and summary statistics that you got in 2(a), answer the following and provide brief explanations:
Which variables have the largest variability? Justify the reason.
Which variables seem skewed? Justify the reason.
Are there any values that seem extreme? Justify the reason.

a. Which, if any, of the variables have missing values?
b. What are the methods of handling missing values?
c. Apply the 3 methods of handling missing values and demonstrate the output (summary statistics and transformation plot) for each method in (4-a). (hint: the objective is to identify the impact of using each of the methods you mentioned in 4-a on the summary statistics output above). Which method of handling missing values is most suitable for this data set? Discuss briefly referring to the data set.

a. Evaluate the correlations between the variables.
b. Which variables should be used for dimension reduction and why? Carry out dimensionality reduction.
c. Explore the distribution of selected variables (from step 5-a) against the target variable. Explain.
Part C (50%) - Building predictive models

Building Linear Model
Build a regression model with the selected variables after dimension reduction (part B-5b) and evaluate the model using evaluation metrics.
Carry out further feature selection to build a better linear model.
Justify on the feature selection process. You need to try out at least another 2 linear models to identify the optimal model.
Provide the relevant evaluation metrics/diagrams/tables of each model in your report.
Compare these regression models based on evaluation metrics and provide the formula for each regression model.

Decision Tree Modelling
Build a decision tree with the selected variables after dimension reduction (part B- 5b).
Evaluate the decision tree model and carry out pruning to build a better decision tree model. You need to try out at least 3 decision trees to obtain the optimal tree.
Compare these decision tree models based on evaluation metrics and provide the tree plot for each model and explain the outputs.

Model Comparison
Why do we need to build several models in both regression and decision trees (as requested in Part C question 1 and 2)?
Compare the accuracy of the selected (optimal) linear model and (optimal) decision tree and discuss and justify the most suitable predictive model for the business case.

Reference no: EM133672508

Questions Cloud

Many potential problems can arise with the udhr : Many potential problems can arise with the UDHR. Some of these problems are practical: is the document enforceable?
What are key factors that have made each company successful : Contrast the differences between the interviewees, their companies, and their responses. What are the key factors that have made each company successful?
What impacts you see as consequence of hypothesized solution : What impacts do you see as a consequence of your hypothesized solution? When will you see them? How ill you assess effectiveness of your proposed intervention?
Provide a succinct overview of the projects current status : Provide a succinct overview of project's current status. Highlight any significant achievements, milestones reached or tasks completed since the last update.
What are the methods for transforming categorical variables : What are the methods for transforming categorical variables - Carry out and demonstrate data transformation where necessary. (Show your R script lines related
How evaluate criteria of qualitative data trustworthiness : Describe how you would evaluate the 4 criteria of qualitative data trustworthiness for the dataset-credibility, dependability, confirmability, and transferabili
How each demonstrates the aspect of integrity : Compare / contrast these to one another, including how each demonstrates the aspect of integrity as an aspect of a role model for an organization.
Demonstrate proficiency of advanced concepts : MBIS4002 Database Management Systems, Australian Institute of Higher Education - how a Relational Database Management Sys., tools and techniques
How your company has benefited from porters five forces : Explain how your company has benefited from using Porter's Value Chain. Explain how your company has benefited from Porter's Five Forces.

Reviews

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