Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
5
Task/Statistics-Basic/Maple/statistics-basic-1.maple
Normal file
5
Task/Statistics-Basic/Maple/statistics-basic-1.maple
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
with(Statistics):
|
||||
X_100 := Sample( Uniform(0,1), 100 );
|
||||
Mean( X_100 );
|
||||
StandardDeviation( X_100 );
|
||||
Histogram( X_100 );
|
||||
9
Task/Statistics-Basic/Maple/statistics-basic-2.maple
Normal file
9
Task/Statistics-Basic/Maple/statistics-basic-2.maple
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
sample := proc( n )
|
||||
local data;
|
||||
data := Sample( Uniform(0,1), n );
|
||||
printf( "Mean: %.4f\nStandard Deviation: %.4f",
|
||||
Statistics:-Mean( data ),
|
||||
Statistics:-StandardDeviation( data ) );
|
||||
return Statistics:-Histogram( data );
|
||||
end proc:
|
||||
sample( 1000 );
|
||||
Loading…
Add table
Add a link
Reference in a new issue