Written and maintained by CASRAI Editorial Board
Published
On this page
hroot (Hamburg Registration and Organization Online Tool) is an open-source, web-based recruitment and database management software developed by the University of Hamburg specifically for experimental economics, social science laboratories, and behavioral research. Operating under a free academic citeware license, hroot automates subject pool administration, stratified and randomized session invitations, calendar scheduling, attendance tracking, and multi-currency compensation management while maintaining strict methodological protocols against selection bias, participant contamination, and deceptive recruitment.
Definition and Core Architecture of hroot
In experimental and behavioral economics, laboratory studies require rigorous control over the decision environment, complete absence of deception, and incentive-compatible financial rewards. Academic institutions maintain dedicated subject pools where participant histories, attendance reliability, and demographic profiles are systematically documented. hroot was created to address this operational need.
Originally developed in 2011 by Olaf Bock, Ingmar Baetge, and Andreas Nicklisch at the University of Hamburg WiSo Research Laboratory, hroot was introduced to the scientific community in a seminal 2014 publication in the European Economic Review. Today, hroot is deployed by more than 120 experimental economics laboratories worldwide, including installations at the Hamburg University of Technology (TUHH), the Düsseldorf Institute for Competition Economics (DICE) at Heinrich Heine University, Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU), and Keio University in Japan.
The software architecture of hroot is engineered to handle complex laboratory workflows through five core modules:
- Containerized Docker Deployment: Version 4.0 provides a production containerized infrastructure built on Ruby on Rails and relational database engines (PostgreSQL or MySQL), enabling secure server deployment in under an hour.
- Single Sign-On and Institutional Verification: Native integration with Shibboleth and SAML protocols enables automated student verification via university credentials, preventing multiple accounts and unauthorized external registrations.
- Multi-Pool Segmentation: Administrators can partition subjects into distinct sub-pools, including undergraduate student pools, specialized populations (such as financial traders or executives), and general citizen panels.
- Automated Communication and Waiting Rooms: A messaging hub coordinates invitations, confirmations, and reminders across email, SMS, and push alerts. For virtual or hybrid experiments, synchronized online waiting rooms hold subjects until the cohort is complete.
- Audit Logging and Data Separation: In compliance with GDPR and IRB mandates, hroot enforces strict architectural separation between personal identifying information and experimental decision data.
Within the broader research ecosystem of economics and finance, hroot acts as the administrative front-end for experimental programs. While execution platforms such as z-Tree and oTree deliver interactive decision interfaces and record economic choices, hroot coordinates the upstream recruitment pipeline that brings verified, unbiased subjects to the laboratory workstations.
Mathematical Formulas for Session Capacity and Over-Recruitment
A central logistical challenge in experimental economics is ensuring that laboratory sessions operate at exact capacity. In interactive designs—such as public goods games, double auctions, or peer-matching tournaments—the scientific validity of the protocol depends on having a precise number of active participants. If a 24-player session has only 23 attendees, the session cannot proceed without altering the game-theoretic structure, resulting in wasted experimenter time and lost lab rental fees.
Because registered participants occasionally fail to attend due to illness, schedule conflicts, or transit delays, experimenters apply statistical over-recruitment formulas. In hroot, the recruitment process involves two distinct probabilistic stages: the invitation response stage and the session attendance stage.
Formula 1: Registration Quota Determination
To fill a laboratory with capacity C and maintain a planned reserve buffer of Sreserve participants, the total number of participant registrations Nreg permitted in hroot is calculated as:
Nreg = ⌈(C + Sreserve) / pshow⌉
Where:
- C: Laboratory seating capacity (the exact count of active experimental workstations required, such as 24 or 32).
- Sreserve: Planned excess participants recruited as an insurance buffer against unexpected no-shows.
- pshow: Empirical attendance probability (show-up rate) of registered subjects, typically between 0.80 and 0.90 in well-managed pools.
- ⌈ · ⌉: The ceiling function, rounding the quotient up to the next integer.
Formula 2: Binomial Turnout Distribution
Assuming that each registered subject decides to attend independently with probability p, the actual number of attending subjects K follows a binomial distribution with parameters Nreg and p:
K ~ Binomial(Nreg, p)
The exact probability that at least C subjects arrive at the laboratory is given by the upper cumulative binomial tail:
P(K ≥ C) = ∑k=CNreg [ Nreg! / (k! × (Nreg – k)!) ] × pk × (1 – p)Nreg – k
Where:
- k: The count of arriving participants.
- Nreg! / (k! × (Nreg – k)!): The binomial coefficient, representing combinations of k attendees among Nreg registrants.
- pk × (1 – p)Nreg – k: The joint probability of exactly k arrivals and Nreg – k absences.
- P(K ≥ C): The operational reliability of the session, typically targeted at P(K ≥ C) ≥ 0.95.
Formula 3: Expected Reserve Costs
Standard ethical protocols dictate that any participant who registers in good faith, arrives on time, but cannot be seated due to capacity limits must receive a flat show-up fee (Fshow) and be dismissed. Expected excess reserves and budgetary liability are expressed as:
E[Reserves] = ∑k=C+1Nreg (k – C) × P(K = k)
E[Reserve Cost] = Fshow × E[Reserves]
Where (k – C) is surplus participants turned away when k individuals attend, and Fshow is the contractual show-up fee (e.g., $10.00) paid to unseated subjects.
Formula 4: Invitation Dispatch Size
To reach the target registration quota Nreg, hroot dispatches email invitations to a randomized sample of pool members. Because only a fraction of invited subjects respond before slots fill up, the required invitation volume Ninv is calculated as:
Ninv = ⌈Nreg / rresp⌉
Where rresp is the historical response rate of the target pool (typically 0.30 to 0.50).
Worked Example: Calculating Invitations and Reserve Quotas
To illustrate the practical application of these formulas, consider an experimental economics researcher planning a session for a public goods experiment. The laboratory contains C = 24 isolated computer cubicles. Historical data from the laboratory hroot database indicates that registered student participants have an empirical show-up rate of p = 0.85 (85%), while email invitations sent 48 hours in advance yield an acceptance rate of rresp = 0.40 (40%). The laboratory pays an ethical show-up fee of Fshow = $10.00 to any participant who arrives on time but is not seated.
The researcher requires a session reliability threshold of at least 95%—meaning the probability of having at least 24 participants arrive must satisfy P(K ≥ 24) ≥ 0.95.
Step 1: Baseline Analysis Without Over-Recruitment
If the experimenter registers exactly 24 participants (Nreg = 24), the probability that all 24 show up is:
P(K = 24) = 0.8524 ≈ 0.0202 (2.02%)
The expected attendance is E[K] = 24 × 0.85 = 20.40 participants. Under this naive approach, nearly 98% of planned sessions would fall short of capacity, requiring cancellation or ad hoc protocol alterations that undermine experimental control.
Step 2: Binomial Progression Across Registration Levels
The researcher systematically models increasing values of Nreg from 24 to 32 to identify the minimum registration cap that satisfies the 95% reliability criterion. The table below presents the exact calculations:
| Registered (Nreg) | Expected Turnout (E[K]) | Probability P(K ≥ 24) | Expected Reserves (E[Reserves]) | Expected Reserve Cost | Invitations Needed (Ninv) |
|---|---|---|---|---|---|
| 24 | 20.40 | 2.02% | 0.00 | $0.00 | 60 |
| 25 | 21.25 | 9.31% | 0.02 | $0.17 | 63 |
| 26 | 22.10 | 22.96% | 0.10 | $0.96 | 65 |
| 27 | 22.95 | 40.72% | 0.29 | $2.92 | 68 |
| 28 | 23.80 | 58.69% | 0.64 | $6.38 | 70 |
| 29 | 24.65 | 73.79% | 1.14 | $11.37 | 73 |
| 30 | 25.50 | 84.74% | 1.76 | $17.64 | 75 |
| 31 | 26.35 | 91.78% | 2.48 | $24.84 | 78 |
| 32 | 27.20 | 95.87% | 3.26 | $32.64 | 80 |
Step 3: Execution and Budget Allocation
The arithmetic establishes that Nreg = 32 is the optimal registration threshold:
- Reliability: At Nreg = 32, P(K ≥ 24) = 0.9587 (95.87%), exceeding the 95% target threshold.
- Expected Surplus: The expected attendance is E[K] = 32 × 0.85 = 27.20 participants, yielding an expected reserve surplus of E[Reserves] = 3.26 participants.
- Budget Commitment: Multiplying 3.26 expected reserves by the $10.00 show-up fee yields an expected reserve compensation cost of $32.64 per session. The researcher budgets $40.00 (covering up to 4 potential reserves) in session grant accounting.
- Invitation Dispatch: With rresp = 0.40, the experimenter configures hroot to dispatch Ninv = ⌈32 / 0.40⌉ = 80 invitations to randomly sampled pool members.
Interpretation and Practical Recruitment Guidance
Understanding recruitment output requires contextualizing statistical parameters within laboratory operations. The table below outlines practical reading guidance for lab managers adjusting hroot recruitment settings across varied experimental conditions:
| Experimental Context | Turnout Rate (p) | Over-Recruitment Ratio | Primary Risk Factor | Recommended Management Action |
|---|---|---|---|---|
| Morning Sessions (08:30–10:00) | 70%–80% | 1.30–1.40 × C | Early-morning transit delays, student oversleeping | Send SMS reminder 60 minutes prior; increase reserve compensation budget |
| Midday Sessions (12:00–15:00) | 85%–92% | 1.20–1.25 × C | Overcrowding and high reserve turnout | Cap invitations strictly; have secondary survey tasks ready for excess subjects |
| Exam Periods (End of Semester) | 65%–75% | 1.40–1.50 × C | Academic deadlines, high voluntary attrition | Widen initial invitation batch; increase show-up incentive by $5.00 |
| Online Synchronous Sessions | 60%–75% | 1.45–1.60 × C | Network disconnects, attrition during check-in | Deploy hroot synchronized waiting rooms with 10-minute check-in windows |
| Specialized / Professional Panels | 90%–95% | 1.10–1.15 × C | High hourly opportunity cost for professionals | Minimize overbooking; offer flexible rescheduling rather than dismissal |
Recruitment methodology fundamentally affects scientific inference. In contrast to unconstrained convenience sampling, where participants self-select based on unmeasured availability or interest, hroot implements controlled stratified sampling across recorded demographic attributes. By stratifying subject invitations across academic disciplines, gender, and prior experiment counts, researchers eliminate demographic clustering and maintain representative student cohorts. Furthermore, when conducting a survey experiment alongside laboratory trials, hroot allows seamless cross-referencing to ensure participants do not participate in both phases, preserving experimental naivety.
Assumptions and Common Experimental Mistakes
Applying mathematical models to human subject recruitment relies on several core assumptions that can fail in practice if researchers do not exercise methodological discipline:
- Assumption of Independent Turnout: The binomial model assumes that each registrant turnout decision is independent. In university environments, students often register alongside friends, roommates, or classmates. If two registered roommates miss a session together due to a shared transportation issue, attendance events are correlated, increasing the variance of K beyond standard binomial predictions.
- Assumption of Constant Probability (p): Treating p as fixed across all seasons and sub-populations is inaccurate. Turnout probabilities drop significantly during inclement weather, heavy exam weeks, and Friday afternoons. Lab directors must update historical p estimates dynamically within hroot.
- The Mean-Turnout Fallacy: A frequent mistake among novice experimenters is targeting expected attendance rather than tail reliability. For example, calculating Nreg = ⌈24 / 0.85⌉ = 29 yields an expected turnout of 24.65 subjects. However, as demonstrated in the worked example, Nreg = 29 provides only a 73.79% chance of full capacity, leaving a 26.21% probability of session collapse.
- Uncontrolled Open Invitations: Allowing an open, non-randomized invitation blast creates severe speed-of-response selection bias. Highly motivated or desk-bound students register within minutes, systematically over-representing specific majors (such as computer science or economics) while excluding students with lab classes or clinical shifts.
- Inadequate No-Show Penalties: Failure to enforce penalties for unexcused no-shows degrades the participant pool over time. hroot provides automated strike rules (such as temporary exclusion for two consecutive no-shows), which preserve high pool-wide attendance rates.
How to Report hroot Recruitment in APA Format
Transparent reporting of participant recruitment is required by peer-reviewed journals adhering to APA 7th edition standards and reporting guidelines in experimental economics. Authors must report the sampling frame, filtering criteria, software used, attendance rates, and reserve participant treatment.
The following text represents an illustrative composite of an APA 7th methodology reporting paragraph:
Participants were recruited from the university subject pool using the web-based recruitment system hroot (Version 4.0; Bock et al., 2014). From an active database of 1,850 registered undergraduate students, an automated stratified random sample of 80 participants was invited via email. Eligibility was restricted to subjects who had not previously participated in public goods experiments. Registration was capped at 32 participants to buffer against potential no-shows. In the scheduled session, 27 participants reported to the laboratory (an 84.4% show-up rate). Twenty-four participants were randomly assigned to private computer workstations, while the three excess participants received a show-up fee of $10.00 and were dismissed in accordance with laboratory protocol. The experiment was conducted in English and lasted approximately 60 minutes.
The seminal paper for hroot must be included in the formal reference list in APA 7th format:
Bock, O., Baetge, I., and Nicklisch, A. (2014). hroot: Hamburg registration and organization online tool. European Economic Review, 71, 117–120. https://doi.org/10.1016/j.euroecorev.2014.07.003
Under hroot academic citeware license, citing this publication is a binding requirement for research published using the system.
How to Calculate Over-Recruitment in Excel, R, and Python
Researchers can verify session reliability, expected reserve turnout, and optimal invitation volumes using standardized scripts in common computational environments.
Microsoft Excel Implementation
To calculate the reliability and reserve metrics in Excel, enter parameters in cells A1:B4 (Capacity in B1, Show-Up Rate in B2, Registered in B3, Show-Up Fee in B4):
- Probability of Full Seating P(K ≥ C):
=1 - BINOM.DIST(B1 - 1, B3, B2, TRUE) - Expected Attendance:
=B3 * B2 - 5th Percentile Turnout:
=BINOM.INV(B3, B2, 0.05)
For a capacity of 24, show-up probability of 0.85, and 32 registered subjects, =1 - BINOM.DIST(23, 32, 0.85, TRUE) returns 0.9587.
R Implementation
In R, the exact binomial tail and expected reserves can be calculated using the vectorized functions below:
capacity = 24
p = 0.85
n_reg = 32
show_up_fee = 10
p_success = pbinom(capacity - 1, size = n_reg, prob = p, lower.tail = FALSE)
k_vals = 0:n_reg
pmf = dbinom(k_vals, size = n_reg, prob = p)
expected_reserves = sum(pmax(0, k_vals - capacity) * pmf)
expected_cost = expected_reserves * show_up_fee
cat(sprintf("Reliability P(K >= %d): %.4fn", capacity, p_success))
cat(sprintf("Expected Reserves: %.2f (Cost: $%.2f)n", expected_reserves, expected_cost))
Python Implementation
In Python, the scipy.stats library provides exact distribution modeling:
from scipy.stats import binom
import numpy as np
capacity = 24
p = 0.85
n_reg = 32
show_up_fee = 10.0
prob_full = binom.sf(capacity - 1, n_reg, p)
k = np.arange(n_reg + 1)
pmf = binom.pmf(k, n_reg, p)
reserves = np.maximum(0, k - capacity)
expected_reserves = np.sum(reserves * pmf)
expected_cost = expected_reserves * show_up_fee
print(f"Reliability P(K >= {capacity}): {prob_full:.4f}")
print(f"Expected Reserves: {expected_reserves:.2f} (${expected_cost:.2f})")
Frequently asked questions
What is hroot and how is it used in experimental economics?
hroot (Hamburg Registration and Organization Online Tool) is an open-source, web-based management platform built specifically for behavioral and experimental economics research laboratories. It manages subject databases, automates stratified random invitations, handles calendar scheduling, tracks participant attendance and show-up penalties, and coordinates experimental session logistics while upholding strict research ethics standards.
How does hroot draw randomized participant samples?
hroot utilizes an automated stratified random sampling engine. Rather than allowing unconstrained self-selection, experimenters specify criteria such as academic major, gender balance, study semester, and prior experiment history. hroot filters the eligible pool according to these constraints and draws a randomized invitation cohort to prevent experimenter bias and participant contamination.
What are the citeware licensing terms for publishing with hroot?
hroot is distributed under a free academic citeware license. While academic laboratories may use the software without monetary license fees, the license legally requires that any scientific publication or working paper reporting experiments recruited via hroot formally cite the seminal reference paper: Bock, Olaf, Ingmar Baetge, and Andreas Nicklisch (2014), “hroot: Hamburg registration and organization online tool”, European Economic Review, 71, 117–120.
How do experimenters prevent under-subscribed sessions in hroot?
Experimenters use cumulative binomial probability models to calculate optimal over-recruitment buffers. By estimating empirical attendance rates (typically 80% to 90%) and setting registration caps so that the probability of meeting full lab capacity exceeds 95%, laboratories ensure that sessions are not cancelled. Excess participants who arrive on time receive a contractual show-up fee and are dismissed.
Sources
- University of Hamburg: hroot : Research laboratory : University of Hamburg, checked 2026-11-20
- Keio University Institute for Economic Studies: hroot, checked 2026-11-20
- Heinrich Heine University Düsseldorf: hroot, checked 2026-11-20
- Hamburg University of Technology: ECON: HHIDE Lab, checked 2026-11-20
- Springer Nature: Subject pool recruitment procedures: organizing experiments with ORSEE | Journal of the Economic Science Association, checked 2026-11-20
Data: Experimental Economics Participant Management Systems Comparison
Comparative specifications of participant pool recruitment and lab management software in experimental economics, compiled from official project documentation and peer-reviewed system publications.
Period covered: 2014/2026. Coverage: Global.
| Software Platform | Primary Developer Institution | Initial Release Year | Software Architecture | Licensing Model | Deployment Method |
|---|---|---|---|---|---|
| hroot | University of Hamburg | 2014 | Ruby on Rails | Free Citeware (Academic) | Docker container / On-premise |
| ORSEE | University of Zurich / WU Vienna | 2004 | PHP and MySQL | Open Source / Citeware | LAMP web server / On-premise |
| SONA Systems | Sona Systems Ltd | 2002 | Proprietary Web Application | Commercial Subscription | Cloud SaaS hosted |
Sources
- hroot: Research laboratory: University of Hamburg (accessed 2026-11-20)
- Subject pool recruitment procedures: organizing experiments with ORSEE (accessed 2026-11-20)
- hroot: Keio University Institute for Economic Studies (accessed 2026-11-20)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







