Kde1d.simulate
- Kde1d.simulate(self, n: int, seeds: collections.abc.Sequence[int] = [], check_fitted: bool = True) numpy.ndarray
Simulates data from the fitted density.
- Parameters:
- nint
the number of observations to simulate.
- seedslist of int
an optional vector of seeds.
- check_fittedbool
an optional logical to bypass the check.
- Returns:
- ndarray, shape (n,), dtype float
simulated observations from the kernel density.