I What is the best way to emphasize the proportion of x or y in a dataset?

  • Thread starter Thread starter adan
  • Start date Start date
Click For Summary
To emphasize the proportion of variables x and y in a dataset, the formulas x/(x+y) and y/(x+y) are used to calculate their respective proportions. When x is significantly larger than y, the proportion of x approaches 1, indicating a high emphasis on x. However, if both x and y increase simultaneously, the proportion of x may not necessarily increase, which highlights the importance of using ratios for comparison. An alternative approach suggested involves generating two values, P and N, where P increases with higher x and N increases with higher y, using the formulas P=x/(1+x) and N=y/(1+y). This method aims to provide a clearer distinction in emphasizing the contributions of x and y.
adan
Messages
13
Reaction score
3
Hi,
There are two variables x and y. I compute a proportion of the x as x/(x+y), and the proportion of y as y/(x+y). I want to emphasize more on the amount of x or y. If x is high then the proportion should be high.
Using the above formulas if x=4229, y= 80, then x proportion = 0.981, when x=4617 and y=91, then x proportion approximately equal 0.981.

I hope I made it clear and I would appreciate any suggestion.

Thanks
 
Mathematics news on Phys.org
adan said:
Hi,
There are two variables x and y. I compute a proportion of the x as x/(x+y), and the proportion of y as y/(x+y). I want to emphasize more on the amount of x or y. If x is high then the proportion should be high.
Using the above formulas if x=4229, y= 80, then x proportion = 0.981, when x=4617 and y=91, then x proportion approximately equal 0.981.

I hope I made it clear and I would appreciate any suggestion.
Do you have a question?

The proportions are, more clearly, the proportion or ratio of x to the sum of x and y and the ratio of y to the sum of x and y. Whichever variable is larger will make for a higher proportion of that variable to the sum of the two variables.
 
adan said:
If x is high then the proportion should be high.
At the same y, it is. If both x and y increase then the proportion of x doesn't have to increase. That's the point of taking the ratio. If you just want to compare absolute numbers, use the absolute numbers.
 
Thanks all. I think I would like to do something that can't be done using the ratio. The idea is to generate two values (P,N) between 0 and 1. If x is high P increases, and if y is high N increases. Where x and y >= 0.
I will try P=x/(1+x) and N = y/(1+y)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
6
Views
3K
Replies
6
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K