prob

# Differences

This shows you the differences between two versions of the page.

 prob [2012/12/06 18:41]ignacy prob [2012/12/06 19:08] (current)ignacy Both sides previous revision Previous revision 2012/12/06 19:08 ignacy 2012/12/06 18:41 ignacy 2012/12/06 18:12 ignacy 2012/11/16 12:08 ignacy 2012/11/15 14:50 ignacy 2012/11/15 14:48 ignacy 2012/11/15 14:41 ignacy created 2012/12/06 19:08 ignacy 2012/12/06 18:41 ignacy 2012/12/06 18:12 ignacy 2012/11/16 12:08 ignacy 2012/11/15 14:50 ignacy 2012/11/15 14:48 ignacy 2012/11/15 14:41 ignacy created Line 22: Line 22: ''​x=gen_uniform(a,​b)''​\\ ''​x=gen_uniform(a,​b)''​\\ a,b - both real (r*) or both integers or both missing.\\ a,b - both real (r*) or both integers or both missing.\\ - If a,b are missing, generates samples from uniform(0,​1) distribution. \\ + If a,b are missing, generates samples from uniform(0,​1) distribution \\ - If a,b are real (r8), generates samples from uniform(a,​b) distribution. \\ + If a,b are real (r8), generates samples from uniform(a,​b) distribution \\ - If a,b are integers, generates random integer between a and b. \\ + If a,b are integers, generates random integer between a and b \\ \\ \\ Line 38: Line 38: \\ \\ - + ''​x=gen_invwishart(inv_q_form,​df)''​\\ - ''​x=gen_invwishart(inv_q_form,​df)''​ + - + inv_q_form - (r8) scalar or square matrix containing inverse of quadratic form\\ inv_q_form - (r8) scalar or square matrix containing inverse of quadratic form\\ df         - an integer containing degrees of freedom\\ df         - an integer containing degrees of freedom\\ Line 57: Line 55: \\ \\ - y=normal_invcdf(x) + ''​y=normal_invcdf(x)''​\\ x - real (r8) scalar in the range of <​0,​1>​\\ x - real (r8) scalar in the range of <​0,​1>​\\ y - real (r8) as in: x=normal_cdf(y)\\ y - real (r8) as in: x=normal_cdf(y)\\ Line 65: Line 62: ''​y=generate_trunc_normal(a,​b,​mean,​var)''​\\ ''​y=generate_trunc_normal(a,​b,​mean,​var)''​\\ y - real (r8) scalar or vector\\ y - real (r8) scalar or vector\\ - a,b - real (r8) lower and upper bound of random samples\\ a,b - real (r8) lower and upper bound of random samples\\ - mean - real(r8) scalar or vectors of mean, optional if scalar\\ mean - real(r8) scalar or vectors of mean, optional if scalar\\ - var - real(r8) variance or covariance matrix, optional if scalar\\ var - real(r8) variance or covariance matrix, optional if scalar\\ \\ \\