Literature and study design · What you can do here
Design an experiment with the statistics settled first
Turn an open question into a staged, falsifiable protocol with sample size, randomisation, specific controls, and statistical analysis fixed before running an assay.
What this involves
A well-planned experiment starts with a hypothesis formulated to be falsifiable: stating direction, magnitude, a specific comparator, and the explicit result that would cause you to abandon the hypothesis. Rather than running a fixed schedule of procedures, the protocol is structured in stages so that resource-intensive experiments are only reached by samples that pass early computational and low-cost filters.
Settling the statistics in advance means fixing one primary outcome and specifying the smallest effect size worth detecting before calculating the required biological sample size. Setting sample size by habit, such as testing triplicate wells and assuming statistical power, leads to studies that can only detect massive effect sizes while conflating technical variance with biological replication.
On this platform, the research agent evaluates designs, runs power calculations and randomisation scripts, screens molecules and sequences with dedicated computational tools, and sets out complete analysis protocols without requiring local software installation.
How it goes
- 1Define the falsifiable hypothesis and decision criteriaFormulate the hypothesis with an explicit direction, magnitude, and comparator, define the precise result that falsifies it, and verify that different experimental outcomes will dictate different downstream decisions.
- 2Filter candidates through low-cost computational triageOrder early stages by cost and discrimination using molecule_properties for property filters, search_papers for liabilities, and analyze_sequence, lookup_structure, or fold_protein to check targets before committing to assays.
- 3Calculate sample size from the minimum relevant effect sizeSpecify a single primary outcome and the smallest meaningful effect size, then compute sample size n for biological replicates using TTestIndPower from statsmodels.stats.power via run_python.
- 4Assign controls and generate randomised allocationsDefine vehicle, positive, specificity, and batch controls alongside assay-specific interference controls, then produce reproducible allocation schedules with allocate_experiment using unique unit identifiers and explicit seeds.
- 5Preregister the statistical analysis planFix the statistical test, outlier definitions, and multiple testing corrections using scipy and statsmodels.stats.multitest, establishing whether to apply Holm for confirmatory tests or Benjamini–Hochberg for discovery screens.
Start it here
Ask in plain language. The agent works on a Linux machine of its own — it installs and runs what the job needs, keeps every file, and reads the results back with the numbers explained. Nothing to set up, and a long run continues after you close the page.
What to watch for
- Never determine the target effect size from pilot data or the very data being tested, as small pilots severely overestimate effect sizes.
- Do not treat technical replicates as biological replicates; average technical repeats across instrument wells first so biological sample size n reflects truly independent units.
- Do not place controls along microplate edges where evaporation generates edge effects, and always randomise position and processing order.
- Never calculate or report post-hoc observed power after an experiment, as it is purely a function of the obtained p-value and provides no new information.
- Avoid running Shapiro–Wilk normality tests to pick between parametric and non-parametric tests, and do not use plain Bonferroni corrections when Holm strictly dominates them.
Questions
Do I need to install anything to design an experiment with the statistics settled first?
No. The research agent does this work on a Linux machine of its own — it installs what the job needs, keeps the files, and reads the results back to you. Long runs continue if you close the page.
How should sample size n be determined for an assay?
Define the single primary outcome and specify the smallest biological effect worth detecting, such as a fold change or standardized difference. Then solve for sample size using TTestIndPower in statsmodels before generating any data.
How are experimental units randomised and assigned?
The allocate_experiment tool balances groups across supplied blocking factors using an explicit random seed and unique unit IDs. The tool returns an allocation CSV that should be joined downstream by unit ID rather than row position.
What statistical test should be planned for comparing two independent groups?
Welch's t-test with unequal variance assumed should be preset as the default two-group comparison using scipy.stats.ttest_ind with equal_var set to False, avoiding reliance on Levene's test.
How should multiple testing corrections be specified in advance?
Specify the correction family before unblinding data, using the Holm method for a small group of pre-planned confirmatory hypotheses and the Benjamini–Hochberg false discovery rate for multi-target or screening panels.
Written from the method the research agent follows for this work and the documentation of the tools listed above. Statements citing a figure that does not appear there are removed before publication. Corollary is a non-commercial research demonstration; results are not for clinical use.