Search the site...

SASCRUNCH TRAINING
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
Sentry Page Protection
Please Wait...
Exercise (1-9)

Run the code in the yellow box before working on this exercise:
Picture

The PHONEBILL data set contains 4 variables related to the mobile phone usage:

  • BillNo: Bill Number
  • Minutes: Number of minutes used
  • Messages: Number of text messages sent and received
  • Data: The amount of data used (in MB)

The $30 monthly plan includes 200 minutes, 25 text messages and 1000 MB data usage.

Below is the additional charges incurred when the usage exceeds the monthly limit:

  • Minutes: $0.1 per minute when over 200 minutes
  • Messages: $0.5 per message when over 25 messages
  • Data: $0.05 per MB when over 1000 MB

Write a SAS program to calculate the total amount for each bill.
Next
Already a member? Go to member's area.