Multistage Sampling Procedures Based on Prior Distributions and Costs