# "kstwo" function in Stixbox

**URL:** <https://scilab.discourse.group/t/kstwo-function-in-stixbox/475>\
**Category:** Atoms packages\
**Created:** [April 19, 2024, 5:09pm UTC](https://scilab.discourse.group/t/kstwo-function-in-stixbox/475 "2024-04-19T17:09:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![QwillDune](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/qwilldune/32/152_2.png) [@QwillDune](https://scilab.discourse.group/u/QwillDune)\
**Post date:** [April 19, 2024, 5:09pm UTC](https://scilab.discourse.group/t/kstwo-function-in-stixbox/475/1 "2024-04-19T17:09:45Z")

</div>

Just to know if you get the same message when using the “kstwo” function

```scilab
x=grand(1,10,"nor",10,0.5)
y=grand(1,10,"nor",10,0.5)
[d,p]=kstwo(x,y)

```

at line 84 of function apifun\_checkflint ( C:\Tools\Scilab-2024.0.0a\contrib\apifun\0.4.3\macros\apifun\_checkflint.sci line 93 )  
at line 90 of function distfun\_kscdf ( C:\Tools\Scilab-2024.0.0a\contrib\distfun\1.1.1\macros\distfun\_kscdf.sci line 99 )  
at line 61 of function kstwo ( C:\Tools\Scilab-2024.0.0a\contrib\stixbox\2.8\macros\kstwo.sci line 71 )  
at line 22 of executed file G:\My Drive\00\_SCILAB\008\_Fiability\008\_Stress\_vs\_Strength\_2024\Try\_kstwo.sci

distfun\_kscdf: Expected floating point integer for input argument N at input #2, but entry #1 is equal to 2.236068.

Or am I not using the function correctly

BR  
F

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [April 20, 2024, 7:55am UTC](https://scilab.discourse.group/t/kstwo-function-in-stixbox/475/2 "2024-04-20T07:55:49Z")

</div>

> [@QwillDune](#):
>
> Just to know if you get the same message when using the “kstwo” function

Yes, same message. You shoud contact the author, either at the atoms package page or its gitlab repository.

S.

---

<div class="post-metadata">

**Author:** ![QwillDune](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/qwilldune/32/152_2.png) [@QwillDune](https://scilab.discourse.group/u/QwillDune)\
**Post date:** [April 20, 2024, 1:49pm UTC](https://scilab.discourse.group/t/kstwo-function-in-stixbox/475/3 "2024-04-20T13:49:47Z")

</div>

Thanks Stephane,

Will do !

BR  
F
