Subversion Repositories wimsdev

Rev

Rev 20 | Rev 4161 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!if $wims_read_parm!=slib_header
2
!goto proc
3
!endif
4
slib_title=Quantile of cumulative chi2 distribution
5
slib_parms=2\
6
,[data]\
7
1,degree
8
 
9
 
10
slib_author=Bernadette PERRIN-RIOU
11
slib_out=quantile at data
12
slib_comment=data can be a list of reals
13
slib_example=  [0.2,0.4,0.7] ,5
3265 bpr 14
slib_require=octave
20 reyssat 15
!exit
16
 
17
:proc
18
slib_out=
19
!distribute  item $wims_read_parm into slib_data,slib_degree
20
 
21
!default slib_degree=1
22
slib_data=!declosing $slib_data
23
 
24
slib_out=!exec octave chisquare_inv([$slib_data], $slib_degree)
25
slib_out=!words2items $slib_out
26
slib_out=!trim $slib_out