Hi everyone,

Thanks to this website and the people comments I am learning a lot. I am still new to stata. Today issue is I have a dataset of 4314 observations and running goodness of fit test as I'm generating a risk score.

When I run the test

No. of ob 4314
No. of covariates patterns 861
Person chi2(844) = 910.97
Prob > chi2 = 0.0543

I only have 6 variables in the logistics (group age ref 0,1,2,3,4), (BP ref 0, 1 ,2), (smoking ref 0,1,2,3), (drinking 0,1, ref 2,3,4), plasma (ref 0,1,2), kidney (ref 1,2)

I thought about increasing the sample size by bootstrapping. however, I don't know how and I am open for other ideas.