Closed LSun closed 7 years ago
removed copied code from plot_diagnostic, used my own simpler implementation implemented uniform prior + normal likelihood uniform prior + t likelihood not yet implemented, can be implemented in future
just two things: i) can you add plot.it=TRUE flag to the plot function? Then if it is false don't actually plot the plot? That would allow someone to use this function to compute the cdf values only if they want to. ii) any particularly reason you return it as a list() with a single element, rather than just return a matrix? If not, can you just return a matrix?
i) sure it's done. ii) i just want to give the output a name. no particular reasons, just thought a name would be informative i guess? now it's removed and the function just returns a matrix.
diag.ash(ash_obj) produces a Q-Q plot for estimated Fhat vs uniform, which should look like a straight line from 0 to 1 under goodness of fit. please check it makes sense. can add more cosmetic effect to the plot later.