## distributions.DiscretizationReport


How a distribution was discretized, and the error that introduced.


Usage


``` python
distributions.DiscretizationReport()
```


Returned with the grid by [Grid.local_moment](distributions.Grid.md#prospicio.distributions.Grid.local_moment), [Grid.rounding](distributions.Grid.md#prospicio.distributions.Grid.rounding) and [Grid.lower](distributions.Grid.md#prospicio.distributions.Grid.lower).


## Attributes

| Name | Description |
|----|----|
| [grid_mean](#grid_mean) | Mean of the grid. |
| [method](#method) | Method: `"local_moment"`, `"rounding"` or `"lower"`. |
| [points](#points) | Number of grid points. |
| [source_mean](#source_mean) | Mean of the source distribution. |
| [step](#step) | Grid step. |
| [tail_mass](#tail_mass) | Probability the source puts above the last grid point, lumped onto it. |

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


#### grid_mean


Mean of the grid.


`grid_mean: float`


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


#### method


Method: `"local_moment"`, `"rounding"` or `"lower"`.


`method: str`


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


#### points


Number of grid points.


`points: int`


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


#### source_mean


Mean of the source distribution.


`source_mean: float`


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


#### step


Grid step.


`step: float`


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


#### tail_mass


Probability the source puts above the last grid point, lumped onto it.


`tail_mass: float`


## Methods

| Name | Description |
|----|----|
| [mean_error()](#mean_error) | `grid_mean - source_mean`. |

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


#### mean_error()


`grid_mean - source_mean`.


Usage


``` python
mean_error()
```


##### Returns


`float`
