search for: qqplot

Displaying 20 results from an estimated 141 matches for "qqplot".

Did you mean: qplot
2012 Feb 10
1
making multiple lines using qqplot
Hi Everyone, I want to make 3 lines on the same graph (not as subplots, all in the same window, one on top of each other) and I want them to be quantile-quantile plots (qqplot). Essentially, I am looking for the equivalent of Matlab's "hold on" command to use with qqplot. I know I can use 'points' or 'lines', but these do not give me a qqplot (only appear to work as scatter plots). I found the syntax 'par(new=TRUE)' but that only...
2011 Mar 25
1
multiple plots with QQplot of PerformanceAnalytics
Hi All, I am trying to plot 4 graphs on to 1 page using layout(...), or par(mfcol = c(...)); with the function QQplot from the package PerformanceAnalytics. The problem is that, no matter what order I use, it only plots 3 graphs on to 1 page and the last QQplot is shunted to the next page. Also, this only happens to the QQplot, i.e. there is no problem with 4 Histograms. set.seed(1033) data <- matrix(rnorm...
1999 Aug 31
1
Suggestion for qqplot() improvement
>>>>> On Tue, 31 Aug 1999 14:57, Werner Stahel <stahel@stat.math.ethz.ch> said: WSt> Here is a suggestion. It seems that qqplots, comparing a sample WSt> to a distribution other than the normal, are not explicitly WSt> available in S or R. I found (in S-plus / Trellis it is, see below) WSt> qqplot(y, rt(300, df = 5)) WSt> as an example in the help file to qqplot . WSt> This is not v...
2011 Sep 01
0
qqplot for count data
Dear list, I just tried to do the same thing, and did not find anything on a weighted qqplot. My weights are actually counts (positive integers). Here is a modification of qqplot, following Duncan Murdoch's suggestion. Any feedback would be welcome! Thanks, Jean-Christophe weighted.qqplot <- function (x, y, plot.it = TRUE, xlab = deparse(substitute(x)), ylab = deparse(substitute(y...
2010 Jun 24
4
Simple qqplot question
I am a beginner in R, so please don't step on me if this is too simple. I have two data sets datax and datay for which I created a qqplot qqplot(datax,datay) but now I want a line that indicates the perfect match so that I can see how much the plot diverts from the ideal. This ideal however is not normal, so I think qqnorm and qqline cannot be applied. Perhaps you can help? Ralf
2006 Feb 06
2
qqplot
Hello, I would like to use qqplot() to compare two experimental distributions. But I do not understand how qqplot() compute quantiles. In fact, quantile() do not return the same results. Thank you for your help. Vincent.
2009 Nov 02
7
qqplot
Hi, We could use qqplot to see how two distributions are different from each other. To show better how they are different (departs from the straight line), how is it possible to plot the straight line that goes through them? I am looking for some thing like qqline for qqnorm. I thought of abline but how to determine the s...
2003 Apr 29
4
thick plot lines
Dear People, In a qqplot I am doing, I get lines/points that are very thick. I've tried setting the lwd variable to 0.1, but it doesn't seem to have any effect. Also, I have set the value of lty to dashed, but I still get dots. The command looks like qqplot(cdf.inv(seq(0,1,length=size),theta,pos,len),empmargdistve...
2009 Dec 23
2
how to create normal qqplot with the 95% confidence interval
hi everyone! season's greetings! is there any way that i can create a normal qqplot showing, aside from the qqline, the 95% confidence limits? thank you very much.. happy holidays! -- View this message in context: http://n4.nabble.com/how-to-create-normal-qqplot-with-the-95-confidence-interval-tp977727p977727.html Sent from the R help mailing list archive at Nabble.com.
2001 Jan 05
1
pairs(NxK_Matrix,panel=qqplot) (PR#803)
Full_Name: Matthias von Davier Version: 1.2.0 OS: linux Submission from: (NULL) (144.81.31.148) pairs(NxK_Matrix,panel=qqplot) produces a message Error in pairs.default(NxK_Matrix,panel=qqplot) : The panel function made a new plot best regards and a happy new year -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ....
2011 Nov 16
2
outlier identify in qqplot
...'ve gone through help files and use mahalanobis example for my purpose: NormalMultivarianteComparefunc <- function(x) { Sx <- cov(x) D2 <- mahalanobis(x, colMeans(x), Sx) plot(density(D2, bw=.5), main="Squared Mahalanobis distances, n=nrow(x), p=ncol(x)") rug(D2) qqplot(qchisq(ppoints(nrow(x)), df=ncol(x)), D2, main = expression("Q-Q plot of Mahalanobis" * ~D^2 * " vs. quantiles of" * ~ chi[ncol(x)]^2)) abline(0, 1, col = 'gray') } Then I run: NormalMultivarianteComparefunc(y); y dataframe with the...
2007 Mar 23
2
Fitting a line to a qqplot's points?
I've made some normal plots of my data using qqplot, and now I would like to fit a line to the points on the plot and check the correlation coefficient to have a more objective measure of how straight the line is. Is there a simple way of doing that? (I'm still pretty new to R.) Thanks, --Paul -- Paul Lynch Aquilent, Inc. National Library...
2012 May 09
1
QQplots format
Dear R help, I tried to plot two qq plots in the same window using the code below.? Somehow it is plotting only one at a time.?? I borrowed the print function from xyplot. ? pdf("QQplotCorrUncorr.pdf") qq1<-qqPlot(residuals(fm), main="QQ plot for Correlated Model") qq2 <-qqPlot(residuals(fma), main="QQ plot for Uncorrelated Model") print(qq1, pos = c(0.0, 0.0, 0.5, 0.5), more = TRUE) print(qq2, pos = c(0.5, 0.5, 1, 1), more = FALSE ) ??? ?dev.off(...
2012 Nov 29
1
QQplot
Hi! <http://r.789695.n4.nabble.com/file/n4651293/qq.png> We are stuck with a problem considering the qqplot of a dataset. We are trying to discover what kind of distribution this is. We already tried to normal, exponential or the logaritmical distribution but none of those are able to solve our problem. Is there someone able to tell us what kind deformation we should try? (I'm sorry for the horri...
2009 Feb 08
2
how to make this qq plot in lattice and/or ggplot2
Hi Group, Here is some data. p <- runif(1000) # sample data groups <- rep(c(1,2),each=500) #conditioning variable mydata <- cbind(p,groups) n <- length(p) u <- (1:n)/(n + 1) # uniform distribution reference for qqplot logp <- -log(p,base=10) logu <- -log(u,base=10) qqplot(logp,logu) How can I make the above qqplot in lattice and/or ggplot2. The sample is uniform, and I take -log10. In addition, I would like to use the group variable to condition. I was not able to get the stat_qq function in ggplot2 to wo...
2006 Mar 15
1
(newbie) Weighted qqplot?
...3 # The weights. These won't add up to 1 or to the same number as xw. > # The question to answer is, how can I create a qq plot or cdf compare of x vs. y, weighted by their weights, xw and yw (to eventually figure out if y comes from the population x, similar to Kolmogorov-Smirnov GOF)? > qqplot(x,y) # What now? Thanks for any help, -- -- Vivek Satsangi Student, Rochester, NY USA Life is short, the art long, opportunity fleeting, experiment treacherous, judgement difficult.
2006 Oct 25
1
Drawing a reference line for a qqplot with reference to Weibull distribution
Hi, I'm trying to create a qqplot with reference to a Weibull distribution including a reference line. This is my current code: lights.data <- scan("lights.dat") #Generate Weibull quantiles prob.grid <- ppoints(length(lights.data)) prob.quant <- qweibull(prob.grid , 1.5,4) #Draw QQ plot qqplot(prob.quant,lights....
2009 Jun 22
0
QQplots of probability vector data
...ould write a quick program to get the mean (which I did in perl) but I'd rather not do that for the sd as I am sure there is an easier way to do this. Either way, once I have the qnorm stored in x, all I have to do is qqnorm(x) right? -- View this message in context: http://www.nabble.com/QQplots-of-probability-vector-data-tp24145321p24145321.html Sent from the R help mailing list archive at Nabble.com.
2005 Feb 25
4
Temporal Analysis of variable x; How to select the outlier threshold in R?
For a financial data set with large variance, I'm trying to find the outlier threshold of one variable "x" over a two year period. I qqplot(x2001, x2002) and found a normal distribution. The latter part of the normal distribution did not look linear though. Is there a suitable method in R to find the outlier threshold of this variable from 2001 and 2002 in R?
2006 Mar 23
1
Estimation of skewness from quantiles of near-normal distribution
I have summary statistics from many sets (10,000's) of near-normal continuous data. From previously generated QQplots of these data I can visually see that most of them are normal with a few which are not normal. I have the raw data for a few (700) of these sets. I have applied several tests of normality, skew, and kurtosis to these sets to see which test might yield a parameter which identifies the sets which...