The dose is determined based on several factors, including the specific pharmacokinetic and pharmacodynamic properties of the compound, the route of administration, and patient-specific factors such as age, weight, and comorbidities. The therapeutic index is also considered to ensure the dose is within a safe range.