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

  Discuss the concept of an intermodal company

T0317 After reading further background material on the concept of an intermodal company and relevant case studies on related companies, prepare a 2500 word.

  What are the consequences for velutha

What secrets are formed around Ammu's relationship with Velutha? How is their relationship characterized by Baby Kochamma? Why does she do this?

  Determine a suitable research goal

Discuss what type of sampling could be used for this study. Identify which types of research designs above (from Part I) would be most appropriate to use. State your hypothesis of the expected results for this proposed study.

  Define reasons that abstinence from sex should be encouraged

The Developing Person addresses homosexual youth. Review the article by Mark Yarhouse posted above on the three-tier distinction between same-sex attraction, homosexual orientation, and gay identity.

  Write about how big data is used in healthcare services

Research and write about "How big data is used in healthcare services" include image and hyperlinks and APA references/ citation texts.

  Create something using your selected technology tool

Create something using your selected technology tool. Describe one thing that was easy for you and one thing that was challenging as you used the tool.

  The organizational management theoretical perspective

Discuss/debate with your classmates the organizational management theoretical perspective you favor and why.

  Discuss about evidence of comparisons and contrasts

Ensuring the integrity of data and information in the health record is critical to the value of the use of the record for patient care as well as use.

  What ways did iso affect the standards for network security

What do you think were the critical factors that fueled the need for IT governance? In what ways did ISO affect the standards for network security?

  Describe the principle of equifinality

PSY 408 San Diego State University-QUESTION: Describe the principle of equifinality as it relates to considering psychological disorders from a life-span develo

  What characteristics does your business possess

Marketing Plan - What value does your organization provide to customers that no one else can and How do you want to be perceived in the marketplace

  Suggest two scenarios that depict the potential effect

Suggest two scenarios that depict the potential effect(s) of a large deductible on price elasticity for health services.

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