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

  • Context: Undergrad 
  • Thread starter Thread starter adan
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating and emphasizing proportions of two variables, x and y, using the formulas x/(x+y) for x and y/(x+y) for y. The participants highlight that when x is significantly larger than y, the proportion of x approaches 1, as seen in examples where x=4229, y=80 and x=4617, y=91, both yielding a proportion of approximately 0.981 for x. Additionally, an alternative approach is suggested to generate values P and N between 0 and 1, defined as P=x/(1+x) and N=y/(1+y), to better reflect the relative sizes of x and y.

PREREQUISITES
  • Understanding of basic mathematical ratios and proportions
  • Familiarity with variable manipulation in mathematical expressions
  • Knowledge of how to interpret and analyze datasets
  • Basic programming skills for implementing calculations (optional)
NEXT STEPS
  • Explore advanced statistical methods for emphasizing variable proportions
  • Learn about data visualization techniques to represent proportions effectively
  • Investigate the use of normalization techniques in data analysis
  • Study the implications of ratio-based comparisons in statistical modeling
USEFUL FOR

Data analysts, statisticians, and anyone involved in quantitative research who seeks to understand and emphasize the relationships between variables in datasets.

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
 
Physics 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.
 
  • Like
Likes   Reactions: adan
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.
 
  • Like
Likes   Reactions: adan
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)
 
  • Like
Likes   Reactions: Delta2

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
4K