p-weight