@@ -35,6 +35,7 @@ define([
3535 import : 'from scipy import stats' ,
3636 code : '_rv = stats.binom(${n}${p})' ,
3737 description : 'A binomial discrete random variable.' ,
38+ help : '_vp_stats.binom' ,
3839 options : [
3940 { name : 'n' , component : [ 'input_number' ] , value : 10 , required : true , usePair : true } ,
4041 { name : 'p' , component : [ 'input_number' ] , value : 0.6 , required : true , usePair : true } ,
@@ -45,6 +46,7 @@ define([
4546 import : 'from scipy import stats' ,
4647 code : '_rv = stats.multinomial(${n}${p})' ,
4748 description : 'A multinomial random variable.' ,
49+ help : '_vp_stats.multinomial' ,
4850 options : [
4951 { name : 'n' , component : [ 'input_number' ] , value : 10 , required : true , usePair : true } ,
5052 { name : 'p' , component : [ 'data_select' ] , value : '[0.4, 0.6]' , required : true , usePair : true } ,
@@ -56,6 +58,7 @@ define([
5658 import : 'from scipy import stats' ,
5759 code : '_rv = stats.uniform()' ,
5860 description : 'A uniform continuous random variable.' ,
61+ help : '_vp_stats.uniform' ,
5962 options : [
6063 ]
6164 } ,
@@ -64,6 +67,7 @@ define([
6467 import : 'from scipy import stats' ,
6568 code : '_rv = stats.norm(${loc}${scale})' ,
6669 description : 'A normal continuous random variable.' ,
70+ help : '_vp_stats.norm' ,
6771 options : [
6872 { name : 'loc' , component : [ 'input_number' ] , value : 0 , usePair : true } ,
6973 { name : 'scale' , component : [ 'input_number' ] , value : 1 , usePair : true } ,
@@ -74,6 +78,7 @@ define([
7478 import : 'from scipy import stats' ,
7579 code : '_rv = stats.beta(${a}${b})' ,
7680 description : 'A beta continuous random variable.' ,
81+ help : '_vp_stats.beta' ,
7782 options : [
7883 { name : 'a' , component : [ 'input_number' ] , required : true , usePair : true } ,
7984 { name : 'b' , component : [ 'input_number' ] , required : true , usePair : true } ,
@@ -84,6 +89,7 @@ define([
8489 import : 'from scipy import stats' ,
8590 code : '_rv = stats.gamma(${a})' ,
8691 description : 'A gamma continuous random variable.' ,
92+ help : '_vp_stats.gamma' ,
8793 options : [
8894 { name : 'a' , component : [ 'input_number' ] , required : true , usePair : true } ,
8995 ]
@@ -93,6 +99,7 @@ define([
9399 import : 'from scipy import stats' ,
94100 code : '_rv = stats.t(${df})' ,
95101 description : "A Student's t continuous random variable." ,
102+ help : '_vp_stats.t' ,
96103 options : [
97104 { name : 'df' , component : [ 'input_number' ] , required : true , usePair : true } ,
98105 ]
@@ -102,6 +109,7 @@ define([
102109 import : 'from scipy import stats' ,
103110 code : '_rv = stats.chi2(${df})' ,
104111 description : 'A chi-squared continuous random variable.' ,
112+ help : '_vp_stats.chi2' ,
105113 options : [
106114 { name : 'df' , component : [ 'input_number' ] , required : true , usePair : true } ,
107115 ]
@@ -111,6 +119,7 @@ define([
111119 import : 'from scipy import stats' ,
112120 code : '_rv = stats.f(${dfn}${dfd})' ,
113121 description : 'An F continuous random variable.' ,
122+ help : '_vp_stats.f' ,
114123 options : [
115124 { name : 'dfn' , component : [ 'input_number' ] , required : true , usePair : true } ,
116125 { name : 'dfd' , component : [ 'input_number' ] , required : true , usePair : true } ,
@@ -121,8 +130,9 @@ define([
121130 import : 'from scipy import stats' ,
122131 code : '_rv = stats.dirichlet(${alpha}${seed})' ,
123132 description : 'A Dirichlet random variable.' ,
133+ help : '_vp_stats.dirichlet' ,
124134 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)' } ,
126136 { name : 'seed' , component : [ 'input_number' ] , usePair : true } ,
127137 ]
128138 } ,
@@ -131,6 +141,7 @@ define([
131141 import : 'from scipy import stats' ,
132142 code : '_rv = stats.multivariate_normal(${mean}${cov}${allow_singular})' ,
133143 description : 'A multivariate normal random variable.' ,
144+ help : '_vp_stats.multivariate_normal' ,
134145 options : [
135146 { name : 'mean' , component : [ 'data_select' ] , value : '[0]' , usePair : true } ,
136147 { name : 'cov' , component : [ 'data_select' ] , value : '[1]' , usePair : true } ,
0 commit comments