Skip to content

API Reference parrot_tools.statistical_tests

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.statistical_tests

View source

StatisticalTestsTool — t-test, ANOVA, chi-square, normality.

Validates whether differences between groups or scenarios are statistically significant.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Class StatisticalTestInput

Input schema for StatisticalTestsTool.

Fields:

Field Type Default Description
df_name str Name or alias of the dataset
test_type str Test type: 'ttest', 'anova', 'chi_square', 'mann_whitney', 'kruskal_wallis', 'normality'
target_column str Column to test
group_column Optional[str] None Categorical column defining groups (required for ttest, anova, etc.)
groups Optional[List[str]] None Specific group values to compare (default: all groups)
alpha float 0.05 Significance level
alternative str 'two-sided' Alternative hypothesis: 'two-sided', 'less', 'greater'

Class StatisticalTestsTool

Run statistical hypothesis tests on dataset groups.

Supports t-test, ANOVA, chi-square, Mann-Whitney, Kruskal-Wallis, and normality tests. Returns test statistic, p-value, effect size, and plain-language interpretation.

Parameter Type Default Description
**kwargs {}

Attributes:

Attribute Type Description
args_schema Type[BaseModel]

Attribute TEST_DISPATCH

Alias ToolResult

Re-exported from parrot_tools.abstract.ToolResult.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally