Data set 1: HousePrices.csv
The data set includes data from a direct marketer who sells products only via direct mail.The following demonstrates the relationship between salary and the amount spent on products.It also shows a comparison between married and single persons and past purchase volumn history.
dim<-read.csv("c:/DataMining/Data/DirectMarketing.csv")
smoothScatter(dim$Salary,dim$AmountSpent)

hist.mr.tbl=table(His=dim$History,Mr=dim$Married)
hist.mr.tbl
## Mr
## His Married Single
## High 205 50
## Low 52 178
## Medium 112 100
barchart(hist.mr.tbl,horizontal=FALSE,groups=FALSE,xlab="History",col="black")

Data set 3: Gender Discrimination.csv
The data includes gender,experience, and salary of n=208 individuals.The following demonstrates the relationship between experience and salary and then compares gender and salary.
ged<-read.csv("c:/DataMining/Data/GenderDiscrimination.csv")
xyplot(Experience~Salary,ged,col="black")

boxplot(Salary~Gender,data=ged,ylab="Salary",xlab="Gender")

Data set 4: LoanData.csv
The data set lists the outcomes of n= 5611 loans. The following shows the frequency of different crredit grades and a summary of the data set.
lod<-read.csv("c:/DataMining/Data/LoanData.csv")
barchart(lod$Credit.Grade,ylab="Credit Grade",col="black")

summary(lod)
## Status Credit.Grade Amount Age
## Current:5186 HR :1217 Min. : 1000 Min. : 0.000
## Default: 75 E :1129 1st Qu.: 2025 1st Qu.: 2.000
## Late : 350 D : 927 Median : 3001 Median : 4.000
## C : 843 Mean : 4817 Mean : 4.504
## B : 553 3rd Qu.: 6000 3rd Qu.: 7.000
## AA : 451 Max. :25000 Max. :14.000
## (Other): 491
## Borrower.Rate Debt.To.Income.Ratio
## Min. :0.0000 Min. : 0.00
## 1st Qu.:0.1425 1st Qu.: 0.09
## Median :0.1950 Median : 0.16
## Mean :0.1937 Mean : 45.38
## 3rd Qu.:0.2500 3rd Qu.: 0.25
## Max. :0.4975 Max. :51280.07
##
sd(lod$Amount)
## [1] 4436.923
sd(lod$Borrower.Rate)
## [1] 0.06875547
Data set 5: FinancialIndicators.csv