[R] Q-Q Plot for loglogistic, lognormal and 2 parameter exponential distributions

peter dalgaard pdalgd at gmail.com
Mon Oct 13 10:55:49 CEST 2014


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



More information about the R-help mailing list