I have normalized data and want to take a ratio, but there is one very large value…
- User
I have normalized data and want to take a ratio, but there is one very large value around 94, while the median is 0.01. how do i prevent this big difference in ratios?
Assistant
Here are a few options to consider when taking ratios with data that has one very large value compared to the median:
-
Log transform the data before taking ratios. Taking the log of the values will compress the scale and reduce the influence of the very large value. Then you can take ratios of the log transformed values.
-
Winsorize the large value. Choose a threshold (e.g. 95th percentile) and set the large value to that threshold before taking ratios. This reduces the influence of the outlier.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.