I would change lab to have default value NULL and if they are NULL, you compute p(y=1)