# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# computed using scipy.stats 1.7.3:
# (a, b, c, d) = (-5, -1, 0, 2)
# scipy.stats.trapezoid((b-a)/(d-a), (c-a)/(d-a), a, d-a)
parameters = -5.0, -1.0, 0.0, 2.0
mean = -1.1250000000000004
variance = 2.1510416666666643
lower = -5
upper = 2

cdf.points = -5. , -4.5, -4. , -3.5, -3. , -2.5, -2. , -1.5, -1. , -0.5,  0. , \
  0.5,  1. ,  1.5,  2.

cdf.values = \
  0.                 , 0.0078125          , 0.03125            , \
  0.0703125          , 0.125              , 0.19531250000000003, \
  0.28125            , 0.3828125          , 0.5                , \
  0.6250000000000001 , 0.7500000000000001 , 0.859375           , \
  0.9375             , 0.984375           , 1.

sf.values = \
  1.                , 0.9921875         , 0.96875           , \
  0.9296875         , 0.875             , 0.8046875         , \
  0.71875           , 0.6171875         , 0.5               , \
  0.3749999999999999, 0.2499999999999999, 0.140625          , \
  0.0625            , 0.015625          , 0.

pdf.values = \
  0.                 , 0.03125            , 0.0625             , \
  0.09375            , 0.125              , 0.15625            , \
  0.1875             , 0.21875            , 0.25               , \
  0.25               , 0.25               , 0.1875             , \
  0.12500000000000006, 0.06249999999999998, 0.
