Description Usage Arguments Details Value Examples
Main smoothing procedure for Poisson data. Takes a univariate inhomogeneous Poisson process and estimates its mean intensity.
1 2 3 4 5 6 7 8 9 10 |
x |
A vector of Poisson counts (reflection is done
automatically if length of |
post.var |
Boolean, indicates if the posterior variance should be returned. |
log |
bool, determines if smoothed signal is returned on log scale or not |
reflect |
A logical indicating if the signals should be reflected. |
glm.approx.param |
A list of parameters to be passed to
|
ashparam |
A list of parameters to be passed to |
cxx |
bool, indicates if C++ code should be used to create TI tables. |
lev |
integer from 0 to J-1, indicating primary level of resolution. Should NOT be used (ie shrinkage is performed at all resolutions) unless there is good reason to do so. |
We assume that the data come from the model Y_t \sim Pois(μ_t) for t=1,...,T, where μ_t is the underlying intensity, assumed to be spatially structured (or treated as points sampled from a smooth continous function). The Y_t are assumed to be independent. Smash provides estimates of μ_t (and its posterior variance if desired).
smash.poiss
returns the mean estimate by default,
with the posterior variance as an additional component if
post.var
is TRUE.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.