BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
1 ACCEPTED SOLUTION

Accepted Solutions
sasor902
Calcite | Level 5
2 REPLIES 2
sasor902
Calcite | Level 5
 
Reeza
Super User

Note that you do not need to post your question multiple times for assistance. 

 

Since this is clearly homework, can you please show what you've attempted so far, so we can provide advice and direction? I'm not comfortable providing answers to homework questions. 

 

 

EDIT: it's important to understand the approach to this question because you're likely required to use the methods you were taught in class, but there's several ways to accomplish this, either in Base SAS, IML or SAS/OR procs. Posting a solution in a different approach than you need isn't going to be helpful to you.


@sasor902 wrote:

The problem: A petrol station opens at 8pm and closes at 11pm. All through the evening, the inter-arrival time of customers has an exponential distribution with mean 1.3 minutes. Until 9.30pm customers are served inside the shop, with a service time that has an exponential distribution with mean 1 minute. Customers who arrive after 9.30pm are served through a hatch, with a service time that has an exponential distribution with mean 1.55 minutes.

 

(i) Simulate the arrivals at the petrol station throughout the 3-hour period (it is acceptable to simulate more than required, then discard those who arrive after 11pm). Simulate the corresponding service-times, and calculate the total waiting and service times for each customer. Explain carefully the meaning of each value you calculate.


 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1179 views
  • 0 likes
  • 2 in conversation