Generate Special Distributions

By for October 19, 2016

75 views
55 downloads

Language

Report Abuse
This module generates data based on Weibull or beta distribution
This experiment generates data using a user selected special distribution such as weibull or beta. For example, user may want to do a montecarlo simulation over the model using weibull distribution for time to failure scenarios and this module can help generate this data ### Module Configuration ### This module expects user to select a distribution and provide - Shape1 - This is shape parameter common in parametric family of distributions such as weibull and beta. - Shape2 or Scale - This is used as shape 2 parameter for beta distribution and as scale for weibull distribution as a shape attribute - Min - This is used for creating data with values greater than this value - Max - This is used for creating data with values less than this value - Rows - This is used as input on how much data is created and shape the dataframe - Columns - This is used as input on how much data is created and shape the dataframe - Type of distribution - This is where user provides what type of distribution should be used for creating dataset - Seed - This is used as a seed for randomization of the data ![](http://neerajkh.blob.core.windows.net/images/SpecialModuleConfigCapture.PNG) ### Sample Output Dataset ### The figure below shows the dataset generated by the algorithm along with the distribution of the generated data ![](http://neerajkh.blob.core.windows.net/images/SpecialDistroDataCapture.PNG) ![](http://neerajkh.blob.core.windows.net/images/SpecialDistroPlotCapture.PNG) ### Source Code### The source code for this file is located here - [https://gist.github.com/nk773/534e17588e2013fb98fde7a26d42eb72](https://gist.github.com/nk773/534e17588e2013fb98fde7a26d42eb72)