set default 0.2 to NaN after calculating marginal values