Displaying 20 results from an estimated 800 matches similar to: "qqplot for count data"
2006 Mar 15
1
(newbie) Weighted qqplot?
Folks,
Normally, in a data frame, one observation counts as one observation
of the distribution. Thus one can easily produce a CDF and (in Splus
atleast) use cdf.compare to compare the CDF (BTW: what is the R
equivalent of the SPlus cdf.compare() function, if any?)
However, if each point should not count equally, how can I weight the
points before comparing the distributions? I was thinking of
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
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
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
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.
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
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.
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
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.data)
#add red reference line
qqline(lights.data,col = 2)
2011 Nov 16
2
outlier identify in qqplot
Dear Community,
I want to identify outliers in my data. I don't know how to use identify
command in the plots obtained.
I'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),
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
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 slope and intercept?
Best wishes,
Carol
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work because "[" is obviously not an
operation or function on SWX.RET. So how do I
2006 Aug 11
2
Colour-coding intervals on a line
Hi,
This is a simple version of something that I am trying to do. If I can
sort the problem basically, I figure I should be able to sort it for the
program I'm writing (which would take longer to explain).
I need to know if there is any way of using different colours for
different intervals of a line on a graph. Eg. If I plot the line y=x for
x=1:10, and split this line into 106 intervals
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,
2007 Jun 19
1
BlackBox testing
I am porting SWX (swxformat.org) to Ruby. It''s a data exchange format
that assembles data structures into native SWF bytecode.
Here''s my dilemma: The original SWX implementation (PHP) tests a lot
of methods that wouldn''t be included in the public API (if PHP
properly supported encapsulation that is). The PHP implementation
really only includes a single public
2009 Aug 25
2
Clarifications please.
Hi
I think I have asked these questions earlier, but I been able to find
answers from the documentation (which I found poorly written in several
places). Will someone be kind enough to give me answers and enlighten me?
(as in explain with CODE?)
I want to embed R in my application and use the fPortfolio package for
carrying out risk management computations. Right now I'm reading the
Rmetrics
2009 Aug 25
1
R command line behaving funny
Hi
I am unable to try out examples from the Rmetrics Ebook from the R command
prompt. Below is an example of what happens:
> Covariance<-cov(SWX.RET)
Error in cov.timeSeries(SWX.RET) :
no slot of name "Data" for this object of class "timeSeries"
I have loaded Rmetrics and fPortfolio using the library function but still I
get these errors.
However, if I embed the R
2009 Jul 23
1
dimension trouble for a matrix
Dear R People:
I'm having trouble with something that should be very simple.
I'm setting up a matrix outside of a loop and writing items into it
during the loop.
Here is the output:
> glob3b("sites.info")
dim 27 3
[1] "/raid1/osg-app"
Error in xy[i, ] : incorrect number of dimensions
Here is the function:
> glob3b
function(xx) {
x.df <-
2012 Nov 28
3
error, R commends cannot show the expected output
Hi,
I am working on R 2.15.2 on Win. 7.
I am trying to run some simple commends.
>class(SWX.RET) # SWX.RET is a data file that has been loaded.
But, I cannot see the expected output.
I have deselected "buffered output". Still it does not work.
Any help will be appreciated.
Thanks
[[alternative HTML version deleted]]