Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

> Age_num Marital_status Stay_In_Current_City_Years summary (data_purchase_behaviour [1 , 3:8]) ## summary of variables without x and user id. Gender City_Category Stay_In_Current_City_Years Marital_Status Age_num Length:1 Length:1

image text in transcribedimage text in transcribedimage text in transcribed
> Age_num Marital_status Stay_In_Current_City_Years summary (data_purchase_behaviour [1 , 3:8]) ## summary of variables without x and user id. Gender City_Category Stay_In_Current_City_Years Marital_Status Age_num Length:1 Length:1 Min. :4 Min. :0 Min. :30 class : character class : character 1st Qu. :4 1st Qu. :0 1st Qu. : 30 Mode : character Mode : character Median :4 Median :0 Median : 30 Mean :4 Mean :0 Mean : 30 3rd Qu. :4 3rd Qu. :0 3rd Qu. : 30 Max. :4 Max. :0 Max. : 30 purchase Min. : 3169 1st Qu. : 3169 Median : 3169 Mean : 3169 3rd Qu. : 3169 Max. : 3169 > summary (data_purchase_behaviour) ## summary of our data set X User_ID Gender City_category Stay_In_Current_City_Years Min. 1 Min. : 1000001 Length: 159000 Length: 159000 Min. : 0. 000 1st Qu. :138015 1st Qu. :1001523 class : character Class : character 1st Qu. :1. 000 Median : 275193 Median :1003084 Mode : character Mode : character Median :2.000 Mean : 274922 Mean :1003033 Mean :1. 856 3rd Qu. :411655 3rd Qu. :1004482 3rd Qu. : 3. 000 Max. : 550068 Max. : 1006040 Max. :4.000 Marital_Status Age_num purchase Min. :0. 000 Min. : 10. 00 Min. 12 1st Qu. : 0. 000 1st Qu. :27. 00 1st Qu. : 5828 Median :0. 000 Median :33.00 Median : 8044 Mean :0. 411 Mean : 34. 81 Mean : 9270 3rd Qu. :1. 000 3rd Qu. :42. 00 3rd Qu. :12059 Max. :1. 000 Max. :75. 00 Max. : 23961 > boxplot (Age_num, main="Boxplot of Age_num ", xlab="Age_num") > hist (Stay_In_Current_City_Years) > table (Marital_status) ## data for married and unmarried Marital_Status 0 93654 65346\fFrequency O 10000 20000 30000 40000 50000 Histogram of Stay_In_Current_City_Years 2 Stay_In_Current_City_Years 4

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

Recommended Textbook for

Mathematics for Economics and Business

Authors: Ian Jacques

9th edition

129219166X, 9781292191706 , 978-1292191669

More Books

Students also viewed these Mathematics questions