Data mining hw | Computer Science homework help

Category: Computer Science


Problem 4: Statistical Description of Multivariate Data for a Real-World Dataset [40 points]

To complete this task you have to use the file. This file contains data collected from credit card applications. All attribute names and values have been changed to meaningless symbols to protect the confidentiality of the data. The dataset is downloaded from the UCI Machine Learning Repository (

This dataset is interesting because there is a good mix of attributes — continuous, nominal with small numbers of values, and nominal with larger numbers of values. There are also a few missing values. Read the data in R using the following command.

data <- read.table(“path/”, sep = “,”);

Here, replace the path with the path of the file in your computer. After loading the data in R you can access each column using data[ , 1], data[ , 2], … , data[ , 15]. All the data will be in character format when you load it from you will have to convert the numeric columns from character to numeric using the as.numeric() function as follows. You can view the data using view(data) command. 

attribute1 <- as.numeric(data[ , 2])

For missing values, NAs will be introduced by coercion. 

There are 16 columns in the data the first 15 columns are the attributes of the data and the 16th column is the label of the data. You have to only analyze the attributes of the data. 

  1. Find which      attributes are the nominal attributes and which are continuous attributes.      
  2. Identify the      attribute/attributes with missing values (having NA). Drop the attributes      with missing values from the data.
  3. Calculate      the central tendency of the rest of the attributes. Remember for the      nominal attribute you can only calculate the mode.
  4. Calculate      the five-number summary of the numeric attributes.
  5. Show box      plots for the numeric attributes and identify the attributes having      outliers.
  6. Show      pairwise scatter plots of the numeric attributes. Inspect the scatter      plots and mention if each pair’s attributes are negatively correlated,      positively correlated or there is no correlation. 

*Do not forget to label the axes of the plots.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
Pay Someone To Write Essay