Confidence interval
confidence_intervalCalculate a confidence interval for a mean or proportion from local tabular data or supplied values, using user-confirmed column choices and an adjustable confidence level.
Instructions
CI for a mean (column the user asked about) or a proportion. The user confirms the column first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| file | No | Path to the data file: CSV, TSV, Excel (.xlsx/.xls) or Parquet. If the user attached the file to the chat, pass its path or name here (a file:// link, @name or #file:name also works); do not paste its contents. Relative names are found in the workspace folders. Files of millions of rows are fine. JSON/BSON and other NoSQL data are not tabular and are not supported. | |
| type | Yes | ||
| column | No | ||
| values | No | ||
| successes | No | ||
| confidence | No | Confidence level for intervals. Default 0.95. | |
| confirmation_token | No | Only after the user has confirmed the proposed choices: the confirmation_token from the previous response. |