# Question closed as duplicate of a totally different question

My question was closed as a duplicate of another question.

I was asking for a formula, if any, to compute accuracy for a logistic regression without using a separate test set. For instance (I am just making it up): $$\text{accuracy} = (\hat{\sigma}^2/N) \hat{y}^2 \text{Var}(\hat{\beta})$$ or whatever.

The "duplicate" question would have me compute the accuracy using the bootstrap. Which of course is just averaging many test sets.