Displaying 20 results from an estimated 8000 matches similar to: "Q-Q Plot for comparing two unequal data sets"
2017 Oct 15
2
Bootstrapped Regression
Hello Rui,
Thanks for your helpful suggestions. Just for illustration, let's use the
well known Duncan dataset of prestige vs education + income that is
contained in the "car" package. Suppose I wish to use boot function to
bootstrap a linear regression of prestige ~ education + income and use the
following script:
duncan.function <- function(data, indices) {data =
2013 May 30
1
wilcox_test function in coin package
Dear All,
I have two simple data samples (no groups or factors, etc.) and would just
like to compute the two-sample Wilcoxon Rank Sum test using the wilcox_test
function contained in the coin package, which is reportedly better than the
regular wilcox.test function because it performs some adjustment for ties.
Would anyone know how to craft a script to perform this task? Much
appreciated.
Janh
2017 Oct 14
3
Bootstrapped Regression
Greetings!
We are trying to obtain confidence and prediction intervals for a predicted
Y value from bootstrapped linear regression using the boot function. Does
anyone know how to code it? Greatly appreciated.
Janh
[[alternative HTML version deleted]]
2017 Oct 15
0
Bootstrapped Regression
Hello,
Much clearer now, thanks.
It's a matter of changing the function boot calls to return the
predicted values at the point of interess, education = 50, income = 75.
I have changed the way the function uses the indices a bit, the result
is the same, it's just the way I usually do it.
pred.duncan.function <- function(data, indices) {
mod <- lm(prestige ~ education +
2017 Oct 14
0
Bootstrapped Regression
R-help is not a free coding service. We expect users to make the effort to
learn R and *may* provide help when they get stuck. Pay a local R
programmer if you do not wish to make such an effort.
Cheers,
Bert
On Oct 14, 2017 7:58 AM, "Janh Anni" <annijanh at gmail.com> wrote:
Greetings!
We are trying to obtain confidence and prediction intervals for a predicted
Y value from
2013 Mar 21
2
NADA
Dear Users
Regarding the NADA package, would anyone be able to help me understand what
values are actually plotted on the Y axis of the plot obtained by using the
*ros* function on the data and plotting the result with the plot()
function? The Y axis is labeled "Values". According to the NADA user
manual, ros performs a log transformation of the data by default, but the
user can specify
2013 Mar 13
4
boxplot
Hi,
I try to boxplot following data on the subset of (V1,V3,V5,V7) and
(V2,V4,V6,V8)
V1 V2 V3 V4 V5 V6 V7 V8
2 4 6 7 12 33 43 53
how can I use boxplot function to plot it?
thanks,
William
2012 Mar 24
2
Compare similarit of two vector of not same length
Dear all,
this is not strictly R question. I have two vectors of different length (this is in the order of 10%). I am trying to see if still one can compare these two for similarity.
IF the vectors were of the same length I would just take the difference of the two and plot a pdf of it.
One way I am thinking is prorbably to find the longer length and short it in some way to get to the length of
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.
2012 Nov 04
1
95% Q-Q Plot error message
Can someone please help with the error message below?
Warning messages:
1: Not plotting observations with leverage one:
7
2: Not plotting observations with leverage one:
7
> print(qqPlot(fit),envelop=.95);
Error in model.frame.default(formula = Y ~ X - 1, drop.unused.levels =
TRUE) :
variable lengths differ (found for 'X')
In addition: Warning message:
In matrix(yhat, n, reps) :
2011 Aug 28
1
comparing two unequal matrices without for loop?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110828/ac62948a/attachment.pl>
2004 Jun 08
3
Comparing two pairs of non-normal datasets in R?
Hi all,
I'm using R to analyze some research and I'm not sure which test would be
appropriate for my data. I was hoping someone here might be able to help.
Short version:
Evaluate null hypothesis that change A1->A2 is similar to change C1->C2, for
continuous, non-normal datasets.
Long version:
I have two populations A and C. I take a measurement on samples of these
2008 Aug 05
4
LIDAR Problem in R (THANKS for HELP)
Hi All,
I am a PhD student in forestry science and I am working with LiDAR data set
(huge data set). I am a brand-new in R and geostatistic (SORRY, my
background it?s in forestry) but I wish improve my skill for improve myself.
I wish to develop a methodology to processing a large data-set of points
(typical in LiDAR) but there is a problem with memory. I had created a
subsample data-base but
2010 Jun 23
4
Comparing distributions
I am trying to do something in R and would appreciate a push into the
right direction. I hope some of you experts can help.
I have two distributions obtrained from 10000 datapoints each (about
10000 datapoints each, non-normal with multi-model shape (when
eye-balling densities) but other then that I know little about its
distribution). When plotting the two distributions together I can see
that
2010 May 18
1
lattice::panel.levelplot.raster too picky with unequal spacing
Dear all,
I got a couple of warnings using panel.levelplot.raster,
In panel.levelplot.raster(..., interpolate = TRUE) :
'y' values are not equispaced; output will be wrong
although I was quite sure my data were equally spaced (indeed, I
created them with seq()). A closer look at the source code reveals
that the function tests for exact uniformity in grid spacing,
if
2012 Nov 04
1
Fw: 95% Q-Q Plot error message
Can someone please help with the below - thanks!
Warning messages:
1: Not plotting observations with leverage one:
7
2: Not plotting observations with leverage one:
7
> print(qqPlot(fit),envelop=.95);
Error in model.frame.default(formula = Y ~ X - 1, drop.unused.levels =
TRUE) :
variable lengths differ (found for 'X')
In addition: Warning message:
In matrix(yhat, n, reps) :
data
2001 Sep 01
2
interpolation and numerical differentiation in R ?
Hi,
I'm trying to determine if R is useful to me. I've browsed 'The Basics of
S and S-Plus' (Krause & Olson), and like the logic of the language.
However, I don't see an easy way to do things like this:
* given a set of observations (x,y) (x and y equal-length vectors), and a
2nd set of abscissas x2, interpolate y at the new abscissas x2. (for now,
I don't really
2009 Oct 06
1
Is there a recent book on Q-Q plot and data visualization in general?
Hi,
I want to look for some detailed explanation on the properties of Q-Q
plot and how the properties are derived.
In R, there is the following reference.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S
Language. Wadsworth & Brooks/Cole.
Somebody also mentioned the following book chapter to me.
Chambers et al., Graphical methods for Data Analysis, Ch.6.
But both books are
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
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),empmargdistvec(len,theta,pos,size),
xlim=c(-theta,theta), ylim=c(-theta,theta),