question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Joerg Vogel answered

Why is the empirical distribution not behaving as expected?

stats.fsm1000 samples.xlsx

Hi. My model assigns 1 of 30 possible SKU ID based on an empirical distribution. After running more than 1,000 samples i graphed a histogram in excel and the distribution does not behave as I expected. Am I doing something wrong?

FlexSim 20.1.1
flexsim 20.1.1empirical distribution
stats.fsm (851.9 KiB)
1000-samples.xlsx (23.3 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@enrique.elizaga,

I'm not sure if I understand what you are trying to do. You say that you have a possible 30 SKU IDs but in your SKU_DYNAMICS table that you use, you only have 5 possibilities. So what happens to the other 25 SKUs? I'm not sure what you are trying to accomplish.

Thanks.

0 Likes 0 ·
Enrique Elizaga avatar image Enrique Elizaga Jeff Nordgren commented ·

Hi @jeff.nordgren and thanks for your reply. I ignored we had a cempirical distribution available. This gets me exactly where I wanted to! Thank you.



0 Likes 0 ·
Enrique Elizaga avatar image Enrique Elizaga Enrique Elizaga commented ·

@joerg.vogel the cempirical distribution (instead of empirical) behaves exactly how I expected! Thank you.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You should use cempirical instead of empirical

empirical returns at a probability of 4 uniform distributed values in the range of [4..8]

cempirical returns for the same table uniform distributed values in the range [0..4]

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.