Eligible patients, following the verification of inclusion and exclusion criteria and the procurement of informed consent, will be randomized in a 1:1 ratio into one of the two treatment groups: the mirtazapine group or the topiramate group. The unit of randomization will be the individual (patient), with each patient being assigned to only one of the two study groups. To generate the randomization sequence, a computer-based block randomization method with variable block sizes will be employed to minimize the predictability of subsequent allocations. This sequence will be generated using R statistical software by an independent researcher who is not involved in the patient recruitment or assessment process. In this process, the total required sample size will first be determined, followed by the generation of the allocation sequence in a 1:1 ratio, ensuring that within each block, the number of allocations to both groups is equal to maintain a balanced total number of patients in both groups as much as possible. No stratification will be applied in this study, and all eligible patients will be placed within a single randomization sequence.
Following the generation of the randomization sequence by the independent researcher, a unique code will be assigned to each patient. Patients will be numbered according to their order of enrollment after eligibility is confirmed, and each patient will be assigned to one of the two treatment groups based on the randomization code corresponding to their number.
To ensure allocation concealment and prevent bias by withholding treatment allocation information from the investigator responsible for recruitment, the randomization sequence will be generated and maintained by an independent individual outside of the recruitment and assessment process. Consequently, the investigator responsible for enrolling patients will remain unaware of whether a patient is assigned to the mirtazapine or topiramate group until all inclusion criteria have been fully met, informed consent has been obtained, and the patient is formally registered in the study. Once formal enrollment is complete, allocation will be performed based on the pre-determined sequence, thereby minimizing the possibility of intentional selection or group changes based on prior knowledge.