one_combination {Umoments} | R Documentation |
Generate symbolic expression for expectation
Description
Generate a string with symbolic expression for expectation of powers and products of non-central (raw) sample moments of an arbitrary order.
Usage
one_combination(powvect, smpsize = "n")
Arguments
powvect |
vector of non-negative integers representing exponents
|
smpsize |
symbol to be used for sample size. Defaults to |
Details
For a zero-mean random variable X
and a sample , find
, where
is a
'th
non-central sample moment. The expression is given in terms of sample size
and true moments
of
. These expectations can
subsequently be used for generating unbiased central moment estimators of an
arbitrary order, Edgeworth expansions, and possibly solving other
higher-order problems.
Value
A string representing a symbolic expression for further processing using computer algebra (e.g. with Sage or SymPy), for calculating numeric values, or to be rendered with Latex.
Examples
one_combination(c(5, 0, 2, 1))