- qspec.combined_pdf ( z , pdf_1 = 'pdf' , pdf_2 = 'pdf' , loc_1 = 0.0 , scale_1 = 1.0 , loc_2 = 0.0 , scale_2 = 1.0 , operator = '+' , n = 10 )[source]
-
- Parameters:
-
- zarray_like
The quantiles of the combined probability density function (pdf).
- pdf_1Callable
The pdf of the first random variate.
- pdf_2Callable
The pdf of the second random variate.
- loc_1float
The
locparameter of the first pdf.- scale_1float
The
scaleparameter of the first pdf.- loc_2float
The
locparameter of the second pdf.- scale_2float
The
scaleparameter of the second pdf.- operatorstr
The operator that defines the new random variate given by Z = X
Y. Currently supported operators are {"+", "*"}. - nint
The precision of the numerical integration. The integration uses 2 ** n intervals to evaluate the integral.
- Returns:
-
- outndarray
The value of the pdf at the given
zquantiles.