Displaying 20 results from an estimated 1000 matches similar to: "Confidence Band for empirical distribution function"
2001 Oct 22
3
Two questions
Greetings,
I have two questions that I could not answer from the
documentation.
A - ecdf and confidence intervals : Is there a (simple) way to generate
confidence intervals (95%) for a ecdf?
B - cross-validation of rpart trees : a colleague is using S to
generate decision tree and mentioned to me the use of cross-validation. Is
this function enabled in R ? if so, how should one proceed to
2003 Jul 15
3
clearing some part of a graph
Hi R lovers
2 questions:
1) I'd like to know how to clean the title, the sub title or the labels of
a graph. I know how to redefine it with the function title() but it
overwrites the previous title and do not replace it
2) How could I clear a whole plot (for example in a multiple figure
environment)
thanks for your help
vincent
2003 Jul 03
4
Generating a vector for breaks in a histogram
Hi
I have two lots of numbers which I would like to histogram using the hist() function. For comparative reasons, I want them to be on the same scale, which I can use the xlim and ylim options to achieve.
However, having them on the same scale is meaningless unless they have the same "breaks". Consulting the documentation, there are 4 ways of defining the number of breaks, only one
2003 May 08
3
R crashes with package SJava; was Memory leakage?
Dear all,
Maybe this has something to do with R crashing?
When my R version crashes, there is Rgui.exe still
running in the background (i.e. W2K's task manager
recognises it only as a process, which apparently
is using almost 100% of the CPU).
I can reproduce that by "using" the SJava package
(from Brian Ripley's homepage, as suggested on
http://www.omegahat.org/RSJava/).
2003 Aug 26
3
plot empirical pdf
Hi,
are there any function to plot the empirical probability distribution
function? I just don't want to reinvent the wheel...
Best wishes,
Ott
--
Ott Toomet
PhD Student
Dept. of Economics
?rhus University
Building 322
Universitetsparken
8000 ?rhus C
Denmark
otoomet (a) econ au dk
ph: (+45) 89 42 20 27
-------------------------------------------
(o_ (*_ (O_
2003 Jun 05
6
dynamics of functions
Dear list,
I would like to study the dynamics of
functions using R (instead of mathematica e.g.),
i.e. the behavior of points under iteration
of a function.
So I tried (in vain) writing a function
myfunction <- function(f,n,x){...}
in order to compute f^{n}(x), f^{n}(x) being
the function f composed with itself n-1 times.
n is a natural number, and the argument x is
the abscissa of the point I
2003 Jun 23
3
?plot problem
R1.7.0, Win2k:
When I use plot( ) on a groupedData object,
if I have 165 subjects I'm supposed to be able
to use plot(..., layout = c(5,3,11)) to get
all 165 on 11 separate sheets. The graphics
window is only displaying the first 10. If I
use plot(..., layout = c(5,3,12)) I get the
appropriate 11 sheets.
Furthermore, yesterday I noticed that when using
plot( <linear model object> )
2003 Jun 06
1
layout problem
Hello,
I have a question about using the layout command within a function. I've
written function that uses layout to create a figure from 2 plots. This
works fine to create a figure. When I use par(mfrow = c(2,2)) to create multiple
plots, it seems that the layout command resets the mfrow parmeter.
Is there a way for me to avoid this problem?
For example
practice<- function() {
2003 Jun 23
1
Smooth of a temporal serie
Hello all,
I'm a new member in this list and, also, a new R user and need some
information about Resistant Smooth (using medians).
The method I need of Resistant Smooth is the 4253H one and I didn't found
how to perform that in R.
Does anybody have an idea?
Thanks,
Henrique.
2003 Aug 15
1
Merging and sorting multiple data.frame
Dear R help,
I'm pretty new to R and would be grateful for help.
I have 11 data.frames, each with 3 columns of data. Each has the same
row.names, however these are not sorted.
Please tell me the best way to sort these (by row.names) and secondly the
best way to extract data columns from these to form a merged table.
Thanks a million
Aedin
2002 Nov 01
2
Empirical distribution
If some can help to find under wich package can i find the commando's
wich i schould to use to work with the empirical cummulative (ecdf)
distribution and also the QQplot.
Zmarrou Hicham
Univesity of Amsterdam
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2003 Aug 20
2
grid Graphics by Paul Murrell
Dear All,
I've been trying to format a plot output using par() with mfrow, fin,
mai, etc and basically it's proving to be a pain. I searched on google
and found that Paul Murrell had written a grid Graphics program which
seems perfect. However, when I try and use say viewport() I just get a
function not found error. Can someone tell me what I'm doing wrong please?
Thank-you
2003 Aug 27
2
Basic GLM: residuals definition
Dear R Users,
I suppose this is a school boy question, but here it is anyway. I'm trying to re-create the residuals for a poisson GLM with simulated data;
x<-rpois(1000,5)
model<-glm(x~1,poisson)
my.resids<-(log(x)- summary(model)$coefficients[1])
plot(my.resids,residuals(model))
This shows that my calculated residuals (my.resids) are not the same as residuals(model).
p 65 of
2003 Jun 24
2
R and Latex's tables
Hi R lovers!
I have discovered recently that graph can be exported from R in a Latex
compatible file
thanks to the pictex command
I would like to know if there is the equivalent while exporting datas.
Let's say I have a matrix, a data.frame or a list that I would like to
export as a flat text file that is immediatly transcripted into a table
into latex
Is there a macro or package that could
2003 Aug 12
3
Sorting a dataframe
Undoubtedly a simple question:
I've looked at order() and sort() in the help pages for
R1.7.1. It doesn't appear that these functions are immediately
suited to doing the same thing as
PROC SORT DATA = BLAH;
BY X Y Z;
RUN;
in SAS. I have also checked Frank Harrell's Hmisc library.
Could someone point me in the right direction so I can sort
by the levels of Z within the levels of
2003 Sep 03
3
plotting a distribution curves
Hi,
is there a way to plot distribution curves (say normal or chi sq etc)
from within R?
For example I looked up the *chisq family of functions but I'm not sure
as to how I would use them to generate a plot of the chi sq distribution
(for arbitrary d.o.f).
Thanks,
-------------------------------------------------------------------
Rajarshi Guha <rajarshi at presidency.com>
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
2008 Feb 19
1
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
Hi, all
ecdf function (Empirical Cumulative Distribution Function) in "stats"
package counts from smaller values to larger values.
However, I want to draw it by counting from larger value to smaller values
and I couldn't find options for this purpose.
How can I draw ecdf or ecdf like graph by counting from larger values to
smaller values.
Thank you in advance.
Hyunchul Kim
2003 Aug 27
5
selecting by variable
Hi,
I'm a recent R convert so I haven't quite figured out
the details yet...
How do I select one variable by another one? Ie if I
want to draw the histogram of variable X only for
those individuals that also have a value Y in a
certain range?
In STATA I would give something like:
histogram X if ((Y>=A & Y<=B))
(The data is for individuals and each individual has a
number of
2003 Jul 24
2
median and joint distribution
Dear R-"helpers"!
May I kindly ask the pure statistics-experts to help me for a
purpose which first part is not directly concerned with R.
Consider two distribution functions, say f and g. For both, the
median is smaller than a half. Now, the multiplicative or additive
linkage of both distribution leads to a new distribution function,
say h, whereas the median of h is greater than a
2003 Jul 15
3
Plotting a graph of many lines between groups of points...
I have a data file read into a data frame.
For example,
V1 V2 V3 V4
1 1 1 3 4
2 2 3 5 10
. . . . .
. . . . .
n V1[n] V2[n] V3[n] V4[n]
to n=many thousand
I want to plot a graph with many line segments, where v1[i]=x1, v2[i]=y1,
v3[i]=x2, v4[i]=y2 for i=1,n.
This seems relatively simple in theory but I've spent quite a bit of time
trying to make it happen with