Hello R-users, I am trying to plot P value discrepancy plots as describe by Russell Davidson and James G. MacKinnon in "Graphical Methods for Investigating the Size and Power of Hypothesis Tests (1998)". I know ecdf () to obtain the empirical cumulative distribution frequencies and knots() to extract its values. Supposing p.value as a vector obtained by DGP (out of the loop); is there anyone who already write this short function to obtain the same graph than presented in the mentioned paper (figures "P value discrepancy plots")? I am sorry in advance because I know it's not correct to ask the list to do something. But I am pretty sure this could be useful for some of us. TFH
-- View this message in context: http://r.789695.n4.nabble.com/P-value-discrepancy-plots-tp4645065.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.