Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8996843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:48:31+00:00 2026-06-15T23:48:31+00:00

I want to simulate a (very long) bus route where the buses get spread

  • 0

I want to simulate a (very long) bus route where the buses get spread out randomly over the route over time but have a mean time between bus arrivals at my bus stop of exactly 20 minutes. To do this, I create a linear strip of time, 20 million minutes, and scatter one million buses randomly on that interval. I just multiply the output of a standard random float generator (uniform distribution over interval [0,1) ) by 20 million to generate one million arrival times randomly scattered over 20 million minutes with all points on the timeline equally likely. That way, all the times between a million bus arrivals add up to the full length 20 million minutes, averaging a twenty minute wait between buses.

What I’m wondering is if this simple procedure creates a poisson process for bus arrivals. Or would this be some other process? What would the resulting process parameters be? Would someone with a better knowledge of statistics than mine mind telling me about the statistical process that results from such a simple uniformly distributed scattering of events on a timeline? It’s an easy programming technique to use, so I’d like to make sure I’m not misunderstanding it.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:48:32+00:00Added an answer on June 15, 2026 at 11:48 pm

    Well, there are two sides to this:

    • If you take the limit of infinite minutes and infinite buses then yes, you do have the poisson process

    • the process you describe is close to but not quite the poisson process, because there is a little bit of bias because of the limited number of buses causes some “memory” in the process.

    However, why would you want to use such a process to approximate the poisson distribution when you could just generate exponential deviates by using e.g. gsl (http://www.gnu.org/software/gsl/) to get the deviates directly?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 32GB memory machine and I want to simulate trying out one
I want to simulate stroking a carpet, so you would have a graphic of
I would want to simulate the behavior of a table with div. I have
I have an application where I want to simulate the connection between a device
I have multiple buttons on a page and I want to simulate a click
I want to simulate TCP in Java. For that I have multiple threads, like
I have some stock market data. I want to simulate the stock market by
I have a vector of discrete data and I want to simulate from the
I have made some PHP scripts and I want to test the response time
I want to simulate many key press events. I found a solution by using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.