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 <infoj...@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@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....@cbs.dk  Priv: pda...@gmail.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.

Reply via email to