# {py:mod}`causalis.scenarios.classic_rct.model`

```{py:module} causalis.scenarios.classic_rct.model
```

```{autodoc2-docstring} causalis.scenarios.classic_rct.model
:allowtitles:
```

## Module Contents

### Classes

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`DiffInMeans <causalis.scenarios.classic_rct.model.DiffInMeans>`
  - ```{autodoc2-docstring} causalis.scenarios.classic_rct.model.DiffInMeans
    :summary:
    ```
````

### API

`````{py:class} DiffInMeans()
:canonical: causalis.scenarios.classic_rct.model.DiffInMeans

```{autodoc2-docstring} causalis.scenarios.classic_rct.model.DiffInMeans
```

```{rubric} Initialization
```

```{autodoc2-docstring} causalis.scenarios.classic_rct.model.DiffInMeans.__init__
```

````{py:method} fit(data: causalis.dgp.causaldata.CausalData) -> causalis.scenarios.classic_rct.model.DiffInMeans
:canonical: causalis.scenarios.classic_rct.model.DiffInMeans.fit

```{autodoc2-docstring} causalis.scenarios.classic_rct.model.DiffInMeans.fit
```

````

````{py:method} estimate(method: typing.Literal[causalis.scenarios.classic_rct.inference.ttest, causalis.scenarios.classic_rct.inference.welch_permutation_t_test, causalis.scenarios.classic_rct.inference.conversion_ztest] = 'ttest', alpha: float = 0.05, diagnostic_data: bool = True, **kwargs: typing.Any) -> causalis.data_contracts.causal_estimate.CausalEstimate
:canonical: causalis.scenarios.classic_rct.model.DiffInMeans.estimate

```{autodoc2-docstring} causalis.scenarios.classic_rct.model.DiffInMeans.estimate
```

````

````{py:method} __repr__() -> str
:canonical: causalis.scenarios.classic_rct.model.DiffInMeans.__repr__

````

`````
