get_moment_constraints: Returns the constraints needed to enforce the pth moment to...

Description Usage Arguments Value

View source: R/constraints.R

Description

Returns the constraints needed to enforce the pth moment to be in the interval [a,b]

Usage

1
get_moment_constraints(m, s, moments, lower_bounds, upper_bounds)

Arguments

m

The order of the Bernstein densities.

s

The split points.

moment

The moment desired.

a

Lower bound for the mean

b

Upper bound for the mean. Defaults to a.

Value

A constraint matrix.


JonasMoss/polygrams documentation built on Nov. 8, 2019, 5:19 p.m.