@@ -35,6 +35,7 @@ define([
35
35
import : 'from scipy import stats' ,
36
36
code : '_rv = stats.binom(${n}${p})' ,
37
37
description : 'A binomial discrete random variable.' ,
38
+ help : '_vp_stats.binom' ,
38
39
options : [
39
40
{ name : 'n' , component : [ 'input_number' ] , value : 10 , required : true , usePair : true } ,
40
41
{ name : 'p' , component : [ 'input_number' ] , value : 0.6 , required : true , usePair : true } ,
@@ -45,6 +46,7 @@ define([
45
46
import : 'from scipy import stats' ,
46
47
code : '_rv = stats.multinomial(${n}${p})' ,
47
48
description : 'A multinomial random variable.' ,
49
+ help : '_vp_stats.multinomial' ,
48
50
options : [
49
51
{ name : 'n' , component : [ 'input_number' ] , value : 10 , required : true , usePair : true } ,
50
52
{ name : 'p' , component : [ 'data_select' ] , value : '[0.4, 0.6]' , required : true , usePair : true } ,
@@ -56,6 +58,7 @@ define([
56
58
import : 'from scipy import stats' ,
57
59
code : '_rv = stats.uniform()' ,
58
60
description : 'A uniform continuous random variable.' ,
61
+ help : '_vp_stats.uniform' ,
59
62
options : [
60
63
]
61
64
} ,
@@ -64,6 +67,7 @@ define([
64
67
import : 'from scipy import stats' ,
65
68
code : '_rv = stats.norm(${loc}${scale})' ,
66
69
description : 'A normal continuous random variable.' ,
70
+ help : '_vp_stats.norm' ,
67
71
options : [
68
72
{ name : 'loc' , component : [ 'input_number' ] , value : 0 , usePair : true } ,
69
73
{ name : 'scale' , component : [ 'input_number' ] , value : 1 , usePair : true } ,
@@ -74,6 +78,7 @@ define([
74
78
import : 'from scipy import stats' ,
75
79
code : '_rv = stats.beta(${a}${b})' ,
76
80
description : 'A beta continuous random variable.' ,
81
+ help : '_vp_stats.beta' ,
77
82
options : [
78
83
{ name : 'a' , component : [ 'input_number' ] , required : true , usePair : true } ,
79
84
{ name : 'b' , component : [ 'input_number' ] , required : true , usePair : true } ,
@@ -84,6 +89,7 @@ define([
84
89
import : 'from scipy import stats' ,
85
90
code : '_rv = stats.gamma(${a})' ,
86
91
description : 'A gamma continuous random variable.' ,
92
+ help : '_vp_stats.gamma' ,
87
93
options : [
88
94
{ name : 'a' , component : [ 'input_number' ] , required : true , usePair : true } ,
89
95
]
@@ -93,6 +99,7 @@ define([
93
99
import : 'from scipy import stats' ,
94
100
code : '_rv = stats.t(${df})' ,
95
101
description : "A Student's t continuous random variable." ,
102
+ help : '_vp_stats.t' ,
96
103
options : [
97
104
{ name : 'df' , component : [ 'input_number' ] , required : true , usePair : true } ,
98
105
]
@@ -102,6 +109,7 @@ define([
102
109
import : 'from scipy import stats' ,
103
110
code : '_rv = stats.chi2(${df})' ,
104
111
description : 'A chi-squared continuous random variable.' ,
112
+ help : '_vp_stats.chi2' ,
105
113
options : [
106
114
{ name : 'df' , component : [ 'input_number' ] , required : true , usePair : true } ,
107
115
]
@@ -111,6 +119,7 @@ define([
111
119
import : 'from scipy import stats' ,
112
120
code : '_rv = stats.f(${dfn}${dfd})' ,
113
121
description : 'An F continuous random variable.' ,
122
+ help : '_vp_stats.f' ,
114
123
options : [
115
124
{ name : 'dfn' , component : [ 'input_number' ] , required : true , usePair : true } ,
116
125
{ name : 'dfd' , component : [ 'input_number' ] , required : true , usePair : true } ,
@@ -121,8 +130,9 @@ define([
121
130
import : 'from scipy import stats' ,
122
131
code : '_rv = stats.dirichlet(${alpha}${seed})' ,
123
132
description : 'A Dirichlet random variable.' ,
133
+ help : '_vp_stats.dirichlet' ,
124
134
options : [
125
- { name : 'alpha' , component : [ 'input_number ' ] , required : true , usePair : true } ,
135
+ { name : 'alpha' , component : [ 'input ' ] , required : true , usePair : true , value : '(3,5,2)' , placeholder : '(x, y, z)' } ,
126
136
{ name : 'seed' , component : [ 'input_number' ] , usePair : true } ,
127
137
]
128
138
} ,
@@ -131,6 +141,7 @@ define([
131
141
import : 'from scipy import stats' ,
132
142
code : '_rv = stats.multivariate_normal(${mean}${cov}${allow_singular})' ,
133
143
description : 'A multivariate normal random variable.' ,
144
+ help : '_vp_stats.multivariate_normal' ,
134
145
options : [
135
146
{ name : 'mean' , component : [ 'data_select' ] , value : '[0]' , usePair : true } ,
136
147
{ name : 'cov' , component : [ 'data_select' ] , value : '[1]' , usePair : true } ,
0 commit comments