# BootstrapResult


Result of a bootstrap confidence interval computation.


Usage

``` python
BootstrapResult(
    estimate,
    se,
    conf_low,
    conf_high,
    conf_level,
    ci_type,
    n_boot,
    distribution,
)
```


## Attributes


`estimate: float`  
Point estimate from the original (non-resampled) data.

`se: float`  
Bootstrap standard error (standard deviation of the bootstrap distribution).

`conf_low: float`  
Lower confidence limit.

`conf_high: float`  
Upper confidence limit.

`conf_level: float`  
Confidence level used for the interval.

`ci_type: str`  
Type of confidence interval (`"percentile"`, `"normal"`, or `"bca"`).

`n_boot: int`  
Number of bootstrap replicates.

`distribution: Array`  
The full bootstrap distribution (array of length `n_boot=`).


## Methods

| Name | Description |
|----|----|
| [to_frame()](#to_frame) | Export the result as a single-row DataFrame. |

------------------------------------------------------------------------


### to_frame()


Export the result as a single-row DataFrame.


Usage

``` python
to_frame(
    *,
    format=None,
)
```


#### Parameters


`format: str | None = None`  
Backend format: `"pandas"`, `"polars"`, or `"pyarrow"`. Default (`None`) uses the first available backend.
