Bitcoin Forum
May 04, 2024, 01:24:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with Probability  (Read 921 times)
timeshareafrica (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100



View Profile
December 13, 2012, 07:34:46 AM
 #1

In a suburb 30% of the households have installed security systems,
a. If a household is chosen at random from this suburb what is the probability that this household has not installed an security system?
b. If two households are choosen at random from this suburb what is the probability that neither has installed an security system?

You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714785876
Hero Member
*
Offline Offline

Posts: 1714785876

View Profile Personal Message (Offline)

Ignore
1714785876
Reply with quote  #2

1714785876
Report to moderator
Foxpup
Legendary
*
Online Online

Activity: 4354
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
December 13, 2012, 08:02:02 AM
 #2

a. 70%
b. less than 49%; how much less depends on how many houses are in the suburb, eg if there are 100 houses, the probability is 48.788%

What do I win?

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
Luno
Sr. Member
****
Offline Offline

Activity: 504
Merit: 250


View Profile
December 13, 2012, 08:07:30 AM
 #3

What is this? Research for a new BTC business?
timeshareafrica (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100



View Profile
December 13, 2012, 10:55:55 AM
 #4

a. 70%
b. less than 49%; how much less depends on how many houses are in the suburb, eg if there are 100 houses, the probability is 48.788%

What do I win?
Thanks for the answer, if one does not know the number of houses in the suburb?

 I only have one problem with answer b.
I think the events are probabilistically independent and cannot be settled with mathematical arguments and can only be settled with impirical data to decide wheater independence is reasonalbe. Huh
Foxpup
Legendary
*
Online Online

Activity: 4354
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
December 13, 2012, 12:44:52 PM
 #5

Thanks for the answer, if one does not know the number of houses in the suburb?


 I only have one problem with answer b.
I think the events are probabilistically independent and cannot be settled with mathematical arguments and can only be settled with impirical data to decide wheater independence is reasonalbe. Huh
They most certainly are not independent. In order for neither house to have a security system, two things must happen, the second being conditional on the first: the first house you pick must not have a security system (which obviously has a probability of 70%), AND, having already picked a house that doesn't have security system, you must pick another house that also doesn't have a security system (that much is obvious, but what is not obvious is that the probability of this is less than 70%).

A different scenario will make the reason clear: suppose you have two shoes, 50% of which are left shoes and 50% of which are right shoes. If you pick a shoe at random, what is the probability of getting a left shoe? 50%, right? Now, if you pick two shoes, what is the probability that both of them are left shoes? I'll give you a hint: it's less than 25%. Wink

To go back to the original question, after you've picked the first house, the second time you pick a house, there is one less house to pick from (you can't pick the same house again because the question specifically requires you to pick two houses, not one house twice). And, because the question requires the first house you picked to not have a security system, of the houses that remain, you still have the same number that have security systems. For example, if there are 100 houses, 30 of which have a security system, then after picking a house that doesn't have a security system, there are now only 99 houses left to pick from, but still 30 which have a security system (and therefore 69 that don't). So the probability of the second house not having a security system is 69/99, or 69.697%. And so the total probability of both the first house not having a security system (70%), AND the second house also not having a security system (69.697%) is 70% x 69.697% = 48.788% The fewer houses there are, the lower the probability, with the probability reaching zero when there only two to chose from in the first place (as in the shoe example above).

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
December 13, 2012, 02:33:23 PM
 #6

What is this? Research for a new BTC business?

Sounds more like BTC Grand Theft Auto.
timeshareafrica (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100



View Profile
December 13, 2012, 04:13:40 PM
 #7

Thanks for the answer, if one does not know the number of houses in the suburb?


 I only have one problem with answer b.
I think the events are probabilistically independent and cannot be settled with mathematical arguments and can only be settled with impirical data to decide wheater independence is reasonalbe. Huh
They most certainly are not independent. In order for neither house to have a security system, two things must happen, the second being conditional on the first: the first house you pick must not have a security system (which obviously has a probability of 70%), AND, having already picked a house that doesn't have security system, you must pick another house that also doesn't have a security system (that much is obvious, but what is not obvious is that the probability of this is less than 70%).

A different scenario will make the reason clear: suppose you have two shoes, 50% of which are left shoes and 50% of which are right shoes. If you pick a shoe at random, what is the probability of getting a left shoe? 50%, right? Now, if you pick two shoes, what is the probability that both of them are left shoes? I'll give you a hint: it's less than 25%. Wink

To go back to the original question, after you've picked the first house, the second time you pick a house, there is one less house to pick from (you can't pick the same house again because the question specifically requires you to pick two houses, not one house twice). And, because the question requires the first house you picked to not have a security system, of the houses that remain, you still have the same number that have security systems. For example, if there are 100 houses, 30 of which have a security system, then after picking a house that doesn't have a security system, there are now only 99 houses left to pick from, but still 30 which have a security system (and therefore 69 that don't). So the probability of the second house not having a security system is 69/99, or 69.697%. And so the total probability of both the first house not having a security system (70%), AND the second house also not having a security system (69.697%) is 70% x 69.697% = 48.788% The fewer houses there are, the lower the probability, with the probability reaching zero when there only two to chose from in the first place (as in the shoe example above).

Thanks for now this sounds right, confusing stuff this...
dancupid
Hero Member
*****
Offline Offline

Activity: 955
Merit: 1002



View Profile
December 14, 2012, 04:54:52 PM
 #8

Just to add to this. The number of houses in the suburb (n) has to be divisible by 10 otherwise it's invalid as we'd have fractional houses.

ie 0.7(0.7n-1)/(n-1), where n/10=|n/10|
Kettenmonster
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


bool eval(bool b){return b ? b==true : b==false;}


View Profile
December 14, 2012, 06:14:27 PM
 #9

How do you choose a house at random?  Huh

The paining (sic!) is done with the QPainter class inside the paintEvent() method.
(source: my internet)
dancupid
Hero Member
*****
Offline Offline

Activity: 955
Merit: 1002



View Profile
December 14, 2012, 06:19:07 PM
 #10

How do you choose a house at random?  Huh

http://www.randomhouse.co.uk/
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1145


The revolution will be monetized!


View Profile
December 14, 2012, 06:24:12 PM
 #11

What is this? Research for a new BTC business?
I hope not. "break- ins for bitcoin"?

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
Kettenmonster
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


bool eval(bool b){return b ? b==true : b==false;}


View Profile
December 14, 2012, 06:34:50 PM
 #12

... uhm t... here is no book about how to find a house at random.  Grin

The hidden point in my question is:
You go to a house via a way. So is any house reached with the same probability?

The paining (sic!) is done with the QPainter class inside the paintEvent() method.
(source: my internet)
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1145


The revolution will be monetized!


View Profile
December 14, 2012, 06:47:37 PM
 #13

How do you choose a house at random?  Huh
Roll a die. Note the number and go that many streets west. Now roll for left or right turn, even or odd. Now the last roll is how many houses to pass until your "random" house.

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
December 14, 2012, 07:35:52 PM
 #14

How do you choose a house at random?  Huh

random.org

truly random numbers

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!