Simulates FRTB P&L Attribution Test (PLAT) results to determine IMA vs. SA treatment. Enter 10 daily Hypothetical P&L (HPL) and Risk-Theoretical P&L (RTPL) values. Computes Pearson and Spearman correlations, unexplained P&L (UPL) mean and variance ratio, PLAT zone per MAR32.29–32.36, IMA eligibility, and surcharge multiplier. CSV export of inputs and results included.