How can I show the accuracy of generated samples from a distribution?

35 Views Asked by At

Considering a specific PDf, how can I claim that generated samples are based on the PDF. Is it enough to compare the frequency of generated samples with the PDF curve and to show the mean of generated samples are the same as the mean of PDF?