Description Usage Arguments Details Value Author(s) Examples
View source: R/CorrectedVarianceEstimators.R
When we are dealing with a transformation of the latent Poisson mean Lambda, we need various useful functions. This function computes the necessary functions for a polynomial, and returns a list of the required functions.
1 | polynomial_transformation(coeffs)
|
coeffs |
A vector of coefficents of the polynomial. The constant term should not be included. |
The coefficients of the polynomial should be given in order of
decreasing degree, and should not include the constant term. For
example "coeffs"=c(1,2,3)
refers to the polynomial
X^3+2*X^2+3*X. This function returns a list of functions for dealing
with this transformation.
f |
evaluates the transformation |
g |
an estimator for the transformation of a latent Poisson mean |
solve |
computes the inverse transformation (often used for simulations) |
CVar |
an estimator for the conditional variance of g(X) |
Toby Kenney tkenney@mathstat.dal.ca and Tianshu Huang
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.