
Completed
Posted
Paid on delivery
I need a reproducible Monte Carlo simulation in R that pins down the required sample size for an object-case Best–Worst Scaling study analysed with a conditional logit model. The design has 12 outcomes, shown 4 at a time across 12 choice tasks per participant. Both clinical feasibility and scientific defensibility carry equal weight, so the simulation must iterate half-width targets of 0.5, 0.4 and 0.3 for the 95 % confidence interval around the difference between the highest and second-highest preference weights. Please report the smallest sample that satisfies each target along with power curves and the logic behind the stopping rules. The 12 outcomes will be shown in a pre-determined sequence. To support that, I also need a Balanced Incomplete Block Design that allocates the 12 outcomes into the 12 tasks (4 per task) and a randomisation list that can be fed straight into fielding software. Deliverables • Annotated R script(s) that run the simulation and export summary tables/plots • Brief technical memo explaining assumptions, convergence checks and final recommendations • CSV/Excel file containing the BIBD task × outcome matrix plus participant-level randomisation sequence • Short README so the research team can reproduce everything with a single command
Project ID: 40643303
3 proposals
Remote project
Active 4 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hey there Glane here, I can develop the complete reproducible Monte Carlo sample-size simulation in R, using a conditional logit framework to evaluate the 95% CI half-width targets of 0.5, 0.4, and 0.3 for the difference between the highest and second-highest preference weights. I’ll include convergence and stopping rules, power curves, sensitivity checks, and clear justification of the final sample sizes. I’ll also construct the required Balanced Incomplete Block Design (12 outcomes × 12 tasks, 4 outcomes per task) and generate a fielding-ready participant randomisation sequence. Deliverables will include annotated R scripts, exported tables/plots, the BIBD task-by-outcome matrix and randomisation file in CSV/Excel, a concise technical memo, and a README allowing the research team to reproduce the full workflow with a single command.
₹2,500 INR in 1 day
6.2
6.2
3 freelancers are bidding on average ₹1,667 INR for this job

Designing a robust Monte Carlo simulation for a conditional logit model requires strict matrix randomization to ensure the 12 outcomes across choice tasks don't suffer from collinearity or selection bias. I am a Quantitative Data Analyst specializing in statistical modeling and probabilistic simulations. My Approach to your Simulation: The Engine: While you mentioned R, I build high-performance Monte Carlo simulations in Python (using SciPy and statsmodels). Python's vectorization capabilities allow for thousands of simulation loops (to define the exact sample size) in seconds. BIBD Logic: I will programmatically generate the Balanced Incomplete Block Design (BIBD) to ensure the 12 outcomes are distributed evenly across the 4 choices per task, maintaining the scientific defensibility you require. Logit Validation: The simulation will fit the conditional logit model repeatedly against the synthetic data to pinpoint the exact sample size where statistical power stabilizes. If you are open to receiving the simulation engine and final report in Python instead of R, I can build this mathematical framework for you immediately. Best regards
₹1,050 INR in 5 days
0.0
0.0

Hi — worth flagging up front: a true BIBD at v=12, k=4, b=12 doesn't exist. Balance requires lambda(v-1)=r(k-1); with r=4 that gives lambda=12/11, not an integer. What you can have is a near-balanced resolvable design where each outcome appears 4 times and pair frequencies differ by at most one. Standard for BWS and defensible — but it belongs in the memo, not found by a reviewer. On the simulation: - Generate choice sets from the design, simulate responses under assumed utility weights, fit conditional logit (survival::clogit or mlogit), extract the CI half-width for the top-vs-second difference, repeat across sample sizes. - Assumed effect size drives everything. I'd run a grid of plausible weight separations rather than one guess, so the recommendation isn't an artefact of one assumption. - Convergence checked on every fit; non-converged replicates reported, not silently dropped — dropping them biases power upward. - Stopping rule: smallest n where the proportion of replicates meeting the half-width target crosses your threshold, with Monte Carlo error on that proportion shown. Deliverables as specified: annotated R scripts, tables and power curves, technical memo, BIBD matrix plus randomisation CSV, single-command README. Questions: 1. Assumed weight separation, or shall I propose a grid? 2. Target power — 80% or 90%? 3. Which fielding software consumes the randomisation list? Ronak — 8+ yrs data science; R and Python, simulation and experimental design.
₹1,450 INR in 7 days
0.0
0.0

New Delhi, India
Member since Aug 12, 2026
$8-15 USD / hour
$15-25 USD / hour
£20-250 GBP
₹1500-12500 INR
$25-30 USD
$10-30 USD
$250-750 USD
$10-30 USD
$750-1500 USD
₹750-1250 INR / hour
$2-8 USD / hour
₹400-750 INR / hour
₹600-1500 INR
$10-30 CAD
€6-12 EUR / hour
₹37500-75000 INR
$10-30 USD
$10-30 USD
$10-80 AUD
$14-30 NZD