Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default sim ages #412

Open
RomeshA opened this issue Mar 22, 2024 · 3 comments
Open

Default sim ages #412

RomeshA opened this issue Mar 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@RomeshA
Copy link
Contributor

RomeshA commented Mar 22, 2024

I was running a test sim using ss.Sim() directly (with no arguments) and was puzzled why my simulation had nobody younger than 50, and people that were up to 150 years old. Eventually I realised this is just because the default age distribution is 0-100 and the simulation is run for 50 years. I think this might be a bit confusing for users to encounter in a 'default' sim though?

@daniel-klein
Copy link
Contributor

Agree!

dist = ss.uniform(low=0, high=100, name='Age distribution')

... is not a particularly useful default.

@cliffckerr cliffckerr added bug Something isn't working priority labels Mar 28, 2024
@cliffckerr cliffckerr added this to the Usability milestone Mar 28, 2024
@kaa2102 kaa2102 self-assigned this Apr 2, 2024
@cliffckerr cliffckerr mentioned this issue May 7, 2024
4 tasks
@cliffckerr
Copy link
Contributor

Closed by #488

@daniel-klein
Copy link
Contributor

The default distribution if no age data is provided remains:

dist = ss.uniform(low=0, high=100, name='Age distribution')

This issue was closed by #488, which says, "The default maximum age if none is specified is 50 instead of 100." However it's still 100 in code.

@daniel-klein daniel-klein reopened this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants