Model-Based Approach to FDR Estimation