churn: Churn data set

Description Usage Format References Examples

Description

The data can be downloaded from IBM Sample Data Sets. Customer churn occurs when customers stop doing business with a company, also known as customer attrition. The data set contains 3333 rows (customers) and 20 columns (features). The "Churn" column is our target which indicate whether customer churned (left the company) or not.

Usage

1
 data( churn ) 

Format

The churn dataset, as a data frame, contains 3333 rows (customers) and 20 columns (variables/features). The 20 variables are:

References

Larose, D. T. and Larose, C. D. (2014). Discovering knowledge in data: an introduction to data mining. John Wiley & Sons.

Examples

1
2
3

Example output

     State      Account.Length    Area.Code     Int.l.Plan VMail.Plan
 WV     : 106   Min.   :  1.0   Min.   :408.0   no :3010   no :2411  
 MN     :  84   1st Qu.: 74.0   1st Qu.:408.0   yes: 323   yes: 922  
 NY     :  83   Median :101.0   Median :415.0                        
 AL     :  80   Mean   :101.1   Mean   :437.2                        
 OH     :  78   3rd Qu.:127.0   3rd Qu.:510.0                        
 OR     :  78   Max.   :243.0   Max.   :510.0                        
 (Other):2824                                                        
 VMail.Message       Day.Mins       Day.Calls       Day.Charge   
 Min.   : 0.000   Min.   :  0.0   Min.   :  0.0   Min.   : 0.00  
 1st Qu.: 0.000   1st Qu.:143.7   1st Qu.: 87.0   1st Qu.:24.43  
 Median : 0.000   Median :179.4   Median :101.0   Median :30.50  
 Mean   : 8.099   Mean   :179.8   Mean   :100.4   Mean   :30.56  
 3rd Qu.:20.000   3rd Qu.:216.4   3rd Qu.:114.0   3rd Qu.:36.79  
 Max.   :51.000   Max.   :350.8   Max.   :165.0   Max.   :59.64  
                                                                 
    Eve.Mins       Eve.Calls       Eve.Charge      Night.Mins   
 Min.   :  0.0   Min.   :  0.0   Min.   : 0.00   Min.   : 23.2  
 1st Qu.:166.6   1st Qu.: 87.0   1st Qu.:14.16   1st Qu.:167.0  
 Median :201.4   Median :100.0   Median :17.12   Median :201.2  
 Mean   :201.0   Mean   :100.1   Mean   :17.08   Mean   :200.9  
 3rd Qu.:235.3   3rd Qu.:114.0   3rd Qu.:20.00   3rd Qu.:235.3  
 Max.   :363.7   Max.   :170.0   Max.   :30.91   Max.   :395.0  
                                                                
  Night.Calls     Night.Charge      Intl.Mins       Intl.Calls    
 Min.   : 33.0   Min.   : 1.040   Min.   : 0.00   Min.   : 0.000  
 1st Qu.: 87.0   1st Qu.: 7.520   1st Qu.: 8.50   1st Qu.: 3.000  
 Median :100.0   Median : 9.050   Median :10.30   Median : 4.000  
 Mean   :100.1   Mean   : 9.039   Mean   :10.24   Mean   : 4.479  
 3rd Qu.:113.0   3rd Qu.:10.590   3rd Qu.:12.10   3rd Qu.: 6.000  
 Max.   :175.0   Max.   :17.770   Max.   :20.00   Max.   :20.000  
                                                                  
  Intl.Charge    CustServ.Calls     Churn.    
 Min.   :0.000   Min.   :0.000   False.:2850  
 1st Qu.:2.300   1st Qu.:1.000   True. : 483  
 Median :2.780   Median :1.000                
 Mean   :2.765   Mean   :1.563                
 3rd Qu.:3.270   3rd Qu.:2.000                
 Max.   :5.400   Max.   :9.000                
                                              

BDgraph documentation built on May 3, 2021, 9:08 a.m.