powered by
Bimodal distributions. Refer to the vignette for better examples.
bmbvpdf (mean.X1, mean.Y1, variance.X1, variance.Y1, mean.X2, mean.Y2, variance.X2, variance.Y2, w=0.5) bmbvcdf (mean.X1, mean.Y1, variance.X1, variance.Y1, mean.X2, mean.Y2, variance.X2, variance.Y2, w=0.5)
Numeric scalar, giving the mean of the first X component.
Numeric scalar, giving the mean of the first Y component.
Numeric scalar, giving the variance of the first X component.
Numeric scalar, giving the variance of the first Y component.
Numeric scalar, giving the mean of the second X component.
Numeric scalar, giving the mean of the second Y component.
Numeric scalar, giving the variance of the second X component.
Numeric scalar, giving the variance of the second Y component.
Numeric scalar in the interval (0, 1), giving the weight of the first component.
These functions return functions.
bmbvpdf.f, bmbvcdf.f
# NOT RUN { #construct some bimodal distributions bmbvpdf.f = bmbvpdf (3.5, 0, 1, 1, 6.5, 0, 1, 1) bmbvcdf.f = bmbvcdf (3.5, 0, 1, 1, 6.5, 0, 1, 1) # }
Run the code above in your browser using DataLab