Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Firstly I want to mention that this is in fact one question all together. Thank you and please understand I am trying to give you
Firstly I want to mention that this is in fact one question all together. Thank you and please understand I am trying to give you all the information regarding it. Display your R code (or however you ran the calculations) and/or additional calculations that you used for this, thank you.
Question Part A
Question Part B
Now, you want to look at the histogram for the Age variable. Which of the following histograms is the correct one?
Question Part C
Pelican Stores Pelican Stores, a division of National Clothing, is a chain of women's apparel stores operating throughout the country. The chain recently ran a promotion in which discount coupons were sent to customers of other National Clothing stores. Data collected for a sample of 100 in-store credit card transactions at Pelican Stores during one day while the promotion was running are contained in the csv file named PelicanStores.csv. The Proprietary Card method of payment refers to charges made using a National Clothing charge card. Customers who made a purchase using a discount coupon are referred to as promotional customers, and customers who made a purchase but did not use a discount coupon are referred to as regular customers. Because the promotional coupons were not sent to regular Pelican Stores customers, management considers the sales made to people presenting the promotional coupons as sales it would not otherwise make. Of course, Pelican also hopes that the promotional customers will continue to shop at its stores. Most of the variables in the dataset are self-explanatory, but two of the variables require some clarification. Items The total number of items purchased Net Sales The total amount ($) charged to the credit card Pelican's management would like to use this sample data to learn about its customer base and to evaluate the promotion involving discount coupons. RStudio File Edit Code - OR View Tools Help Plots Session Build Debug Profile G o to file/function 08 - Addins PelicanStores.csv Shoppers.csv ABQ 1 Customer, Typeofcustomer, Items, NetSales, Methodof payment, Gender, Maritalstatus, Age 2 1, Regular,1,39.5, Discover, Male, Married, 32 3 2, Promotional, 1,102.4 , Proprietary card, Female, Married, 36 4 3, Regular,1,22.5, Proprietary card, Female, Married, 32 5 4 , Promotional, 5, 100.4 , Proprietary card, Female, Married, 28 6 5, Regular, 2,54,Mastercard, Female, married, 34 7 6, Regular ,1,44.5, Mastercard, Female,Married, 44 tional,2,78Proprietary Card, Female, married, 30 98, Regular,1,22.5, visa, Female, Married, 40 10 9, Promotional, 2,56.52, Proprietary card, Female, married, 46 11 10, Regular, 1,44.5, Proprietary card, Female, married, 36 12 11, Regular, 1,29.5, Proprietary card, Female, married, 48 13 12, Promotional,1,31.6, Proprietary card, Female, Married, 40 14 13, Promotional, 9,160.4,visa, Female,Married, 40 15 14 ,Promotional, 2,64.5,visa, Female,Married, 46 15, Regular,1,49.5, Visa, Male,single, 24 17 16, Promotional, 2,71.4, Proprietary card,male, single, 36 18 17,Promotional,3,94, Proprietary card, Female,single, 22 1918, Regular, 3, 54.5, Discover, Female, Married, 40 20 19, Promotional, 2,38.5, Mastercard, Female, married, 32 21 20, Promotional, 6, 44.8, Proprietary card, Female, married, 56 22 21 , Promotional, 1, 31.6, Proprietary card, Female, single, 28 23 22,Promotional,4,70.82, Proprietary card, Female, married, 38 23, Promotional,7,266, American Express, Female, married, 50 24,Regular,2,74 , Proprietary Card, Female,Married, 42 26 25, Promotional, 2,39.5,visa, Male, Married, 48 27 26, Promotional,1, 30.02, Proprietary card, Female, married, 60 28 27, Regular,1,44.5, Proprietary card, Female, Married, 54 29 28, Promotional, 5,192.8, Proprietary card, Female, single, 42 30 29, Promotional,3,71.2, Proprietary card, Female, Married, 32 31 30, Promotional, 1,18, Proprietary card, Female, married, 70 31, Promotional, 2,63.2, MasterCard, Female, Married, 28 33 32, Regular , 1,75, Proprietary card, Female,Married, 52 34 33, Promotional,3,63.2, Proprietary card, Female, Married, 44 35 34, Regular, 1,40,Proprietary card, Female, Married, 34 36 35, Promotional,5,105.5, Mastercard, Female, married, 56 37 36, Regular,1,29.5, Mastercard,male,single, 36 37, Regular,2,102.5, visa, Female,single, 42 39 38, Promotional, 6, 117.5, Proprietary card, Female, married, 50 39, Promotional,5,13.23, Proprietary card, Female, married, 44 40, Regular, 2,52.5, Proprietary card, Female,Married, 58 42 41, Promotional,13,198.8, Proprietary card, Female, married, 42 43 42, Promotional,4,19.5,visa, Female, Married, 46 44 43, Regular, 2,123.5, Proprietary card, Female, married. 48 45 44 ,Promotional, 1,62.4. Proprietary card, Female, married, 54 46 45, Promotional, 2,23.8, Proprietary card, Female, married, 38 47 46, Promotional, 2, 39. 6, Proprietary Card, Female, Married, 60 48 47, Regular,1,25, Mastercard, Female,Married, 46 49 48, Promotional,3,63. 64 , Proprietary card, Female, Married, 30 50 49, Promotional,1,14.82, Proprietary card, Female, Married, 32 51 50, Promotional,9,145.2, Mastercard, Female, married, 46 52 51 , Promotional, 6,176.62, Proprietary card, Female, Married, 38 53 52, Promotional,5,118.8. Proprietary card,Male, Married, 68 54 53, Regular, 1, 58, Discover, Female,single, 78 55 54, Regular, 2,74, visa, Female,single, 20 56 55, Regular, 2,49.5, Mastercard, Female, Married, 32 57 56, Promotional, 3,141.6, Proprietary card, Female, Married, 38 58 57, Promotional, 6,123.1, Proprietary card, Female, married, 54 5958, Promotional.2.80.4. Proprietary Card, Female, married, 48 60 59, Promotional,4,65. 2, Mastercard, Female, married, 46 61 60, Promotional,4,113, Proprietary card, Female,single, 50 62 61 , Promotional,1,108.8, Proprietary card, Female, Married, 46 63 62, Promotional,3,59.91 , Proprietary Card, Female,single, 30 64 63, Promotional, 5, 53.6, Proprietary card, Female, married, 54 65 64 ,Promotional,1,31.6, Proprietary card, Female, single, 42 66 65, Promotional, 2,49.5, Proprietary card, Female, Married.48 67 66, Promotional, 1,39.6, Proprietary card, Female,Married, 62 68 67, Promotional, 2, 59.5. Proprietary Card, Female,Married, 34 69 68, Promotional, 5, 146.8, Proprietary card, Female, married, 28 70 69, Promotional, 2,47.2, Proprietary card, Male, Married, 46 71 70, Promotional, 8, 95.05, Proprietary card, Female, married, 54 72 71, Promotional, 5, 155.32, Proprietary card, Female, married, 30 73 72, Promotional,4,58, Mastercard, Female, Married, 32 74 73, Regular, 1,69, Proprietary Card, Female,single, 22 75 74 , Promotional, 2,46.5, Proprietary card, Female, Married, 32 76 75, Promotional, 2,45.22, Proprietary card, Female, married, 74 77 76, Promotional,4,84.74 ,Proprietary card, Female, married, 62 78 77, Regular, 2, 39, Proprietary card, Female, Married, 42 7978, Promotional, 4, 111.14 , Proprietary card, Female, Married, 28 80 79, Promotional, 3, 86.8, Proprietary card, Female, Married, 38 81 80, Regular, 2,89, Discover, Female,married, 54 82 81, Promotional, 2,78, Mastercard, Female, Married, 68 83 82 , Promotional, 6,53.2, Proprietary card, Female,single, 30 84 83, Promotional.4,58.5.visa. Female,Married, 36 85 84, Promotional,3,46, Proprietary card, Female, married, 44 86 85, Regular,2,37.5, visa, Female, married, 44 87 86, Promotional,1,20.8, Proprietary card, Female, Married, 62 88 87, Regular ,6,144, Mastercard, Female, single, 48 89 88, Regular, 4, 107, Proprietary card, Female, Married, 36 90 89, Promotional,1,31.6, Proprietary card, Female,single, 20 91 90,Promotional, 6,57.6, Proprietary card, Female, married,42 92 91, Promotional,4,95.2, Proprietary card, Female, married, 54 93 92, Promotional, 1,22.42, Proprietary card, Female, married, 54 94 93, Regular, 5,159.75, Proprietary card, Female, married, 72 95 94 ,Promotional, 17, 229.5, Proprietary card, Female, married, 30 96 95, Regular, 3, 66, American Express, Female, Married, 46 97 96, Regular,1,39.5, Mastercard, Female, married, 44 98 97, Promotional, 9,253 , Proprietary card, Female, married, 30 99 98, Promotional,10,287.59, Proprietary Card, Female, married, 52 100 99, Promotional, 2,47.6, Proprietary Card, Female, married, 30 101 100, Promotional, 1,28.44 ,Proprietary card, Female, married, 44 102 49:58 Console Using the PelicanStores dataset, you first want to create a frequency distribution table for the MethodOfPayment variable. Specifically, you want to calculate the percent frequency (e.g., 4%). Fill in the following values for the frequency distribution: Method of Payment Percent Frequency (use full percent, e.g. 4%) American Express Discover MasterCard Proprietary Card Visa count count count Age Your colleague created following cross-validation table for the type of customers and the net sales. Sales (60, Type of Sales (10, Customer 60] Promotional 32 Sales (110, Sales (160, Sales (210, 160] 210] 260] 110] 21 Regular 19 3 Which observations are correct? The majority of Sales are between $110 and $210 Regular customers seem to have higher Sales numbers The distribution of Sales numbers are almost identical The majority of Promotional customers spend more than $60 Then, create a scatterplot using NetSales as x axis and Items as y Axis. What can you observe from the scatterplot? More than 10 of the 100 customers purchased 10 items or more There is no obvious relationship between the two variables There is a positive trend between the number of items and the net sales: more items per purchase lead to higher NetSales None of the above Pelican Stores Pelican Stores, a division of National Clothing, is a chain of women's apparel stores operating throughout the country. The chain recently ran a promotion in which discount coupons were sent to customers of other National Clothing stores. Data collected for a sample of 100 in-store credit card transactions at Pelican Stores during one day while the promotion was running are contained in the csv file named PelicanStores.csv. The Proprietary Card method of payment refers to charges made using a National Clothing charge card. Customers who made a purchase using a discount coupon are referred to as promotional customers, and customers who made a purchase but did not use a discount coupon are referred to as regular customers. Because the promotional coupons were not sent to regular Pelican Stores customers, management considers the sales made to people presenting the promotional coupons as sales it would not otherwise make. Of course, Pelican also hopes that the promotional customers will continue to shop at its stores. Most of the variables in the dataset are self-explanatory, but two of the variables require some clarification. Items The total number of items purchased Net Sales The total amount ($) charged to the credit card Pelican's management would like to use this sample data to learn about its customer base and to evaluate the promotion involving discount coupons. RStudio File Edit Code - OR View Tools Help Plots Session Build Debug Profile G o to file/function 08 - Addins PelicanStores.csv Shoppers.csv ABQ 1 Customer, Typeofcustomer, Items, NetSales, Methodof payment, Gender, Maritalstatus, Age 2 1, Regular,1,39.5, Discover, Male, Married, 32 3 2, Promotional, 1,102.4 , Proprietary card, Female, Married, 36 4 3, Regular,1,22.5, Proprietary card, Female, Married, 32 5 4 , Promotional, 5, 100.4 , Proprietary card, Female, Married, 28 6 5, Regular, 2,54,Mastercard, Female, married, 34 7 6, Regular ,1,44.5, Mastercard, Female,Married, 44 tional,2,78Proprietary Card, Female, married, 30 98, Regular,1,22.5, visa, Female, Married, 40 10 9, Promotional, 2,56.52, Proprietary card, Female, married, 46 11 10, Regular, 1,44.5, Proprietary card, Female, married, 36 12 11, Regular, 1,29.5, Proprietary card, Female, married, 48 13 12, Promotional,1,31.6, Proprietary card, Female, Married, 40 14 13, Promotional, 9,160.4,visa, Female,Married, 40 15 14 ,Promotional, 2,64.5,visa, Female,Married, 46 15, Regular,1,49.5, Visa, Male,single, 24 17 16, Promotional, 2,71.4, Proprietary card,male, single, 36 18 17,Promotional,3,94, Proprietary card, Female,single, 22 1918, Regular, 3, 54.5, Discover, Female, Married, 40 20 19, Promotional, 2,38.5, Mastercard, Female, married, 32 21 20, Promotional, 6, 44.8, Proprietary card, Female, married, 56 22 21 , Promotional, 1, 31.6, Proprietary card, Female, single, 28 23 22,Promotional,4,70.82, Proprietary card, Female, married, 38 23, Promotional,7,266, American Express, Female, married, 50 24,Regular,2,74 , Proprietary Card, Female,Married, 42 26 25, Promotional, 2,39.5,visa, Male, Married, 48 27 26, Promotional,1, 30.02, Proprietary card, Female, married, 60 28 27, Regular,1,44.5, Proprietary card, Female, Married, 54 29 28, Promotional, 5,192.8, Proprietary card, Female, single, 42 30 29, Promotional,3,71.2, Proprietary card, Female, Married, 32 31 30, Promotional, 1,18, Proprietary card, Female, married, 70 31, Promotional, 2,63.2, MasterCard, Female, Married, 28 33 32, Regular , 1,75, Proprietary card, Female,Married, 52 34 33, Promotional,3,63.2, Proprietary card, Female, Married, 44 35 34, Regular, 1,40,Proprietary card, Female, Married, 34 36 35, Promotional,5,105.5, Mastercard, Female, married, 56 37 36, Regular,1,29.5, Mastercard,male,single, 36 37, Regular,2,102.5, visa, Female,single, 42 39 38, Promotional, 6, 117.5, Proprietary card, Female, married, 50 39, Promotional,5,13.23, Proprietary card, Female, married, 44 40, Regular, 2,52.5, Proprietary card, Female,Married, 58 42 41, Promotional,13,198.8, Proprietary card, Female, married, 42 43 42, Promotional,4,19.5,visa, Female, Married, 46 44 43, Regular, 2,123.5, Proprietary card, Female, married. 48 45 44 ,Promotional, 1,62.4. Proprietary card, Female, married, 54 46 45, Promotional, 2,23.8, Proprietary card, Female, married, 38 47 46, Promotional, 2, 39. 6, Proprietary Card, Female, Married, 60 48 47, Regular,1,25, Mastercard, Female,Married, 46 49 48, Promotional,3,63. 64 , Proprietary card, Female, Married, 30 50 49, Promotional,1,14.82, Proprietary card, Female, Married, 32 51 50, Promotional,9,145.2, Mastercard, Female, married, 46 52 51 , Promotional, 6,176.62, Proprietary card, Female, Married, 38 53 52, Promotional,5,118.8. Proprietary card,Male, Married, 68 54 53, Regular, 1, 58, Discover, Female,single, 78 55 54, Regular, 2,74, visa, Female,single, 20 56 55, Regular, 2,49.5, Mastercard, Female, Married, 32 57 56, Promotional, 3,141.6, Proprietary card, Female, Married, 38 58 57, Promotional, 6,123.1, Proprietary card, Female, married, 54 5958, Promotional.2.80.4. Proprietary Card, Female, married, 48 60 59, Promotional,4,65. 2, Mastercard, Female, married, 46 61 60, Promotional,4,113, Proprietary card, Female,single, 50 62 61 , Promotional,1,108.8, Proprietary card, Female, Married, 46 63 62, Promotional,3,59.91 , Proprietary Card, Female,single, 30 64 63, Promotional, 5, 53.6, Proprietary card, Female, married, 54 65 64 ,Promotional,1,31.6, Proprietary card, Female, single, 42 66 65, Promotional, 2,49.5, Proprietary card, Female, Married.48 67 66, Promotional, 1,39.6, Proprietary card, Female,Married, 62 68 67, Promotional, 2, 59.5. Proprietary Card, Female,Married, 34 69 68, Promotional, 5, 146.8, Proprietary card, Female, married, 28 70 69, Promotional, 2,47.2, Proprietary card, Male, Married, 46 71 70, Promotional, 8, 95.05, Proprietary card, Female, married, 54 72 71, Promotional, 5, 155.32, Proprietary card, Female, married, 30 73 72, Promotional,4,58, Mastercard, Female, Married, 32 74 73, Regular, 1,69, Proprietary Card, Female,single, 22 75 74 , Promotional, 2,46.5, Proprietary card, Female, Married, 32 76 75, Promotional, 2,45.22, Proprietary card, Female, married, 74 77 76, Promotional,4,84.74 ,Proprietary card, Female, married, 62 78 77, Regular, 2, 39, Proprietary card, Female, Married, 42 7978, Promotional, 4, 111.14 , Proprietary card, Female, Married, 28 80 79, Promotional, 3, 86.8, Proprietary card, Female, Married, 38 81 80, Regular, 2,89, Discover, Female,married, 54 82 81, Promotional, 2,78, Mastercard, Female, Married, 68 83 82 , Promotional, 6,53.2, Proprietary card, Female,single, 30 84 83, Promotional.4,58.5.visa. Female,Married, 36 85 84, Promotional,3,46, Proprietary card, Female, married, 44 86 85, Regular,2,37.5, visa, Female, married, 44 87 86, Promotional,1,20.8, Proprietary card, Female, Married, 62 88 87, Regular ,6,144, Mastercard, Female, single, 48 89 88, Regular, 4, 107, Proprietary card, Female, Married, 36 90 89, Promotional,1,31.6, Proprietary card, Female,single, 20 91 90,Promotional, 6,57.6, Proprietary card, Female, married,42 92 91, Promotional,4,95.2, Proprietary card, Female, married, 54 93 92, Promotional, 1,22.42, Proprietary card, Female, married, 54 94 93, Regular, 5,159.75, Proprietary card, Female, married, 72 95 94 ,Promotional, 17, 229.5, Proprietary card, Female, married, 30 96 95, Regular, 3, 66, American Express, Female, Married, 46 97 96, Regular,1,39.5, Mastercard, Female, married, 44 98 97, Promotional, 9,253 , Proprietary card, Female, married, 30 99 98, Promotional,10,287.59, Proprietary Card, Female, married, 52 100 99, Promotional, 2,47.6, Proprietary Card, Female, married, 30 101 100, Promotional, 1,28.44 ,Proprietary card, Female, married, 44 102 49:58 Console Using the PelicanStores dataset, you first want to create a frequency distribution table for the MethodOfPayment variable. Specifically, you want to calculate the percent frequency (e.g., 4%). Fill in the following values for the frequency distribution: Method of Payment Percent Frequency (use full percent, e.g. 4%) American Express Discover MasterCard Proprietary Card Visa count count count Age Your colleague created following cross-validation table for the type of customers and the net sales. Sales (60, Type of Sales (10, Customer 60] Promotional 32 Sales (110, Sales (160, Sales (210, 160] 210] 260] 110] 21 Regular 19 3 Which observations are correct? The majority of Sales are between $110 and $210 Regular customers seem to have higher Sales numbers The distribution of Sales numbers are almost identical The majority of Promotional customers spend more than $60 Then, create a scatterplot using NetSales as x axis and Items as y Axis. What can you observe from the scatterplot? More than 10 of the 100 customers purchased 10 items or more There is no obvious relationship between the two variables There is a positive trend between the number of items and the net sales: more items per purchase lead to higher NetSales None of the aboveStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started