Skip to content
p.mba

Type to search tools, guides, glossary terms, frameworks, formula sheets and pages.

Menu

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

Loading your saved inputs…

Back up all tools

Bidding setup
Under uniform price every winner pays the lowest winning bid; under pay-your-bid winners pay what they bid. Losers pay nothing.
More trials, less noise, slower. Capped at 20,000.
The same seed always gives the same results.
Courses
Distribution 'normal' or 'lognormal' simulates the other bidders from your guess of their mean and spread. 'historical' uses past clearing prices instead (seats and bidders are then ignored). Importance weights the portfolio.
Courses you are bidding for
Row#CourseOther bidsSeatsOther biddersMean bid (pts)SD of bids (pts)Past clearing pricesImportanceRow actions
1
2
3
3 courses (max 12)
One course: win probability at a bid

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.

Win probability by bid
Win probability0%20%40%60%80%100%050100150200250300350Your bid (points)Your bid 200Suggested 205
Data table
Win probability by bid: data
Your bid (points)Win probability
00%
70%
140%
210%
280%
350%
420%
490%
560%
630%
700%
770%
840%
910%
980%
1050%
1120%
1190%
1260%
1330%
1400%
1470%
1540%
1610%
1680%
1751%
1824%
18918%
19646%
20376%
21093%
21799%
224100%
231100%
238100%
245100%
252100%
259100%
266100%
273100%
280100%
287100%
294100%
301100%
308100%
315100%
322100%
329100%
336100%
343100%
350100%
Expected points spent by bid
Expected points spent050100150200050100150200250300350Your bid (points)Your bid 200Suggested 205
Data table
Expected points spent by bid: data
Your bid (points)Expected spend
00
70
140
210
280
350
420
490
560
630
700
770
840
910
980
1050
1120
1190
1260
1330
1400
1470
1540
1610
1680
1751
1827
18934
19689
203148
210185
217197
224199
231199
238199
245199
252199
259199
266199
273199
280199
287199
294199
301199
308199
315199
322199
329199
336199
343199
350199
Portfolio: split the budget across courses
Maximises the expected importance-weighted number of courses won, Σ importance × P(win), with total bids within the budget.
Allocation method
Bids are searched in steps of this size (blank = about 1% of the budget). The search uses at most 500 steps.

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

Greedy allocation (bid increment 10 pts)
CourseBidWin probabilityExpected spendImportance
Negotiation elective190 pts21.5%40.1 pts1.00
Advanced valuation141 pts100.0%109.0 pts1.00
Leadership seminar1 pts100.0%1.0 pts1.00
Total332 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 BjB_j is drawn independently from your chosen distribution, then clamped to the range from 0 to the budget. Let B(C)B_{(C)} be the C-th highest other bid. With your bid b:

win  ⟺  B(C)<b(always true when N<C)\text{win} \iff B_{(C)} < b \quad (\text{always true when } N < C)

Each Monte Carlo trial draws all N bids, records B(C)B_{(C)}, and checks your bid against it. With M trials:

P^(win at b)=#{trials with B(C)<b}M,SE=P^(1−P^)M\hat P(\text{win at } b) = \frac{\#\{\text{trials with } B_{(C)} < b\}}{M},\qquad \text{SE} = \sqrt{\frac{\hat P(1-\hat P)}{M}}

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:

P(win at b)=∑k=0C−1(Nk)qk(1−q)N−kP(\text{win at } b) = \sum_{k=0}^{C-1} \binom{N}{k} q^{k} (1-q)^{N-k}

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:

σ2=ln⁡ ⁣(1+s2m2),μ=ln⁡m−σ22\sigma^2 = \ln\!\left(1 + \frac{s^2}{m^2}\right),\qquad \mu = \ln m - \frac{\sigma^2}{2}

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 ∑ivi Pi(bi)\sum_i v_i\,P_i(b_i) subject to ∑ibi≤\sum_i b_i \le budget, where viv_i 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.
  1. 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.
  2. 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.
  3. 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.
  4. Advanced valuation (historical). A bid of 121 beats 4 of 5 past prices (80%). A bid of 141 beats all of them.
  5. Leadership seminar is under-subscribed (25 bidders for 30 seats), so any bid of 1 point or more wins.
  6. 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 .