-
Notifications
You must be signed in to change notification settings - Fork 0
5. Stat
Heloise edited this page Mar 21, 2017
·
11 revisions
The sub-module FUSS.stat
contains functions I use for statistical analysis.
The following 2 functions may later be removed as I now know of numpy.cov
, which evaluates the co-variance matrix given data and weights.
Provides the value of one element of the co-variance matrix (so either a variance or the covariance depending on the indices specified).
Parameters
- j (int): Column number
- k (int): Row number
- q (1D Array): First data set.
- q_r (1D Array): Error on the first data set
- u (1D Array): Second data set.
- u_r (1D Array): Error on the second data set
/!\ q, q_r, u, u_r must all have the same dimension.
Returns
- Element C(j,k) of the Covariance matrix C
email: [email protected]