Quantcast Negative values in covariance matrix Text - Physics Forums Library

PDA

View Full Version : Negative values in covariance matrix


latvietis
Aug10-08, 03:36 PM
Hello

I had measured luminescence decay profile. Then I want to fit a function which would approximate my experimental date. For that I make a simple program in LabWiev. The problem is that, that program give me out a negative values in covariance matrix. Why that?


P.S.
Sorry for my English

maze
Aug10-08, 03:56 PM
Negative covariance is OK. It means that higher-than-average results from one variable will happen at the same time as lower-than-average results from the other variable.

For example, the covariance between how cold it is out and much people get sunburned is probably negative.

If you have more intuition for correlation, this may help: the covariance between 2 variables is just the correlation between the variables, scaled by the standard deviations.

latvietis
Aug10-08, 04:48 PM
Ok

But problem is that the negative values is in diagonal elements. Diagonals elements of covariance matrix is \sigma^2. So I get that errors of functions coefficients \sigma is imaginary.