-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
Running the simulation with 3 doors gives ~33% chance of winning, switiching doors gives a ~77% chance of winning.
-
AngelBabe replied to the topic thought for the day in the forum Chat forum three boards 8 years, 7 months ago
why still
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
This is why you shouldn’t rely on memory, and analyse things properly every time.
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
I made a slight mistake in the progam, where if you initially select the car, it can give you the same door you selected as the option to swap to. I haved fixed it here :
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats = 1000;int wins = 0;
for(int i = 0; i <=…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
I made a slight mistake in the progam, which shouldn’t effect the probabilities much, but I haved fixed it here :
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats = 1000;int wins = 0;
for(int i = 0; i <= repeats; i++) {
// Place the car behind a random…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
I made a slight mistake in the progam, which shouldn’t effect the probabilities much, but I haved fixed it here :
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats = 1000;int wins = 0;
for(int i = 0; i <= repeats; i++) {
// Place the car behind a random…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
Turns out I recalled the solution inncorectly. I wrote a simulation to test the problem, swapping doors idoes mprove your chances of winnining.
Copy the following text into https://www.compilejava.net/ to run the program in your browser
import java.util.Random;
public class MontyHall
{
public static float calculateProbability(int doors, boolean…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
Turns out I was wrong, I wrote a simulation and it does improve your probablity of winning.
Copy the following text into https://www.compilejava.net/ to run the program in your browser
import java.util.Random;
public class MontyHall
{
public static float calculateProbability(int doors, boolean swap)
{
Random rand = new Random();
int repeats =…[Read more] -
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
Switching doors doesn’t statistically improve your chances of winning the car, the Monty Hall problem is a good example of how raw probabilities can be misleading.
The easiest way to demonstrate this would be to write two computer programs that randomly select doors. The first program always switches doors, the other will always keep it’s door.…[Read more]
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
Switching doors doesn’t statistically improve your chances of winning the car, the Monty Hall problem is a good example of how raw probabilities can be misleading.
The easiest way to demonstrate this would be to write two computer programs that randomly select doors. The first program always switches doors, the other will always keep it’s…[Read more]
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
I’m not sure how much I agree with this. From my experience most people who go to university are of average or below average intelligence. And if they already had knowledge then there is no purpose in them attending a university course.
There are still people who believe that today.
-
draculina replied to the topic Basic IQ / Maths question in the forum Chat forum three boards 8 years, 7 months ago
-
AngelBabe replied to the topic Music Thread in the forum Chat forum three boards 8 years, 7 months ago
-
AngelBabe replied to the topic thought for the day in the forum Chat forum three boards 8 years, 7 months ago
Why?????? just why????
-
AngelBabe replied to the topic Word of the day? in the forum Chat forum three boards 8 years, 7 months ago
Trolls
-
Indecisive posted an update 8 years, 7 months ago
Just back for inbox messages. Will reply
-
draculina replied to the topic How High is a mountain? in the forum Chat forum three boards 8 years, 7 months ago
Just buildings
-
draculina replied to the topic How High is a mountain? in the forum Chat forum three boards 8 years, 7 months ago
I’m okay
-
draculina replied to the topic How High is a mountain? in the forum Chat forum three boards 8 years, 7 months ago
Elevation is a social construct, don’t be geophobic.
-
AngelBabe‘s profile was updated 8 years, 7 months ago
- Load More
