Quantcast
Channel: PTC Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 11539

Defining Weibull and custom function when using MonteCarlo

$
0
0

We have recently started on the more advanced statistical features in Mathcad. We would like some advice.

 

Using Montecarlo to generate random data we would like to use the Weibull distribution and then later a custom function for our calculations. However, we are experiencing some problems which we believe is due to our lack of experience.

 

The first issue is that specifying different Weibull parameters when used in a Montecarlo does not seem to change the shape of the graph (see Cylinder Radius on Pg 4). The red trend was generated using MonteCarlo with a shape factor equal to 1 defined in the seond column of the Rvals matrix on Pg 3. Changing this value however does not change the shape of the graph away from exponential decay as would normally be expected with the Weibull.

Montecarlo.JPG

Are we defiing the parameters incorrectly or how do you change the shape for different shape factors inside the Rvals matrix.

 

The second issue we have is to define a customized distribution function in the dist matrix. As mentioned we woudl like to use the triangular or CuDist (Pg 1) distribution. However, we are struggling to define the limits. Using the Triang distribution we only get the average in the histogram (Pg 4) and not the triangular distribution expected as calculated on Pg 2.

 

Can anyone help please

 

Barend


Viewing all articles
Browse latest Browse all 11539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>