The invention relates to the field of
test design, in particular to an
accommodation and arrangement condition optimization method based on test
simulation, a medium and equipment, data is retrieved from a
database through an initial
accommodation and arrangement condition, an initial
simulation queue is constructed and obtained, baseline feature distribution is analyzed, representative
crowds can be obtained without real recruitment, and the
test design cost is reduced; the inter-group baseline balance is realized by relying on baseline feature distribution and adopting tendency
score matching, so that covariable
hybrid interference is eliminated, effect
simulation difference is guaranteed to be accurately attributed to a treatment scheme, and the objectivity and reliability of effect evaluation are improved; through a multi-dimensional effect simulation result of a preset risk ratio, a 95%
confidence interval, a survival curve and an inspection p value, the test benefit potential under the current
accommodation and arrangement condition is pre-judged, the accommodation and arrangement condition is dynamically optimized through a
closed loop, and a finally determined target accommodation and arrangement condition set gives consideration to
queue scale, baseline balance and effect significance. And the scientificity and success rate of clinical
test design are improved.