DSTDEV
Estimates the standard deviation based on a sample of selected database entries.
Database
array(7) {
[4]=>
array(5) {
["A"]=>
string(4) "Tree"
["B"]=>
string(6) "Height"
["C"]=>
string(3) "Age"
["D"]=>
string(5) "Yield"
["E"]=>
string(6) "Profit"
}
[5]=>
array(5) {
["A"]=>
string(5) "Apple"
["B"]=>
float(18)
["C"]=>
float(20)
["D"]=>
float(14)
["E"]=>
float(105)
}
[6]=>
array(5) {
["A"]=>
string(4) "Pear"
["B"]=>
float(12)
["C"]=>
float(12)
["D"]=>
float(10)
["E"]=>
float(96)
}
[7]=>
array(5) {
["A"]=>
string(6) "Cherry"
["B"]=>
float(13)
["C"]=>
float(14)
["D"]=>
float(9)
["E"]=>
float(105)
}
[8]=>
array(5) {
["A"]=>
string(5) "Apple"
["B"]=>
float(14)
["C"]=>
float(15)
["D"]=>
float(10)
["E"]=>
float(75)
}
[9]=>
array(5) {
["A"]=>
string(4) "Pear"
["B"]=>
float(9)
["C"]=>
float(8)
["D"]=>
float(8)
["E"]=>
float(76.8)
}
[10]=>
array(5) {
["A"]=>
string(5) "Apple"
["B"]=>
float(8)
["C"]=>
float(9)
["D"]=>
float(6)
["E"]=>
float(45)
}
}
Criteria
array(3) {
[1]=>
array(1) {
["A"]=>
string(4) "Tree"
}
[2]=>
array(1) {
["A"]=>
string(6) "=Apple"
}
[3]=>
array(1) {
["A"]=>
string(5) "=Pear"
}
}
The estimated standard deviation in the yield of Apple and Pear trees
DSTDEV() Result is 2.9664793948383
Criteria
array(3) {
[1]=>
array(1) {
["A"]=>
string(4) "Tree"
}
[2]=>
array(1) {
["A"]=>
string(6) "=Apple"
}
[3]=>
array(1) {
["A"]=>
string(5) "=Pear"
}
}
The estimated standard deviation in height of Apple and Pear trees
DSTDEV() Result is 4.0249223594996