# ContrastResult


Result of a pairwise comparison between two conditions.


Usage

``` python
ContrastResult(
    term,
    x,
    difference,
    se,
    lower,
    upper,
    level,
    label,
)
```


## Attributes


`term: str`  
Smooth term label.

`x: NDArray`  
Covariate grid.

`difference: NDArray`  
Estimated difference (condition1 - condition2).

`se: NDArray`  
Standard error of the difference.

`lower: NDArray`  
Lower confidence bound.

`upper: NDArray`  
Upper confidence bound.

`level: float`  
Confidence level.

`label: str`  
Description of the comparison.
