A Statistical Method for Estimating Luminosity Functions Using Truncated Data