Home » Archimedes archive » Zipped Apps » PipeDream » Functions/Statistic
Functions/Statistic
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Zipped Apps » PipeDream |
Filename: | Functions/Statistic |
Read OK: | ✔ |
File size: | 05FD bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Zipped Apps » PipeDream » Functions/Statistic
- Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » Functions/Statistic
File contents
%OP%VS4.12 Test (Dec 12 1991), Colton Software - Development, R0123 4567 8901 2345 %OP%DP4 %OP%LP* %OP%TM4 %OP%BM4 %OP%LM5 %OP%FX %OP%FY %OP%FS %OP%WC2,2150,572,1364,0,0,0,0 %CO:A,10,100% %C%%H1%Statistical Functions Examples %C%Function AVG COUNT GRAND MAX MIN %L%RAND STD STDP VAR VARP %CO:B,9,0% %V%%C%8 %V%%C%7 %V%%C%2 %V%%C%11 %V%%C%6 %R%Input 1 %R%B4E8 %R%B4E8 %V%%R%2 %R%B4E8 %R%B4E8 %V%%R%1 %R%B4E8 %R%B4E8 %R%B4E8 %R%B4E8 %CO:C,9,0% %V%%C%5 %V%%C%12 %V%%C%7 %V%%C%9 %V%%C%17 %R%Input 2 %R%- %R%- %V%%R%1 %R%- %R%- %R%- %R%- %R%- %R%- %R%- %CO:D,9,0% %V%%C%10 %V%%C%13 %V%%C%7 %V%%C%5 %V%%C%17 %R%Input 3 %R%- %R%- %R%- %R%- %R%- %R%- %R%- %R%- %R%- %R%- %CO:E,9,0% %V%%C%13 %V%%C%19 %V%%C%1 %V%%C%7 %V%%C%1 %C%Result %V%%C%avg(B4E8) %V%%C%count(B4E8) %V%%C%grand(B14,C14) %V%%C%max(B4E8) %V%%C%min(B4E8) %V%%C%rand(B17) %V%%C%std(B4E8) %V%%C%stdp(B4E8) %V%%C%var(B4E8) %V%%C%varp(B4E8) %CO:F,2,0%%CO:G,81,0% %L%Summary Returns the average of a list of numbers. Counts the number of entries in a list. (Numeric Slots only). Generates a Gaussian random number, average %H4%Input1%H4%, s.d. %H4%Input2%H4%, both optional. Returns the maximum value in a list. Returns the minimum value in a list. Generates a random number using %H4%Input1%H4% as the seed. %H4%Input1%H4% is optional. Returns the population standard deviation of a list. Returns the modified population standard deviation of a list. Returns the population variance of a list. Returns the modified population variance of a list.
00000000 25 4f 50 25 56 53 34 2e 31 32 20 54 65 73 74 20 |%OP%VS4.12 Test | 00000010 28 44 65 63 20 31 32 20 31 39 39 31 29 2c 20 43 |(Dec 12 1991), C| 00000020 6f 6c 74 6f 6e 20 53 6f 66 74 77 61 72 65 20 2d |olton Software -| 00000030 20 44 65 76 65 6c 6f 70 6d 65 6e 74 2c 20 52 30 | Development, R0| 00000040 31 32 33 20 34 35 36 37 20 38 39 30 31 20 32 33 |123 4567 8901 23| 00000050 34 35 0a 25 4f 50 25 44 50 34 0a 25 4f 50 25 4c |45.%OP%DP4.%OP%L| 00000060 50 2a 0a 25 4f 50 25 54 4d 34 0a 25 4f 50 25 42 |P*.%OP%TM4.%OP%B| 00000070 4d 34 0a 25 4f 50 25 4c 4d 35 0a 25 4f 50 25 46 |M4.%OP%LM5.%OP%F| 00000080 58 0a 25 4f 50 25 46 59 0a 25 4f 50 25 46 53 0a |X.%OP%FY.%OP%FS.| 00000090 25 4f 50 25 57 43 32 2c 32 31 35 30 2c 35 37 32 |%OP%WC2,2150,572| 000000a0 2c 31 33 36 34 2c 30 2c 30 2c 30 2c 30 0a 25 43 |,1364,0,0,0,0.%C| 000000b0 4f 3a 41 2c 31 30 2c 31 30 30 25 0a 25 43 25 25 |O:A,10,100%.%C%%| 000000c0 48 31 25 53 74 61 74 69 73 74 69 63 61 6c 20 46 |H1%Statistical F| 000000d0 75 6e 63 74 69 6f 6e 73 20 45 78 61 6d 70 6c 65 |unctions Example| 000000e0 73 0a 0a 0a 0a 0a 0a 0a 0a 25 43 25 46 75 6e 63 |s........%C%Func| 000000f0 74 69 6f 6e 0a 0a 41 56 47 0a 43 4f 55 4e 54 0a |tion..AVG.COUNT.| 00000100 47 52 41 4e 44 0a 4d 41 58 0a 4d 49 4e 0a 25 4c |GRAND.MAX.MIN.%L| 00000110 25 52 41 4e 44 0a 53 54 44 0a 53 54 44 50 0a 56 |%RAND.STD.STDP.V| 00000120 41 52 0a 56 41 52 50 0a 25 43 4f 3a 42 2c 39 2c |AR.VARP.%CO:B,9,| 00000130 30 25 0a 0a 0a 25 56 25 25 43 25 38 0a 25 56 25 |0%...%V%%C%8.%V%| 00000140 25 43 25 37 0a 25 56 25 25 43 25 32 0a 25 56 25 |%C%7.%V%%C%2.%V%| 00000150 25 43 25 31 31 0a 25 56 25 25 43 25 36 0a 0a 25 |%C%11.%V%%C%6..%| 00000160 52 25 49 6e 70 75 74 20 31 0a 0a 25 52 25 42 34 |R%Input 1..%R%B4| 00000170 45 38 0a 25 52 25 42 34 45 38 0a 25 56 25 25 52 |E8.%R%B4E8.%V%%R| 00000180 25 32 0a 25 52 25 42 34 45 38 0a 25 52 25 42 34 |%2.%R%B4E8.%R%B4| 00000190 45 38 0a 25 56 25 25 52 25 31 0a 25 52 25 42 34 |E8.%V%%R%1.%R%B4| 000001a0 45 38 0a 25 52 25 42 34 45 38 0a 25 52 25 42 34 |E8.%R%B4E8.%R%B4| 000001b0 45 38 0a 25 52 25 42 34 45 38 0a 25 43 4f 3a 43 |E8.%R%B4E8.%CO:C| 000001c0 2c 39 2c 30 25 0a 0a 0a 25 56 25 25 43 25 35 0a |,9,0%...%V%%C%5.| 000001d0 25 56 25 25 43 25 31 32 0a 25 56 25 25 43 25 37 |%V%%C%12.%V%%C%7| 000001e0 0a 25 56 25 25 43 25 39 0a 25 56 25 25 43 25 31 |.%V%%C%9.%V%%C%1| 000001f0 37 0a 0a 25 52 25 49 6e 70 75 74 20 32 0a 0a 25 |7..%R%Input 2..%| 00000200 52 25 2d 0a 25 52 25 2d 0a 25 56 25 25 52 25 31 |R%-.%R%-.%V%%R%1| 00000210 0a 25 52 25 2d 0a 25 52 25 2d 0a 25 52 25 2d 0a |.%R%-.%R%-.%R%-.| 00000220 25 52 25 2d 0a 25 52 25 2d 0a 25 52 25 2d 0a 25 |%R%-.%R%-.%R%-.%| 00000230 52 25 2d 0a 25 43 4f 3a 44 2c 39 2c 30 25 0a 0a |R%-.%CO:D,9,0%..| 00000240 0a 25 56 25 25 43 25 31 30 0a 25 56 25 25 43 25 |.%V%%C%10.%V%%C%| 00000250 31 33 0a 25 56 25 25 43 25 37 0a 25 56 25 25 43 |13.%V%%C%7.%V%%C| 00000260 25 35 0a 25 56 25 25 43 25 31 37 0a 0a 25 52 25 |%5.%V%%C%17..%R%| 00000270 49 6e 70 75 74 20 33 0a 0a 25 52 25 2d 0a 25 52 |Input 3..%R%-.%R| 00000280 25 2d 0a 25 52 25 2d 0a 25 52 25 2d 0a 25 52 25 |%-.%R%-.%R%-.%R%| 00000290 2d 0a 25 52 25 2d 0a 25 52 25 2d 0a 25 52 25 2d |-.%R%-.%R%-.%R%-| 000002a0 0a 25 52 25 2d 0a 25 52 25 2d 0a 25 43 4f 3a 45 |.%R%-.%R%-.%CO:E| 000002b0 2c 39 2c 30 25 0a 0a 0a 25 56 25 25 43 25 31 33 |,9,0%...%V%%C%13| 000002c0 0a 25 56 25 25 43 25 31 39 0a 25 56 25 25 43 25 |.%V%%C%19.%V%%C%| 000002d0 31 0a 25 56 25 25 43 25 37 0a 25 56 25 25 43 25 |1.%V%%C%7.%V%%C%| 000002e0 31 0a 0a 25 43 25 52 65 73 75 6c 74 0a 0a 25 56 |1..%C%Result..%V| 000002f0 25 25 43 25 61 76 67 28 42 34 45 38 29 0a 25 56 |%%C%avg(B4E8).%V| 00000300 25 25 43 25 63 6f 75 6e 74 28 42 34 45 38 29 0a |%%C%count(B4E8).| 00000310 25 56 25 25 43 25 67 72 61 6e 64 28 42 31 34 2c |%V%%C%grand(B14,| 00000320 43 31 34 29 0a 25 56 25 25 43 25 6d 61 78 28 42 |C14).%V%%C%max(B| 00000330 34 45 38 29 0a 25 56 25 25 43 25 6d 69 6e 28 42 |4E8).%V%%C%min(B| 00000340 34 45 38 29 0a 25 56 25 25 43 25 72 61 6e 64 28 |4E8).%V%%C%rand(| 00000350 42 31 37 29 0a 25 56 25 25 43 25 73 74 64 28 42 |B17).%V%%C%std(B| 00000360 34 45 38 29 0a 25 56 25 25 43 25 73 74 64 70 28 |4E8).%V%%C%stdp(| 00000370 42 34 45 38 29 0a 25 56 25 25 43 25 76 61 72 28 |B4E8).%V%%C%var(| 00000380 42 34 45 38 29 0a 25 56 25 25 43 25 76 61 72 70 |B4E8).%V%%C%varp| 00000390 28 42 34 45 38 29 0a 25 43 4f 3a 46 2c 32 2c 30 |(B4E8).%CO:F,2,0| 000003a0 25 25 43 4f 3a 47 2c 38 31 2c 30 25 0a 0a 0a 0a |%%CO:G,81,0%....| 000003b0 0a 0a 0a 0a 0a 25 4c 25 53 75 6d 6d 61 72 79 0a |.....%L%Summary.| 000003c0 0a 52 65 74 75 72 6e 73 20 74 68 65 20 61 76 65 |.Returns the ave| 000003d0 72 61 67 65 20 6f 66 20 61 20 6c 69 73 74 20 6f |rage of a list o| 000003e0 66 20 6e 75 6d 62 65 72 73 2e 0a 43 6f 75 6e 74 |f numbers..Count| 000003f0 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 |s the number of | 00000400 65 6e 74 72 69 65 73 20 69 6e 20 61 20 6c 69 73 |entries in a lis| 00000410 74 2e 20 28 4e 75 6d 65 72 69 63 20 53 6c 6f 74 |t. (Numeric Slot| 00000420 73 20 6f 6e 6c 79 29 2e 0a 47 65 6e 65 72 61 74 |s only)..Generat| 00000430 65 73 20 61 20 47 61 75 73 73 69 61 6e 20 72 61 |es a Gaussian ra| 00000440 6e 64 6f 6d 20 6e 75 6d 62 65 72 2c 20 61 76 65 |ndom number, ave| 00000450 72 61 67 65 20 25 48 34 25 49 6e 70 75 74 31 25 |rage %H4%Input1%| 00000460 48 34 25 2c 20 73 2e 64 2e 20 25 48 34 25 49 6e |H4%, s.d. %H4%In| 00000470 70 75 74 32 25 48 34 25 2c 20 62 6f 74 68 20 6f |put2%H4%, both o| 00000480 70 74 69 6f 6e 61 6c 2e 0a 52 65 74 75 72 6e 73 |ptional..Returns| 00000490 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 76 61 6c | the maximum val| 000004a0 75 65 20 69 6e 20 61 20 6c 69 73 74 2e 0a 52 65 |ue in a list..Re| 000004b0 74 75 72 6e 73 20 74 68 65 20 6d 69 6e 69 6d 75 |turns the minimu| 000004c0 6d 20 76 61 6c 75 65 20 69 6e 20 61 20 6c 69 73 |m value in a lis| 000004d0 74 2e 0a 47 65 6e 65 72 61 74 65 73 20 61 20 72 |t..Generates a r| 000004e0 61 6e 64 6f 6d 20 6e 75 6d 62 65 72 20 75 73 69 |andom number usi| 000004f0 6e 67 20 25 48 34 25 49 6e 70 75 74 31 25 48 34 |ng %H4%Input1%H4| 00000500 25 20 61 73 20 74 68 65 20 73 65 65 64 2e 20 25 |% as the seed. %| 00000510 48 34 25 49 6e 70 75 74 31 25 48 34 25 20 69 73 |H4%Input1%H4% is| 00000520 20 6f 70 74 69 6f 6e 61 6c 2e 0a 52 65 74 75 72 | optional..Retur| 00000530 6e 73 20 74 68 65 20 70 6f 70 75 6c 61 74 69 6f |ns the populatio| 00000540 6e 20 73 74 61 6e 64 61 72 64 20 64 65 76 69 61 |n standard devia| 00000550 74 69 6f 6e 20 6f 66 20 61 20 6c 69 73 74 2e 0a |tion of a list..| 00000560 52 65 74 75 72 6e 73 20 74 68 65 20 6d 6f 64 69 |Returns the modi| 00000570 66 69 65 64 20 70 6f 70 75 6c 61 74 69 6f 6e 20 |fied population | 00000580 73 74 61 6e 64 61 72 64 20 64 65 76 69 61 74 69 |standard deviati| 00000590 6f 6e 20 6f 66 20 61 20 6c 69 73 74 2e 0a 52 65 |on of a list..Re| 000005a0 74 75 72 6e 73 20 74 68 65 20 70 6f 70 75 6c 61 |turns the popula| 000005b0 74 69 6f 6e 20 76 61 72 69 61 6e 63 65 20 6f 66 |tion variance of| 000005c0 20 61 20 6c 69 73 74 2e 0a 52 65 74 75 72 6e 73 | a list..Returns| 000005d0 20 74 68 65 20 6d 6f 64 69 66 69 65 64 20 70 6f | the modified po| 000005e0 70 75 6c 61 74 69 6f 6e 20 76 61 72 69 61 6e 63 |pulation varianc| 000005f0 65 20 6f 66 20 61 20 6c 69 73 74 2e 0a |e of a list..| 000005fd