# Atheistforums.com

## Science Section => Science General Discussion => Math and Computers => Topic started by: SGOS on June 29, 2017, 08:51:14 PM

Title: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: SGOS on June 29, 2017, 08:51:14 PM
I've came up with a math problem after applying weed killer to my lawn, and the directions say it should be watered a day or two later.  So I looked up the weather forecast, and it said that the chance of rain for the following three days is 50%, 40%, and 30%, so what is the chance that it will rain at some point over the entire 3 day period?  It seems like maybe you could average the three percentages, but I don't think that works, because with tomorrow alone there is a 50% chance, so for the three day period there has to be a minimum of a 50%.  Day two is less than 50%, but it seems like adding another day, even if it is a lower chance, should actually increase the chances over all.  Is there an answer here or not?

Put another way if there is a 10% chance for 100 days in a row, wouldn't a chance of rain over that many days approach a certainty?
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Baruch on June 29, 2017, 10:15:13 PM
I've came up with a math problem after applying weed killer to my lawn, and the directions say it should be watered a day or two later.  So I looked up the weather forecast, and it said that the chance of rain for the following three days is 50%, 40%, and 30%, so what is the chance that it will rain at some point over the entire 3 day period?  It seems like maybe you could average the three percentages, but I don't think that works, because with tomorrow alone there is a 50% chance, so for the three day period there has to be a minimum of a 50%.  Day two is less than 50%, but it seems like adding another day, even if it is a lower chance, should actually increase the chances over all.  Is there an answer here or not?

Put another way if there is a 10% chance for 100 days in a row, wouldn't a chance of rain over that many days approach a certainty?

The problem is ... is the odds of it raining day 2, dependent on if it rains on day 1 ... or is the odds of it raining on day 3, dependent on if it rains on either or both day 1 and day 2?

If the odds are independent day by day ... then the odds of it not raining (easier to calculate) is (how to calculate the odds of flipping heads three times in a row would be 0.5^3) 0.7x0.6x0.5 or 0.168 chance that it won't rain on any of the days ... so the odds of it raining on at least one of the days is 1.0-0.168 or 0.832
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Hakurei Reimu on June 29, 2017, 10:19:28 PM
I've came up with a math problem after applying weed killer to my lawn, and the directions say it should be watered a day or two later.  So I looked up the weather forecast, and it said that the chance of rain for the following three days is 50%, 40%, and 30%, so what is the chance that it will rain at some point over the entire 3 day period?  It seems like maybe you could average the three percentages, but I don't think that works, because with tomorrow alone there is a 50% chance, so for the three day period there has to be a minimum of a 50%.  Day two is less than 50%, but it seems like adding another day, even if it is a lower chance, should actually increase the chances over all.  Is there an answer here or not?
Yes, there is. See, the chance that it will rain at least once in the next three days is the same as saying that it will not be the case that it will not rain in the next three days. Assuming that the three are independent, then the chance that there will not be rain in the next three days are 50%, 60%, and 70%. Because these events are independent, the chance of all three days being without rain is the product of these three figures: which is 21%. Finally, the chance that there will be no rain in these three days beign 21% implies that at least one of them will see rain is 79%.

Put another way if there is a 10% chance for 100 days in a row, wouldn't a chance of rain over that many days approach a certainty?
Yes. The chance that it will rain at least once in the next 100 days is 99.9999...% (in fact, the difference between this and certainty is... 1e-100), and will get really really close to certainty (but never achieving it) as you consider more days. But only at the start of those days! Once the first 50 days pass without rain, you might consider watering your lawn.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Baruch on June 29, 2017, 10:33:42 PM
Since the weather is a vast chaotic system, independent events really don't apply, particularly after a long period of consecutive time.  It really isn't like flipping a coin, or a multisided D&D dice.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Atheon on June 30, 2017, 02:51:34 AM
You're both right, with the first reply doing the math with the assumption that the events are independent. But the reality is that they are not, which complicates the math. You would have to use conditional probabilities (like the odds that it will rain tomorrow given that it rained today). Over three days, if you know all the conditional probabilities, you could draw a probability tree and do the math. The more days involved, the more complex the math becomes.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Baruch on June 30, 2017, 06:49:59 AM
You're both right, with the first reply doing the math with the assumption that the events are independent. But the reality is that they are not, which complicates the math. You would have to use conditional probabilities (like the odds that it will rain tomorrow given that it rained today). Over three days, if you know all the conditional probabilities, you could draw a probability tree and do the math. The more days involved, the more complex the math becomes.

