最初的回答: 我需要一个与Excel中的NORMSINV函数相当的功能,这个github上有一个做我需要的事情的plpgsql函数: https://github.com/ellisonch/PostgreSQL-Stats-Aggregate/blob/master/pg_stats_aggregate.sql