Likelihood-based inference for regular functions with fractional polynomial approximations