Professional Documents
Culture Documents
Assignment Answer
Assignment Answer
0 2 4
1
0
1
1
Occurrence of customer Calculated paramecalculated parameter (2)
3 1 0.333333333333333
1 1 1
2 1 0.5
3 0.5 0.333333333333333
2 1 0.5
3 0.5 0.333333333333333
3 1 0.333333333333333
3 0.5 0.333333333333333
1 1 1
3 0.5 0.333333333333333
3 0.5 0.333333333333333
3 0.5 0.333333333333333
3 1 0.333333333333333
# active
# heavy customers in the month customers in the # dormant customers in the month
month
Please build the logic & calcuate the following :
1. Number of new users/ repeat users in each month
2. Number of new users/ repeat users in lifetime
3. Number of heavy customers
4. Number of active customers
6. Number Dormant customers
Definitions :
1. New user in the month : Customer who has ordered at least once in that month
2. Repeat user in the month : Customer who has ordered more than once in that month
3. New user in lifetime : Unique customer in overall database
4. Repeat user in lifetime : Customer who has ordered more than once in lifetime
5. Heavy customer : Customer who has ordered more than once in last 90 days
6. Active customer : Customer who has ordered at least once in last 90 days
7. Dormant customer : Customer who has not ordered in last 90 day
3
e in that month
4 1 0.5
9 1