Percentage with negative numbers











up vote
0
down vote

favorite












I have several competitors in an economic market, each one with a score of a strength indicator. Scores can vary in [-inf,inf]. For a subset of competitors, I need to calculate their relative importance.



With all positive scores (like in CASE A), I've been calculating relative importance using the following formula (like in percentages):



formula



CASE A



Score 1 = 1 -- > r = 0.1111



Score 2 = 2 --> r = 0.2222



Score 3 = 6 --> r = 0.6667



How can I replicate my intent in CASE B, where I have some negative scores? Here, the above-mentioned formula does not reach my goal anymore.



CASE B



Score 1 = 1 -- > r = ?



Score 2 = 2 --> r = ?



Score 3 = 6 --> r = ?



Score 4 = -100 --> r = ?










share|cite|improve this question






















  • You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
    – Dmitry
    Nov 19 at 8:14










  • Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
    – Forinstance
    Nov 19 at 8:18












  • why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
    – Dmitry
    Nov 19 at 8:24












  • Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
    – Forinstance
    Nov 19 at 8:35








  • 1




    OK, I'll try to come up with some plausible expression later.
    – Dmitry
    Nov 19 at 8:46















up vote
0
down vote

favorite












I have several competitors in an economic market, each one with a score of a strength indicator. Scores can vary in [-inf,inf]. For a subset of competitors, I need to calculate their relative importance.



With all positive scores (like in CASE A), I've been calculating relative importance using the following formula (like in percentages):



formula



CASE A



Score 1 = 1 -- > r = 0.1111



Score 2 = 2 --> r = 0.2222



Score 3 = 6 --> r = 0.6667



How can I replicate my intent in CASE B, where I have some negative scores? Here, the above-mentioned formula does not reach my goal anymore.



CASE B



Score 1 = 1 -- > r = ?



Score 2 = 2 --> r = ?



Score 3 = 6 --> r = ?



Score 4 = -100 --> r = ?










share|cite|improve this question






















  • You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
    – Dmitry
    Nov 19 at 8:14










  • Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
    – Forinstance
    Nov 19 at 8:18












  • why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
    – Dmitry
    Nov 19 at 8:24












  • Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
    – Forinstance
    Nov 19 at 8:35








  • 1




    OK, I'll try to come up with some plausible expression later.
    – Dmitry
    Nov 19 at 8:46













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have several competitors in an economic market, each one with a score of a strength indicator. Scores can vary in [-inf,inf]. For a subset of competitors, I need to calculate their relative importance.



With all positive scores (like in CASE A), I've been calculating relative importance using the following formula (like in percentages):



formula



CASE A



Score 1 = 1 -- > r = 0.1111



Score 2 = 2 --> r = 0.2222



Score 3 = 6 --> r = 0.6667



How can I replicate my intent in CASE B, where I have some negative scores? Here, the above-mentioned formula does not reach my goal anymore.



CASE B



Score 1 = 1 -- > r = ?



Score 2 = 2 --> r = ?



Score 3 = 6 --> r = ?



Score 4 = -100 --> r = ?










share|cite|improve this question













I have several competitors in an economic market, each one with a score of a strength indicator. Scores can vary in [-inf,inf]. For a subset of competitors, I need to calculate their relative importance.



With all positive scores (like in CASE A), I've been calculating relative importance using the following formula (like in percentages):



formula



CASE A



Score 1 = 1 -- > r = 0.1111



Score 2 = 2 --> r = 0.2222



Score 3 = 6 --> r = 0.6667



How can I replicate my intent in CASE B, where I have some negative scores? Here, the above-mentioned formula does not reach my goal anymore.



CASE B



Score 1 = 1 -- > r = ?



Score 2 = 2 --> r = ?



Score 3 = 6 --> r = ?



Score 4 = -100 --> r = ?







percentages ratio






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 19 at 8:03









Forinstance

1011




