Week 1 Analysis
Week 1 Analysis
1. The ad-click events are listed in the file ad-clicks.csv. Each advertisement that is 3. Let’s say electronics generates $0.75, and the other types of advertisements generate $0.40. What is the total
clicked on by a user generates $0.50 of revenue. What is the total amount of revenue amount of revenue?
generated by the ad-click events?
adCategory AdsRevenueExceptional Min of revenueXitem Ads
8.16K AdsRevenue
computers
games
clothing
1,055.20
1,040.40
936.00
0.40
0.40
0.40
2638
2601
2340
sports 829.60 0.40 2074
2. How many different categories of advertisements are there? fashion 690.80 0.40 1727
movies 676.80 0.40 1692
AdsRevenue by adCategory
hardware 635.20 0.40 1588
computers 1319 electronics 822.75 0.75 1097
games 1301 automotive 226.40 0.40 566
clothing 1170
Total 6,913.15 0.40 16323
adCategory
sports 1037
fashion 864
5. How many distinct items can be purchased? 6. How much does the most expensive item cost?
movies 846
6
hardware 794
electronics
automotive
0
283
500
549
1,000
Count of buyId
20.00
Max of price
AdsRevenue 7. What is the buyId of the item that is purchased the most?
4. The file buy-clicks.csv lists the in-app purchases and the price of each purchase. When buyId by buyId
a user purchases an item, the company gets 2% of the price. How much revenue does the
company make from the purchases in buy-clicks.csv? 2 5 0 4 1
428.14
companyProfit2%
425
3