Statistics


[New] Problem :determine how good of a guess is for the mean of , where experiments gave , using the distribution.


>> l:=[1, -2, 3, -4, 5, -6, 7, -8, 9, 10]:
>> stats::meanTest(l,5);

     /                                              /    1/2   1/2   1/2 \ \
     |                                              | 7 2    10    29    | |
     |                    1/2   1/2   1/2   105 atan| ------------------ | |
     | 105 PI   83310955 2    10    29              \        290         / |
 128 | ------ - ------------------------- - ------------------------------ |
     \  256            2832936992                        128               /
 ---------------------------------------------------------------------------
                                   105 PI

>> float(%);

                                0.05756660091

[New] Problem :same problem, but with the normal distribution.


>> l:=[1, -2, 3, -4, 5, -6, 7, -8, 9, 10]:
>> stats::meanTest(l,5,stats::normal);

                            /      1/2   1/2 \
                            | 21 10    29    |
                         erf| -------------- |
                            \      290       /
                       - --------------------- + 1/2
                                   2

>> float(%);

                               0.04058346175


up Wester's test suite in MuPAD 1.3

next Algebra