1011












  • You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
    – Dmitry
    Nov 19 at 8:14










  • Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
    – Forinstance
    Nov 19 at 8:18












  • why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
    – Dmitry
    Nov 19 at 8:24












  • Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
    – Forinstance
    Nov 19 at 8:35








  • 1




    OK, I'll try to come up with some plausible expression later.
    – Dmitry
    Nov 19 at 8:46


















  • You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
    – Dmitry
    Nov 19 at 8:14










  • Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
    – Forinstance
    Nov 19 at 8:18












  • why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
    – Dmitry
    Nov 19 at 8:24












  • Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
    – Forinstance
    Nov 19 at 8:35








  • 1




    OK, I'll try to come up with some plausible expression later.
    – Dmitry
    Nov 19 at 8:46
















You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
– Dmitry
Nov 19 at 8:14




You should specify what is the meaning of a negative score. Do you expect that a competitor with negative score has a negative relative importance? It would be helpful if you could provide an example of the situation that you want to model.
– Dmitry
Nov 19 at 8:14












Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
– Forinstance
Nov 19 at 8:18






Thank you Dmitry. Negative numbers come out from the fact that the original scores are standardized with respect to all the market players and not only to the competitors in my subset. Standardization has been achieved subtracting the mean and dividing by the standard deviation. So it means below the average, but not in every case I can access the original average. Not sure if I explained myself clearly.
– Forinstance
Nov 19 at 8:18














why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
– Dmitry
Nov 19 at 8:24






why wouldn't you just shift all the scores by the lowest value? Say, $tilde{r}_i=r_i - min_{j}(r_j)$. For your example this will give: $r_1=101,dots,r_4=0$
– Dmitry
Nov 19 at 8:24














Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
– Forinstance
Nov 19 at 8:35






Because this would give me a problem, I think: I would have 101,102,106 and 0, in case B. Doing the percentage afterwards, I would get: 0.3269, 0.3301, 0.3430 and 0. In orginal scores score 2 was the double of score 1 (2 vs 1), which is however not represeted in these final numbers (0.3269 vs 0.3301). On the other hand, this is represented in case A (0.11 vs 0.22).
– Forinstance
Nov 19 at 8:35






1




1




OK, I'll try to come up with some plausible expression later.
– Dmitry
Nov 19 at 8:46




OK, I'll try to come up with some plausible expression later.
– Dmitry
Nov 19 at 8:46










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Let's stick to your notation and define the score of the $i$th competitor by $x_i$ and the relative importance by $r_i$.



The definition $r_i=frac{x_i}{sum_{j=1}^n |x_j|}$ has the following drawbacks:




  1. The relative importance can be negative if $x_i<0$. This is not easy to interpret. Let's say you have two competitors with relative importance $r_i=0.1$ and $r_j=-0.1$. How would you compare these numbers?

  2. Large negative score strongly influences the resulting values of the relative importance which is counterintuitive.


One possible option would be to define the relative importance using an exponential function:
$$r_i=frac{alpha^{x_i}}{sum_{j=1}^n alpha^{x_j}},$$
with the base $alpha>1$. This formulation has an advantage of penalizing very small (negative) scores. However, the relative importance grows nonlinearly with $x_i$, i.e., $x_i=2x_j$ does not imply $r_i=2r_j$.






share|cite|improve this answer





















  • Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
    – Forinstance
    Dec 4 at 15:03











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%2f3004637%2fpercentage-with-negative-numbers%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Let's stick to your notation and define the score of the $i$th competitor by $x_i$ and the relative importance by $r_i$.



The definition $r_i=frac{x_i}{sum_{j=1}^n |x_j|}$ has the following drawbacks:




  1. The relative importance can be negative if $x_i<0$. This is not easy to interpret. Let's say you have two competitors with relative importance $r_i=0.1$ and $r_j=-0.1$. How would you compare these numbers?

  2. Large negative score strongly influences the resulting values of the relative importance which is counterintuitive.


