What is the meaning of infinite covariance?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












When I fit a line to a given set of data points then all the elements of the covariance matrix comes out to be infinite . What is the meaning of this infinite covariance and what measures I should take?







share|cite|improve this question



















  • Could you provide more details ? Are you talking about an implementation on a "real" data set ?
    – nicomezi
    Aug 2 at 8:36











  • Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
    – Debobrata Rajak
    Aug 2 at 8:46










  • How do you compute it ?
    – nicomezi
    Aug 2 at 9:03










  • I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
    – Debobrata Rajak
    Aug 2 at 10:50










  • Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
    – nicomezi
    Aug 2 at 11:01















up vote
0
down vote

favorite












When I fit a line to a given set of data points then all the elements of the covariance matrix comes out to be infinite . What is the meaning of this infinite covariance and what measures I should take?







share|cite|improve this question



















  • Could you provide more details ? Are you talking about an implementation on a "real" data set ?
    – nicomezi
    Aug 2 at 8:36











  • Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
    – Debobrata Rajak
    Aug 2 at 8:46










  • How do you compute it ?
    – nicomezi
    Aug 2 at 9:03










  • I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
    – Debobrata Rajak
    Aug 2 at 10:50










  • Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
    – nicomezi
    Aug 2 at 11:01













up vote
0
down vote

favorite









up vote
0
down vote

favorite











When I fit a line to a given set of data points then all the elements of the covariance matrix comes out to be infinite . What is the meaning of this infinite covariance and what measures I should take?







share|cite|improve this question











When I fit a line to a given set of data points then all the elements of the covariance matrix comes out to be infinite . What is the meaning of this infinite covariance and what measures I should take?









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Aug 2 at 5:56









Debobrata Rajak

12




12











  • Could you provide more details ? Are you talking about an implementation on a "real" data set ?
    – nicomezi
    Aug 2 at 8:36











  • Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
    – Debobrata Rajak
    Aug 2 at 8:46










  • How do you compute it ?
    – nicomezi
    Aug 2 at 9:03










  • I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
    – Debobrata Rajak
    Aug 2 at 10:50










  • Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
    – nicomezi
    Aug 2 at 11:01

















  • Could you provide more details ? Are you talking about an implementation on a "real" data set ?
    – nicomezi
    Aug 2 at 8:36











  • Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
    – Debobrata Rajak
    Aug 2 at 8:46










  • How do you compute it ?
    – nicomezi
    Aug 2 at 9:03










  • I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
    – Debobrata Rajak
    Aug 2 at 10:50










  • Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
    – nicomezi
    Aug 2 at 11:01
















Could you provide more details ? Are you talking about an implementation on a "real" data set ?
– nicomezi
Aug 2 at 8:36





Could you provide more details ? Are you talking about an implementation on a "real" data set ?
– nicomezi
Aug 2 at 8:36













Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
– Debobrata Rajak
Aug 2 at 8:46




Yeah! I have a raw data set and I fit it with a function and find the covariance between the raw data and points on the fitted line.
– Debobrata Rajak
Aug 2 at 8:46












How do you compute it ?
– nicomezi
Aug 2 at 9:03




How do you compute it ?
– nicomezi
Aug 2 at 9:03












I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
– Debobrata Rajak
Aug 2 at 10:50




I use the method of least squares to find the fit. Here is the python function I use docs.scipy.org/doc/scipy/reference/generated/…
– Debobrata Rajak
Aug 2 at 10:50












Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
– nicomezi
Aug 2 at 11:01





Ok, good to know. But I was talking about the covariance. It is unlikely that a real life sample generates numbers overcoming the computer abilities.
– nicomezi
Aug 2 at 11:01
















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2869740%2fwhat-is-the-meaning-of-infinite-covariance%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2869740%2fwhat-is-the-meaning-of-infinite-covariance%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?

What is the equation of a 3D cone with generalised tilt?