The dosage of sedatives for neonates is determined based on the infant's weight, gestational age, and clinical condition. Dosage adjustments are often necessary to account for the immature liver and kidney function in neonates, which can affect drug metabolism and excretion.