User Tools

Site Tools


prob

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
prob [2012/12/06 18:41]
ignacy
prob [2012/12/06 19:08] (current)
ignacy
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\\
 \\ \\
prob.txt · Last modified: 2012/12/06 19:08 by ignacy