Jomy Jose
2014-Oct-12 09:58 UTC
[R] Q-Q Plot for loglogistic, lognormal and 2 parameter exponential distributions
Is there any R package that can plot Q-Q plot for loglogistic,lognormal and 2 parameter exponential distributions or is there a way to check the model fit for these distributions in R ? [[alternative HTML version deleted]]
peter dalgaard
2014-Oct-13 08:55 UTC
[R] Q-Q Plot for loglogistic, lognormal and 2 parameter exponential distributions
A basic approach is x <- rchisq(1000, 4) qqplot(qchisq(ppoints(x), 4), x) abline(0,1) Substitute whatever distribution and parameters that might apply. Notice that if you don't have a location-scale family of distributions, you need to compare to the identity line, not just look for linearity. -pd On 12 Oct 2014, at 11:58 , Jomy Jose <infojomy at gmail.com> wrote:> Is there any R package that can plot Q-Q plot for loglogistic,lognormal and > 2 parameter exponential distributions or is there a way to check the model > fit for these distributions in R ? > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com