text stringlengths 0 234 |
|---|
procedure Test_Get_Population_Variance (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Population_Variance : "); |
Result := Get_Population_Variance (Values); |
if Result = 1.209928 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Population_Variance; |
procedure Test_Get_Sample_Variance (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Sample_Variance : "); |
Result := Get_Sample_Variance (Values); |
if Result = 1.273608 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Sample_Variance; |
procedure Test_Get_Population_Standard_Deviation (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Population_Standard_Deviation : "); |
Result := Get_Population_Standard_Deviation (Values); |
if Result = 1.099967 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Population_Standard_Deviation; |
procedure Test_Get_Sample_Standard_Deviation (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Sample_Standard_Deviation : "); |
Result := Get_Sample_Standard_Deviation (Values); |
if Result = 1.128543 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Sample_Standard_Deviation; |
procedure Test_Get_Standard_Error_of_Mean (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Standard_Error_of_Mean : "); |
Result := Get_Standard_Error_of_Mean (Values); |
if Result = 0.2523498 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Standard_Error_of_Mean; |
procedure Test_Get_Coefficient_Of_Variation (Values : CompStats_Statistics.Values_Array) is |
Result : FLOAT; |
begin |
Put("Get_Coefficient_Of_Variation : "); |
Result := Get_Coefficient_Of_Variation (Values); |
if Result = 5.54525 then |
Put("True"); |
else |
Put(" False - "); |
Put(Result); |
end if; |
New_Line; |
end Test_Get_Coefficient_Of_Variation; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.