Post Reply 
Statistic 2var with frequencies
03-06-2015, 09:13 PM
Post: #3
RE: Statistic 2var with frequencies
(03-06-2015 08:42 PM)Helge Gabert Wrote:  I'd write a little utility program, something like this:

EXPORT UTIL1()
...
and then analyze the data {C1, C2} in the stat 2var app.

thank you!
it works... only two little typo (parenthesis closed at the end of concat() function:
Code:

EXPORT UTIL1()
BEGIN
LOCAL k,j,n,m;
n:=SIZE(C3); // frequencies in C3
FOR m FROM 1 TO n DO
k:=C3(m);
FOR j FROM 1 TO k-1 DO
C1:=CONCAT(C1,C1(m)); // x_i in C1
C2:=CONCAT(C2,C2(m)); // y_i in C2
END;
END;
END;

We could also add a function to reset data to only those with frequencies, to restart analysis...
However it's ok also so.

Thanks again

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Statistic 2var with frequencies - salvomic - 03-06-2015, 06:02 PM
RE: Statistic 2var with frequencies - salvomic - 03-06-2015 09:13 PM



User(s) browsing this thread: 1 Guest(s)