Don't let HR know that you know math ... triggers him.  I don't think the OP wanted a lecture in meteorology or chaos mechanics.  I had to think about the problem (doesn't happen much with my posts) ... because I can easily get things backward with ... probability.  It is kind of counter intuitive, and I am better at intuitive.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Hakurei Reimu on June 30, 2017, 07:32:29 AM
Don't let HR know that you know math ... triggers him.  I don't think the OP wanted a lecture in meteorology or chaos mechanics.  I had to think about the problem (doesn't happen much with my posts) ... because I can easily get things backward with ... probability.  It is kind of counter intuitive, and I am better at intuitive.
Baruch, I get "triggered" by people NOT knowing math, not by knowing it. I had similar thoughts of not bogging down the explanation, and there's no good way to account for conditionals with the information provided.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: SGOS on June 30, 2017, 07:37:19 AM
I understand that it can be mathematically solved, as I suspected, but wasn't sure.  So if I decide to spend my time assimilating the process it won't be a waste of time, well at least as a mental exercise.  But I'll still keep my hoses and sprinklers ready.

Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: trdsf on June 30, 2017, 12:48:40 PM
Also keep in mind that your probabilities don't stay static -- at first, it's as HR calculated, a 79% chance over the next three days.  But if Day 1 passes and rain doesn't happen, the chance over the next two days is 58% -- (100%-(60%*70%)) -- not the original 79%, because your 50/50 day drops out of the equation.

That's when you should probably start eyeing your hose with intent.

And that last is a sentence that should never be taken out of context.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Baruch on June 30, 2017, 12:58:46 PM
I understand that it can be mathematically solved, as I suspected, but wasn't sure.  So if I decide to spend my time assimilating the process it won't be a waste of time, well at least as a mental exercise.  But I'll still keep my hoses and sprinklers ready.

If you have to start using the formula for conditional probabilities ... then you have to pull the correlation coefficients out of your behind ... which are even more sketchy than the original odds.  If you can handle that degree of sketchiness ... you could be an economist ;-)
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: SGOS on June 30, 2017, 01:02:49 PM
If you have to start using the formula for conditional probabilities ... then you have to pull the correlation coefficients out of your behind ... which are even more sketchy than the original odds.  If you can handle that degree of sketchiness ... you could be an economist ;-)
For it what it's worth, it already rained this morning.  So that's already twice the 50% according to my monkeymath.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 26, 2017, 04:19:45 PM
For it what it's worth, it already rained this morning.  So that's already twice the 50% according to my monkeymath.

The odds are the multiplier of the percent for all the days divided by the number of days.  But it is less than that.  The odds of precipitation are for a large area.  YOUR specific odds are much less.  Trust me, I'm a gardener.  I know this practical stuff.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: aitm on August 26, 2017, 05:30:22 PM
Stupid question....wash car..rain..how hard was that?
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Sorginak on August 26, 2017, 05:32:56 PM
I've came up with a math problem after applying weed killer to my lawn, and the directions say it should be watered a day or two later.  So I looked up the weather forecast, and it said that the chance of rain for the following three days is 50%, 40%, and 30%, so what is the chance that it will rain at some point over the entire 3 day period?  It seems like maybe you could average the three percentages, but I don't think that works, because with tomorrow alone there is a 50% chance, so for the three day period there has to be a minimum of a 50%.  Day two is less than 50%, but it seems like adding another day, even if it is a lower chance, should actually increase the chances over all.  Is there an answer here or not?

Put another way if there is a 10% chance for 100 days in a row, wouldn't a chance of rain over that many days approach a certainty?

None of that is how the weather works, and conjoining math to it makes it doubly not work.

Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 26, 2017, 05:35:17 PM
Stupid question....wash car..rain..how hard was that?

Solution: soap car.  Let the rain come...  LOL!
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 26, 2017, 05:39:00 PM
None of that is how the weather works, and conjoining math to it makes it doubly not work.

The confusion isn't the math, it is understanding what the weather forecast means.  You can have a 100% rain forecast and stay dry.  It just means it rained all around you.  When I was young, I saw it raining across the street and we never got a drop in my yard.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Sorginak on August 26, 2017, 05:43:52 PM
The confusion isn't the math, it is understanding what the weather forecast means.  You can have a 100% rain forecast and stay dry.  It just means it rained all around you.  When I was young, I saw it raining across the street and we never got a drop in my yard.

It's probably more accurate depending on where one lives.  Florida, Washington state, any area along the coast probably receives rain more accurately with the percentage provided on the weather channel.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 26, 2017, 05:51:10 PM
It's probably more accurate depending on where one lives.  Florida, Washington state, any area along the coast probably receives rain more accurately with the percentage provided on the weather channel.
Some places are easier to forecast than others/  Wahington DC is notoriously difficult.  We get the Bermuda Highs coming up the coast, jet stream variations from the North, and standard weather coming over the Appalachians fro the west.

We have a routine joke here about shoveling 12" of" rain" off our driveways in January.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: aitm on August 26, 2017, 07:59:10 PM
It's all relative. 10% chance of rain over your house....100% chance of rain over amurica.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 31, 2017, 03:52:25 AM
It's all relative. 10% chance of rain over your house....100% chance of rain over amurica.

Some people don't understand the breadth of weather systems.  If I recall correctly, a British political reporter, used to having a single weather system covering all of Britain at once, forecast the voting in the 1964 US presidential election being depressed because he was in NYC and it was raining.

And along the same idea, Americans think 200 years is a long time while Europeans think 200 miles is a long distance...
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Unbeliever on August 31, 2017, 02:29:18 PM
There's a 50% chance of rain - either it will rain or it won't...
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on August 31, 2017, 02:39:57 PM
There's a 50% chance of rain - either it will rain or it won't...

But it also means likely to rain "SOMEWHERE" in the area.
Title: Re: Math Geeks? Can You Solve this? Seems Easy, But I've No Clue.
Post by: Cavebear on November 07, 2017, 02:39:02 AM
And there is another thing to keep in mind.  The odds of rain change by day.  Today was 50%.  But the odds of it raining on day 2 will change overnight.  And the odds of it raining on day 3 are even less certain.

As a gardener, if there were 50, 40, and 30% chances of rain in successive days and my garden meter said the soil at root level was "dry", I would water deeply day 1.