Probability - Similarity Rate in the random Signal











up vote
0
down vote

favorite












I have a random signal (vector) that consists of random variables varying between -2 and 2. I want to know how many similar patterns do I have in this random signal. In order to achieve this, I select first 5 points and finding similarity percentage (Correlation Coefficient) of this vector by shifting point by point in the vector. Meanwhile, I'm counting the patterns which similarity is over 95% and got 1500 similar patterns with the selected piece.
You can see the process visually here



Then selecting 8 points and shifting again point by point. For this case, I got about 800 similar patterns.
From this experiment, I learnt, as I increase the size of shifting pattern I get less number of the similar case.



Intuitively, I understand the reason for this process. But I'm searching for a mathematical equation to represent this relationship between shifting vector size and the number of similarities.










share|cite|improve this question






















  • No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
    – kirilloid
    Nov 12 at 23:50















up vote
0
down vote

favorite












I have a random signal (vector) that consists of random variables varying between -2 and 2. I want to know how many similar patterns do I have in this random signal. In order to achieve this, I select first 5 points and finding similarity percentage (Correlation Coefficient) of this vector by shifting point by point in the vector. Meanwhile, I'm counting the patterns which similarity is over 95% and got 1500 similar patterns with the selected piece.
You can see the process visually here



Then selecting 8 points and shifting again point by point. For this case, I got about 800 similar patterns.
From this experiment, I learnt, as I increase the size of shifting pattern I get less number of the similar case.



Intuitively, I understand the reason for this process. But I'm searching for a mathematical equation to represent this relationship between shifting vector size and the number of similarities.










share|cite|improve this question






















  • No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
    – kirilloid
    Nov 12 at 23:50













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a random signal (vector) that consists of random variables varying between -2 and 2. I want to know how many similar patterns do I have in this random signal. In order to achieve this, I select first 5 points and finding similarity percentage (Correlation Coefficient) of this vector by shifting point by point in the vector. Meanwhile, I'm counting the patterns which similarity is over 95% and got 1500 similar patterns with the selected piece.
You can see the process visually here



Then selecting 8 points and shifting again point by point. For this case, I got about 800 similar patterns.
From this experiment, I learnt, as I increase the size of shifting pattern I get less number of the similar case.



Intuitively, I understand the reason for this process. But I'm searching for a mathematical equation to represent this relationship between shifting vector size and the number of similarities.










share|cite|improve this question













I have a random signal (vector) that consists of random variables varying between -2 and 2. I want to know how many similar patterns do I have in this random signal. In order to achieve this, I select first 5 points and finding similarity percentage (Correlation Coefficient) of this vector by shifting point by point in the vector. Meanwhile, I'm counting the patterns which similarity is over 95% and got 1500 similar patterns with the selected piece.
You can see the process visually here



Then selecting 8 points and shifting again point by point. For this case, I got about 800 similar patterns.
From this experiment, I learnt, as I increase the size of shifting pattern I get less number of the similar case.



Intuitively, I understand the reason for this process. But I'm searching for a mathematical equation to represent this relationship between shifting vector size and the number of similarities.







probability computer-science random bayesian






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 12 at 17:04









Tarlan Ahad

63




63












  • No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
    – kirilloid
    Nov 12 at 23:50


















  • No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
    – kirilloid
    Nov 12 at 23:50
















No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
– kirilloid
Nov 12 at 23:50




No idea how do you define similarity, but if the signal is random, then you just need to calculate probability. Define the process and how similarity defined and you’lol get a clear picture.
– kirilloid
Nov 12 at 23:50















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: 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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2995566%2fprobability-similarity-rate-in-the-random-signal%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























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%2f2995566%2fprobability-similarity-rate-in-the-random-signal%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?