Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The organics data set contains 13 variables and over 22,000 observations. The variables in the data set are shown below with the appropriate roles and

The organics data set contains 13 variables and over 22,000 observations. The variables in the data set are shown below with the appropriate roles and levels:

Name

ID

DemAffl

DemAge

DemCluster

DemClusterGroup

DemGender

DemRegion

DemTVReg

PromClass

PromSpend

PromTime

TargetBuy

TargetAmt

Model Role

ID Input Input Rejected Input Input Input Input Input Input Input Target Rejected

Data Type

Categoric Numeric Numeric Categoric Categoric Categoric Categoric Categoric Categoric Numeric Numeric Numeric Numeric

Although two target variables are listed,

Description

Customer loyalty identification number Affluence grade on a scale from 1 to 30 Age, in years Type of residential neighborhood Neighborhood group

M = male, F = female, U = unknown Geographic region Television region Loyalty status: tin, silver, gold, or platinum Total amount spent

Time as loyalty card member Organics purchased? 1 = Yes, 0 = No Number of organic products purchased

these exercises concentrate on the binary target

Examine the distribution of the target variable: (1) plot a bar chart to show the number of observations in each category, and (2) plot a bar chart to show the frequency of observations in each

variable TargetBuy.category. Copy the code used and the resulting plots below. How many individuals purchased organic products? What is the approximate proportion of individuals who purchased organic products?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions