Probability before and after PCA projectionCombine n Normal distribution Probability Sets in a limited float...

Employee lack of ownership

Knife as defense against stray dogs

What is the purpose or proof behind chain rule?

How to make healing in an exploration game interesting

What's the meaning of a knight fighting a snail in medieval book illustrations?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

How do you talk to someone whose loved one is dying?

I got the following comment from a reputed math journal. What does it mean?

How to get the n-th line after a grepped one?

How to write cleanly even if my character uses expletive language?

Are all passive ability checks floors for active ability checks?

Counting models satisfying a boolean formula

Is there a symmetric-key algorithm which we can use for creating a signature?

How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?

What is a ^ b and (a & b) << 1?

Print a physical multiplication table

Have the tides ever turned twice on any open problem?

Why do passenger jet manufacturers design their planes with stall prevention systems?

A single argument pattern definition applies to multiple-argument patterns?

How to terminate ping <dest> &

Simplify an interface for flexibly applying rules to periods of time

Why does overlay work only on the first tcolorbox?

What options are left, if Britain cannot decide?

Is "upgrade" the right word to use in this context?



Probability before and after PCA projection


Combine n Normal distribution Probability Sets in a limited float rangeProbability of drawing an Ace: before and afterBefore and after training running timesorhogonal projectionProbability After Sampling Without Replacement Until SuccessConditional Sample from Gaussian CopulaGeometric Probability: P(Bob comes before 1:30 and Alice comes after Bob)Expected Value where probability changes after successAverage of conditional probabilities and co-occuranceProbability of rolling first 3 with a fair die before 10th roll and after 4th roll.













0












$begingroup$


If there is a set of points generated from a multivariate normal distribution with mean and covariance matrix:



mean=[1, 2]; covariance=[5, -2; -2, 3];


Data in original space



And is thereafter projected into PCA-space using the eigenvectors of the covariance:



PCA_cov=[-5.3, 0.93; 3.28, 1.5]; data_proj=PCA_cov^(-1)*data;


Projection into PCA space



The projected data now have mean and covariance:



mean_PC=[0.034, 1.26]; sigma=[0.4, 0.75];


Why does a projected point from the original- to PCA-space not exhibit the same probability?



It is the red squares in the previous images that have been used to calculate the graph below.



Calculated probability of data and projection



In the multivariate case it is calculated with SciPy.stats.multivariate_normal package, should therefore be correct.
In the projected space it is again calculate with SciPy, not multivariate. The probability in both axis is then multiplied together.



I guess the question can be summarized as: Why is the probability of a point and its projection not the same?



Thanks in advance!










share|cite|improve this question







New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$












  • $begingroup$
    My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
    $endgroup$
    – Michael
    Mar 12 at 8:07


















0












$begingroup$


If there is a set of points generated from a multivariate normal distribution with mean and covariance matrix:



mean=[1, 2]; covariance=[5, -2; -2, 3];


Data in original space



And is thereafter projected into PCA-space using the eigenvectors of the covariance:



PCA_cov=[-5.3, 0.93; 3.28, 1.5]; data_proj=PCA_cov^(-1)*data;


Projection into PCA space



The projected data now have mean and covariance:



mean_PC=[0.034, 1.26]; sigma=[0.4, 0.75];


Why does a projected point from the original- to PCA-space not exhibit the same probability?



It is the red squares in the previous images that have been used to calculate the graph below.



Calculated probability of data and projection



In the multivariate case it is calculated with SciPy.stats.multivariate_normal package, should therefore be correct.
In the projected space it is again calculate with SciPy, not multivariate. The probability in both axis is then multiplied together.



I guess the question can be summarized as: Why is the probability of a point and its projection not the same?



Thanks in advance!










share|cite|improve this question







New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$












  • $begingroup$
    My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
    $endgroup$
    – Michael
    Mar 12 at 8:07
















0












0








0





$begingroup$


If there is a set of points generated from a multivariate normal distribution with mean and covariance matrix:



mean=[1, 2]; covariance=[5, -2; -2, 3];


Data in original space



And is thereafter projected into PCA-space using the eigenvectors of the covariance:



PCA_cov=[-5.3, 0.93; 3.28, 1.5]; data_proj=PCA_cov^(-1)*data;


Projection into PCA space



The projected data now have mean and covariance:



mean_PC=[0.034, 1.26]; sigma=[0.4, 0.75];


Why does a projected point from the original- to PCA-space not exhibit the same probability?



It is the red squares in the previous images that have been used to calculate the graph below.



Calculated probability of data and projection



In the multivariate case it is calculated with SciPy.stats.multivariate_normal package, should therefore be correct.
In the projected space it is again calculate with SciPy, not multivariate. The probability in both axis is then multiplied together.



I guess the question can be summarized as: Why is the probability of a point and its projection not the same?



Thanks in advance!










share|cite|improve this question







New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




If there is a set of points generated from a multivariate normal distribution with mean and covariance matrix:



mean=[1, 2]; covariance=[5, -2; -2, 3];


Data in original space



And is thereafter projected into PCA-space using the eigenvectors of the covariance:



PCA_cov=[-5.3, 0.93; 3.28, 1.5]; data_proj=PCA_cov^(-1)*data;


Projection into PCA space



The projected data now have mean and covariance:



mean_PC=[0.034, 1.26]; sigma=[0.4, 0.75];


Why does a projected point from the original- to PCA-space not exhibit the same probability?



It is the red squares in the previous images that have been used to calculate the graph below.



Calculated probability of data and projection



In the multivariate case it is calculated with SciPy.stats.multivariate_normal package, should therefore be correct.
In the projected space it is again calculate with SciPy, not multivariate. The probability in both axis is then multiplied together.



I guess the question can be summarized as: Why is the probability of a point and its projection not the same?



Thanks in advance!







probability probability-distributions projective-space






share|cite|improve this question







New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question







New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question






New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 11 at 10:33









MichaelMichael

11




11




New contributor




Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Michael is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • $begingroup$
    My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
    $endgroup$
    – Michael
    Mar 12 at 8:07




















  • $begingroup$
    My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
    $endgroup$
    – Michael
    Mar 12 at 8:07


















$begingroup$
My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
$endgroup$
– Michael
Mar 12 at 8:07






$begingroup$
My question is as read at the end: Why is the probability of a point and its projection not the same? It is not projected to a lower dimension just rotated and scaled into the orthogonal eigenspace
$endgroup$
– Michael
Mar 12 at 8:07












0






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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Michael is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3143536%2fprobability-before-and-after-pca-projection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Michael is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Michael is a new contributor. Be nice, and check out our Code of Conduct.













Michael is a new contributor. Be nice, and check out our Code of Conduct.












Michael is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3143536%2fprobability-before-and-after-pca-projection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Nidaros erkebispedøme

Birsay

Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...