Hi,

I have been given a particular dataset which has the beta values and the corresponding z-scores associated with it from a regression. I have to produce a Quantile-Quantile (QQ) plot of the empirical CDF of p-values against the CDF expected if the null hypothesis were true that is if beta = 0 for all the observations?

How should I go about with this?