- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Large numerical value problem
Good morning,
I have a concern of too large numerical value. I have a JMP table, with in one column continuous X values (these are LogWorths), and in the next column an operation on these values: Y = 6 * X (for example).
The problem is that I have in some cases very large values: X = 5.1791e+307
In this case, Y = 6 * X gives me a missing value, like it can't calculate 6 * 5.1791e+307...
Have you encountered this problem before? If yes how to solve it?
Good day
This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problème de grande valeur numérique
Maximum number you can use seems to be ~1.797...+308 before it rolls to missing value (Maximum value for double-precision-floating-point?). Without knowing what you are doing and how your data otherwise looks I can just give some ideas about what you could do:
- Why do you have so large numbers? What do they mean? Could you do some sort of conversion (drop exponent, divide with some number, log...)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problème de grande valeur numérique
I have several logworth values X1, X2, X3 and I aggregate these logworths into a score in our algorithm context this way:
Score = (6*X1 + 3*X2 + X3)/10 .
We calculate this way because we want to give more importance to X1. A provisional solution we found for the moment is to first divide by 10 and then sum as indicated above... These cases of extreme values are rare though, because it means that the p-values are infinitely small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problème de grande valeur numérique
The Log Worth is the -Log10( p-value ), so these large numbers are extremely small p-values. What is the meaning of 6 * Log Worth? How will you use it? Is this value the same as the Low Worth of p^6?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problème de grande valeur numérique
I have several logworth values X1, X2, X3 and I aggregate these logworths into a score in our algorithm context this way:
Score = (6*X1 + 3*X2 + X3)/10 .
We calculate this way because we want to give more importance to X1. A provisional solution we found for the moment is to first divide by 10 and then sum as indicated above... These cases of extreme values are rare though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problème de grande valeur numérique
If any of the X1, X2, X3 values are in the neighborhood of E+300, adding a value less than E+285 will not change the total because the double precision floating point values only represent about 15 significant digits. Kind of like this:
12345678901234500000000000000...00000000 // 15 digits at far left + 1230000000000...00000000 // 3 more digits, but not overlapping ---------------------------------------- 12345678901234500000000000000...00000000 // no change
This is always a problem with accumulating small numbers into big totals, not just at the limit of the exponent range.
I don't know anything about Log Worth and p-value, but for similar sounding problems, I'd say you'll want to think out what it means and test for the exceptional case so you can represent it correctly:
- Does a huge value mean it isn't interesting and the other values determine the answer?
- Or does a huge value completely determine the answer by itself?
Your current JSL suggests you want the huge value to override the small values, effectively ignoring them.