Use this model object to remove extreme values returned by a distribution. Stat::Fit may recommend a distribution that looks like it will fit the data, but after review, it returns extreme values above or below what is possible in your system. Stat::Fit does not show possible extreme values, so additional steps are needed.

**Why is this important?** For example, suppose the average time for processing is 7 minutes, with a high value of 30 minutes. If the distribution returned an extreme value of 240 minutes (impossible in this system), the extreme time will cause havoc, tie up resources, and create huge delays. Some distributions create extreme values, such as the one portrayed above.

**How do you know if the distribution returns extreme values?** By testing the distribution using the Verify Distribution Values model object. The Verify Distribution Values model samples a distribution thousands of times to show the possibility of return values. If other distributions don’t fit and the recommended distribution could work if the extreme values were removed, then this model object is exactly what you need. Note: every distribution should be tested.

The **Remove Distribution Extreme Values** model object isn’t used like most because it doesn’t remain in your model. Rather, it is first used as a standalone model to test the distribution, then by copying part of the logic into your model to replace the time value.

**Where to Find the Model Object**

The following model object can be found in the model objects directory:

*Misc \ Remove Distribution Extreme Values*

If you can’t find the model object, select the Check for Updates option in the Model Objects menu.

**Difficulty Level**

**Ease of Use**: Easy**Ease of Modification**: Easy

**How to Use the Model Object**

**Open the Model Object:**Locate the model object,**Remove Distribution Extreme Values,**and select the open button.**Define Values:**Go to the action logic tab of, and replace the distribution with the distribution you want to fix the extremes for.**Remove Distribution Extreme Values**

.

.**Define Minimum and Maximum Values:**Within the same Action Logic window, define the minimum and maximum values you want to see for your distribution.

.

.**Steps to Verify Distribution Values****Simulate**the**model:**It will run for 40 hours, sending over 140,000 entities through your distribution.

.

.- At the
**end**of the**simulation**, click**Yes**to the prompt ‘.**Do you want to see the results?**

.

**Review the**tab to see minimum, maximum, and average values for the variable*Variables***v_RecordToFile**.

.

.**Click****Export Variable icon**in the toolbar to export variable data to Excel, choose the location where you wish to save the file, and click**Save.**

.

.

**Move Distribution to Your Model**- Once you have verified that the distribution is providing correct values, copy/paste the “
” activity into your model.**Remove Distribution Extreme Values** on the activity just copied, and open the**Click**tab.**Action Logic**the action logic and paste it into the activity or route of your model.**Copy**the time field on the activity or route move time to**Update**.**a_Time**the copied activity from your model.**Remove**

- Once you have verified that the distribution is providing correct values, copy/paste the “

**Controls Usage**

**Attributes:**

**a_Time:**Attribute that will provide time value for the activity or the route in the model.

**Variables:**

**v_RecordToFile**: User input required. The return value of your distribution.