Wah-Kwan KuSimulating Bus Wait Times: A Monte Carlo ApproachPeter has just moved to a new city. Every morning, he can take a bus from one of two independent bus lines that stop in front of his…Aug 5Aug 5
Wah-Kwan KuA Box of Three Cards — A Bayes Rule ExampleImagine there is a box on the table containing three cards. One card is red on both sides, a second card is yellow on both sides, and the…Jun 5Jun 5
Wah-Kwan KuRandom-Number Generator in RWhen we write programs in R, we can introduce an element of chance by using some built-in functions in R. For example, we can simulate…Jan 11Jan 11
Wah-Kwan KuAssociation in Probability TheoryImagine there are two boxes on the table: a black box and a white box. Inside the black box, there are 40 green balls and 60 red balls…Nov 2, 2023Nov 2, 2023
Wah-Kwan KuCounting Rule for Multistep ProcessesSuppose you are making an ice-cream cup with one of three flavors: strawberry, vanilla, chocolate, and one of two fruit toppings…Aug 3, 2023Aug 3, 2023
Wah-Kwan KuA Game Theory Example — Procedure Matters in Voting OutcomesUnder the US judicial system, if a person is charged with committing a crime, they have to go through a trial to determine whether they…Jun 2, 2023Jun 2, 2023
Wah-Kwan KuRandom-Number Generator in PythonWhen we write programs in Python, we can introduce an element of chance by using the random module in the Python Standard Library. For…May 13, 2023May 13, 2023
Wah-Kwan KuJudgement of Solomon — A Game Theory ApproachWhen we were little, we have properly heard of the story of the Judgement of Solomon.Feb 13, 2023Feb 13, 2023
Wah-Kwan KuUse Percentage Analysis to Measure the Strength of Relation between Two Categorical VariablesJust like any other hypothesis test, the chi-square test has a limitation, in that it can determine whether there is a statistically…Dec 2, 2022Dec 2, 2022