P analysis