One possible option would be to define the relative importance using an exponential function:
$$r_i=frac{alpha^{x_i}}{sum_{j=1}^n alpha^{x_j}},$$
with the base $alpha>1$. This formulation has an advantage of penalizing very small (negative) scores. However, the relative importance grows nonlinearly with $x_i$, i.e., $x_i=2x_j$ does not imply $r_i=2r_j$.






share|cite|improve this answer





















  • Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
    – Forinstance
    Dec 4 at 15:03















up vote
1
down vote













Let's stick to your notation and define the score of the $i$th competitor by $x_i$ and the relative importance by $r_i$.



The definition $r_i=frac{x_i}{sum_{j=1}^n |x_j|}$ has the following drawbacks:




  1. The relative importance can be negative if $x_i<0$. This is not easy to interpret. Let's say you have two competitors with relative importance $r_i=0.1$ and $r_j=-0.1$. How would you compare these numbers?

  2. Large negative score strongly influences the resulting values of the relative importance which is counterintuitive.


One possible option would be to define the relative importance using an exponential function:
$$r_i=frac{alpha^{x_i}}{sum_{j=1}^n alpha^{x_j}},$$
with the base $alpha>1$. This formulation has an advantage of penalizing very small (negative) scores. However, the relative importance grows nonlinearly with $x_i$, i.e., $x_i=2x_j$ does not imply $r_i=2r_j$.






share|cite|improve this answer





















  • Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
    – Forinstance
    Dec 4 at 15:03













up vote
1
down vote










up vote
1
down vote









Let's stick to your notation and define the score of the $i$th competitor by $x_i$ and the relative importance by $r_i$.



The definition $r_i=frac{x_i}{sum_{j=1}^n |x_j|}$ has the following drawbacks:




  1. The relative importance can be negative if $x_i<0$. This is not easy to interpret. Let's say you have two competitors with relative importance $r_i=0.1$ and $r_j=-0.1$. How would you compare these numbers?

  2. Large negative score strongly influences the resulting values of the relative importance which is counterintuitive.


One possible option would be to define the relative importance using an exponential function:
$$r_i=frac{alpha^{x_i}}{sum_{j=1}^n alpha^{x_j}},$$
with the base $alpha>1$. This formulation has an advantage of penalizing very small (negative) scores. However, the relative importance grows nonlinearly with $x_i$, i.e., $x_i=2x_j$ does not imply $r_i=2r_j$.






share|cite|improve this answer












Let's stick to your notation and define the score of the $i$th competitor by $x_i$ and the relative importance by $r_i$.



The definition $r_i=frac{x_i}{sum_{j=1}^n |x_j|}$ has the following drawbacks:




  1. The relative importance can be negative if $x_i<0$. This is not easy to interpret. Let's say you have two competitors with relative importance $r_i=0.1$ and $r_j=-0.1$. How would you compare these numbers?

  2. Large negative score strongly influences the resulting values of the relative importance which is counterintuitive.


One possible option would be to define the relative importance using an exponential function:
$$r_i=frac{alpha^{x_i}}{sum_{j=1}^n alpha^{x_j}},$$
with the base $alpha>1$. This formulation has an advantage of penalizing very small (negative) scores. However, the relative importance grows nonlinearly with $x_i$, i.e., $x_i=2x_j$ does not imply $r_i=2r_j$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 21 at 13:29









Dmitry

604517




604517












  • Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
    – Forinstance
    Dec 4 at 15:03


















  • Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
    – Forinstance
    Dec 4 at 15:03
















Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
– Forinstance
Dec 4 at 15:03




Thanks a lot! Is there any other solution that would keep the relationship linear? I.e. keeping the proportion xi=2xj?
– Forinstance
Dec 4 at 15:03


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


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%2f3004637%2fpercentage-with-negative-numbers%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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents