mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-05 08:00:51 +00:00
welch t-test
This commit is contained in:
parent
d0f92b5492
commit
d92160e734
@ -183,7 +183,7 @@ struct AggregateFunctionWelchTTestData final
|
|||||||
i_dof = 101;
|
i_dof = 101;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(i_dof < 100)
|
if (i_dof < 100)
|
||||||
{
|
{
|
||||||
i_dof = 1;
|
i_dof = 1;
|
||||||
}
|
}
|
||||||
@ -285,7 +285,7 @@ public:
|
|||||||
size_t size_x = this->data(place).get_size_x();
|
size_t size_x = this->data(place).get_size_x();
|
||||||
size_t size_y = this->data(place).get_size_y();
|
size_t size_y = this->data(place).get_size_y();
|
||||||
|
|
||||||
if( size_x < 2 || size_y < 2)
|
if (size_x < 2 || size_y < 2)
|
||||||
{
|
{
|
||||||
throw Exception("Aggregate function " + getName() + " requires samples to be of size > 1", ErrorCodes::BAD_ARGUMENTS);
|
throw Exception("Aggregate function " + getName() + " requires samples to be of size > 1", ErrorCodes::BAD_ARGUMENTS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user