Course-bidding points simulator
Generic Monte Carlo model of points-based course bidding: win probability at a bid, expected points spent, suggested bids and a budget-constrained portfolio.
When you’ll use this
- Elective bidding rounds (usually late in the term before electives start): test how many points a popular elective needs
- Compare uniform-price and pay-your-bid clearing rules before deciding how aggressively to bid
- Split a limited points budget across several electives with different demand and past clearing prices
- Microeconomics or game theory weeks on auctions: see order statistics and clearing prices in a simulation you control
Course-bidding points simulator tool
Chance of winning a seat
64.5%
At 200 pts · ±1.3% simulation noise (95%)
Expected points spent
125.0 pts
Averaged over wins and losses; losers pay nothing
Expected price if you win
193.9 pts
Uniform price: at most your bid
Bid for 80.0% chance
205 pts
Estimated chance at that bid: 81.9%
Based on 5,000 simulated rounds (seed 42). You win when your bid is strictly above the bid that takes the last seat; ties go against you.
Data table
| Your bid (points) | Win probability |
|---|---|
| 0 | 0% |
| 7 | 0% |
| 14 | 0% |
| 21 | 0% |
| 28 | 0% |
| 35 | 0% |
| 42 | 0% |
| 49 | 0% |
| 56 | 0% |
| 63 | 0% |
| 70 | 0% |
| 77 | 0% |
| 84 | 0% |
| 91 | 0% |
| 98 | 0% |
| 105 | 0% |
| 112 | 0% |
| 119 | 0% |
| 126 | 0% |
| 133 | 0% |
| 140 | 0% |
| 147 | 0% |
| 154 | 0% |
| 161 | 0% |
| 168 | 0% |
| 175 | 1% |
| 182 | 4% |
| 189 | 18% |
| 196 | 46% |
| 203 | 76% |
| 210 | 93% |
| 217 | 99% |
| 224 | 100% |
| 231 | 100% |
| 238 | 100% |
| 245 | 100% |
| 252 | 100% |
| 259 | 100% |
| 266 | 100% |
| 273 | 100% |
| 280 | 100% |
| 287 | 100% |
| 294 | 100% |
| 301 | 100% |
| 308 | 100% |
| 315 | 100% |
| 322 | 100% |
| 329 | 100% |
| 336 | 100% |
| 343 | 100% |
| 350 | 100% |
Data table
| Your bid (points) | Expected spend |
|---|---|
| 0 | 0 |
| 7 | 0 |
| 14 | 0 |
| 21 | 0 |
| 28 | 0 |
| 35 | 0 |
| 42 | 0 |
| 49 | 0 |
| 56 | 0 |
| 63 | 0 |
| 70 | 0 |
| 77 | 0 |
| 84 | 0 |
| 91 | 0 |
| 98 | 0 |
| 105 | 0 |
| 112 | 0 |
| 119 | 0 |
| 126 | 0 |
| 133 | 0 |
| 140 | 0 |
| 147 | 0 |
| 154 | 0 |
| 161 | 0 |
| 168 | 0 |
| 175 | 1 |
| 182 | 7 |
| 189 | 34 |
| 196 | 89 |
| 203 | 148 |
| 210 | 185 |
| 217 | 197 |
| 224 | 199 |
| 231 | 199 |
| 238 | 199 |
| 245 | 199 |
| 252 | 199 |
| 259 | 199 |
| 266 | 199 |
| 273 | 199 |
| 280 | 199 |
| 287 | 199 |
| 294 | 199 |
| 301 | 199 |
| 308 | 199 |
| 315 | 199 |
| 322 | 199 |
| 329 | 199 |
| 336 | 199 |
| 343 | 199 |
| 350 | 199 |
Expected courses won
2.21
Greedy 2.21 · exact 2.73
Total points bid
332 pts
18 pts left unallocated
Expected points spent
150.1 pts
Under the chosen clearing rule
| Course | Bid | Win probability | Expected spend | Importance |
|---|---|---|---|---|
| Negotiation elective | 190 pts | 21.5% | 40.1 pts | 1.00 |
| Advanced valuation | 141 pts | 100.0% | 109.0 pts | 1.00 |
| Leadership seminar | 1 pts | 100.0% | 1.0 pts | 1.00 |
| Total | 332 pts | — | 150.1 pts | — |
Greedy repeatedly adds the bid increase with the best gain in win probability per point. It is fast and intuitive but can strand points when a course needs a big jump before its chances move; compare with the exact search. Bids are trimmed to the smallest whole number with the same estimated chance.
How this works
Formulas
One course, simulated. There are C seats and N other bidders. Each other bid is drawn independently from your chosen distribution, then clamped to the range from 0 to the budget. Let be the C-th highest other bid. With your bid b:
Each Monte Carlo trial draws all N bids, records , and checks your bid against it. With M trials:
Because the bids are independent, this has a closed form you can use to check the simulation. With q = P(one other bid exceeds b), you win when at most C − 1 others exceed you:
Price paid (losers pay nothing):
- Pay-your-bid: you pay b, so expected spend = b × P(win).
- Uniform price: every winner pays the lowest winning bid. When you win, that is the smaller of your bid and the lowest of the other C − 1 winners’ bids. Expected spend is the average of that amount across winning trials, times P(win).
Suggested bid for a target probability p. Sort the M simulated thresholds and take the k-th smallest, where k = ⌈pM⌉. The suggested bid is the next whole point above that threshold.
Lognormal bids with mean m and standard deviation s:
Historical mode. The win probability is the share of past clearing prices strictly below your bid. Under uniform pricing you are assumed to pay that past price.
Portfolio. The goal is to maximise subject to budget, where is the importance you give course i (default 1).
- Greedy: repeatedly add the bid increment, on a grid of whole steps, that gives the most weighted win probability per point.
- Exact: a dynamic programme that checks every combination of bids on the same grid.
Conventions & assumptions
- Bids are whole points. A bid below 1 means you are not bidding, and it never wins.
- Ties go against you. Matching the threshold, or a past clearing price, counts as a loss. Bid one point above to beat it.
- Demand is the number of other students bidding. Leave yourself out of the count.
- Clamping. Simulated bids below 0 are set to 0, and bids above the budget are set to the budget. Everyone is assumed to have the same budget.
- Independence. Bidders are assumed not to react to each other or to your bid. Herding, signalling and strategic shading are not modelled.
- Seeded randomness. The simulator uses a seeded generator (mulberry32 with Box–Muller normals), so the same seed and inputs always give the same answer. Change the seed to see the simulation noise. Trials are capped so one course never needs more than four million random draws.
- Budget constraint. It applies to the bids you place. Under uniform pricing you may pay less than you bid, and the difference is not reallocated.
- Portfolio bids are trimmed after the search to the smallest whole-point bid with the same estimated win probability, so some budget may be left unallocated.
Worked example
The budget is 350 points, with uniform pricing, seed 42 and 5,000 trials. There are three courses:
- Negotiation elective: 20 seats, 90 other bidders, bids normal with mean 150 and SD 60.
- Advanced valuation: past clearing prices 80, 95, 110, 120 and 140.
- Leadership seminar: 30 seats, 25 other bidders, bids lognormal with mean 50 and SD 30.
- Negotiation, bid 200. The simulation gives a win probability of 64.5% (standard error about 0.7 points). As a check, q = 1 − Φ((200 − 150)/60) = 0.2023, and the binomial formula gives 64.1%, within one standard error.
- Expected spend at 200. Under uniform pricing it is 125.0 points, an average price of 193.9 when you win. Under pay-your-bid it would be 200 × 0.645 = 129 points.
- Suggested bid for an 80% chance: 205 points, which wins in 81.9% of trials. The win probability rises steeply between 190 and 210 because the 20th-highest of 90 bids is tightly bunched.
- Advanced valuation (historical). A bid of 121 beats 4 of 5 past prices (80%). A bid of 141 beats all of them.
- Leadership seminar is under-subscribed (25 bidders for 30 seats), so any bid of 1 point or more wins.
- Portfolio, in steps of 10 points.
- Greedy spends first where the points-per-probability is best. It bids 141 on valuation (a certain seat) and 1 on leadership, then only has room for 190 on negotiation. Expected courses won: 2.21.
- Exact search bids 210 on negotiation (93.4%), 121 on valuation (80%) and 1 on leadership. Expected courses won: 2.73.
- The greedy rule is easy to explain, but on S-shaped win curves it can lock in a cheap certainty and strand the points a contested course needs.
Limitations
- This is one stylised mechanism. Multi-round systems, waitlists, add/drop periods, minimum bids and caps per course can change the answer completely.
- Your demand and price inputs drive everything. Past clearing prices change when a professor, time slot or class size changes, so treat them as rough evidence.
- Simulated bidders are independent and identical. Real bidders cluster on round numbers and react to published history.
- Monte Carlo estimates have sampling error, so look at the standard error and try a few seeds before relying on a difference of a few points.
- The portfolio search optimises the expected number of courses, weighted by value. It does not model must-have courses, schedule clashes or what you need for later rounds.
Excel/Sheets equivalents
- Closed-form win probability, with q = P(other bid > b):
=BINOM.DIST(C-1, N, q, TRUE) - q for normal bids:
=1-NORM.DIST(b, mean, sd, TRUE) - q for lognormal bids:
=1-LOGNORM.DIST(b, mu, sigma, TRUE), with mu and sigma from the formulas above - Historical win probability:
=COUNTIF(prices,"<"&b)/COUNT(prices) - Suggested bid from historical prices:
=SMALL(prices, ROUNDUP(p*COUNT(prices),0))+1
Runs entirely in your browser; inputs are saved only on this device. Last updated .