similar to: Inserting percentile values in a data frame

Displaying 20 results from an estimated 1000 matches similar to: "Inserting percentile values in a data frame"

2013 Jan 10
1
Subset in, not in
Hello, I need to subset my dataframe into 2 parts; in: mm <- subset(agr1, subset=lmpcrd %in% c(11697,149823,7654)) not in: but where do I stick the " !" in the above? I've tried every position. Thanks for your help. -- View this message in context: http://r.789695.n4.nabble.com/Subset-in-not-in-tp4655178.html Sent from the R help mailing list archive at Nabble.com.
2005 Aug 19
2
Ascend Pipeline POTS to TDM400P FXO Question..
I have a TDM400P with some FXO ports, and I wanted to connect the two POTS lines from my Pipeline-75 ISDN router into the FXO interfaces on my Asterisk server. Hooked it up, seemed fine, called in and it answered. The problem is when the call is hung up on, the FXO port never drops. So of course then the P75 just holds the line off hook and you get a busy. So it's good for the first
2011 Jan 18
3
error message
I was running a sampling syntax based on a data frame (ago) of 160 rows and 25 columns. Below are the column names: > names(ago) [1] "SubID" "AGR1" "AGR2" "AGR3" "AGR4" "AGR5" "AGR6" "AGR7" "AGR8" [10] "AGR9" "AGR10" "WAGR1" "WAGR2"
2004 Apr 06
2
percentile-percentile plot
Hi, Is there a function that does percentile-percentile plot. I do not mean the qqplot. I need to plot the percentiles rather than points themselves. I am hoping for a plot that tells me that the x percentile of one data set corresponds to the y percentile of the other. for example a point on the plot of (.5, .2) will tell me that the 50th percentile of the first data and the 20th percentile of
2000 Aug 09
3
Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE
Hello, I have just installed a fresh copy of FreeBSD 4.0-RELEASE on a P75, and want to compile openssh-2.1.1p2, but the compile fails with: gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c loginrec.c: In function
2011 Dec 23
3
data vector to corresonding percentile ranks
I have a problem where I need to calculate the corresponding cohort percentile ranks for each of several variables. Essentially, what I need is a function that will calculate the distribution-free percentiles from each variable's data vector, returning a corresponding vector of percentiles: e.g.: percentile.my.data<-/function/(my.data) I tried to make ecdf() perform this task but
2008 May 16
1
(1-alpha)th percentile
hello; firstly, my gratitude to all who help me to find a function that allows me to add confidence interval to my graph. in order to calculate the (1-alpha)th percentile of for exemple an F(df1,df2) distribution i do like this: v<-df(alpha,df1,df2) percentile<-qf(v,df1,df2,alpha) if it is true please alert me , and if it is not what should do then? :handshake: -- View this message in
2009 Mar 04
3
Diff btw percentile and quantile
To calculate Percentile for a set of observations Excel has percentile() function. R function quantile() does the same thing. Is there any significant difference btw percentile and quantile? Regrads, -- View this message in context: http://www.nabble.com/Diff-btw-percentile-and-quantile-tp22328375p22328375.html Sent from the R help mailing list archive at Nabble.com.
2017 Aug 16
1
Bias-corrected percentile confidence intervals
Hi folks, I'm trying to estimate bias-corrected percentile (BCP) confidence intervals on a vector from a simple for loop used for resampling. I am attempting to follow steps in Manly, B. 1998. Randomization, bootstrap and monte carlo methods in biology. 2nd edition., p. 48. PDF of the approach/steps should be available here: https://wyocoopunit.box.com/s/9vm4vgmbx5h7um809bvg6u7wr392v6i9 If
2013 Apr 03
5
Can package plyr also calculate the mode?
I am trying to replicate the SAS proc univariate in R. I got most of the stats I needed for a by grouping in a data frame using: all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), sd=sd(COUNTS), q25=quantile(COUNTS,.25),median=quantile(COUNTS,.50), q75=quantile(COUNTS,.75), q90=quantile(COUNTS,.90), q95=quantile(COUNTS,.95), q99=quantile(COUNTS,.99) )
2010 Sep 07
2
Percentile rank for each element in list
Heeeelp Given this data x <- c(1,5,100,300,250,200,550,900,1000) > quantile(x) 0% 25% 50% 75% 100% 1 100 250 550 1000 When I run the quantile, I can only know the value of the nth percentile I want to know what's the percentile position of each items in the list Sample 1 = 100% on the list has 1 or more 5 = more than x% on the list has 5 or more 100 = more than x% on the
2012 Nov 08
3
difference percentile R vs SPSS
Dear list, I am calculating the 95th percentile of a set of values with R and with SPSS In R: > normal200<-rnorm(200,0,1) > qnorm(0.95,mean=mean(normal200),sd=sd(normal200),lower.tail =TRUE) [1] 1.84191 In SPSS, if I use the same 200 values and select Analyze -> Descriptive Statistics -> Frequencies and under "Statistics", I type in '95' under Percentiles,
2011 May 25
3
how to compute the inverse percentile of a given observation w.r.t. a reference distribution
Hi, can anyone help me to figure out how to compute the percentile of an individual observation with respect to a reference distribution. What I mean is. Let's assume I have a vector consisting of 10 numbers {3,5,8,1,9,5,4,3,5.5,7} and I want figure out what percentile the number 4.9 corresponds to. I failed to find any reference to such a function, although I would assume this must
2009 Aug 18
2
value of nth percentile
Dear All, I have to get the value of say 90th percentile of precipitation time series.. The series is of daily precipitation value of 96 years, I have to to get 90the percentile value of daily precipitation each year. If you know the R code or command for this please let me know. I would appreciate your early response. Thanking you, Sincerely, Ajay.
2005 Oct 18
1
A two-part question about box-percentile plots, bpplot(): (1) yaxt="n" doesn't seem to work (2) how to display mean values
Dear List, I have a two-part question related to bpplot(), a box-percentile plot function in the Hmisc package. Take the example given in the Help for bpplot(), for instance. (1) How does one set but not draw the y-axis? What I did was, bpplot(... , yaxt="n"), but that apparently does not work (though it works for boxplot()). (2) How does one display the mean value of each variable
2008 May 16
1
Lattice box percentile plot
Dear Nabble. I am trying to draw a box percentile plot with trellis using the panel in Hmisc. I really want to colour the plots in. I can alter several of features of the plot by changing the trellis par settings but I just can’t fill the shape in. Here is some example code which alters line colour and dot symbol: require(lattice) require(Hmisc)
2011 Jan 02
3
The Percentile of a User-Defined pdf
I would like to give a probability distribution function of a function of (x,y) on the half-plane y>0, and a constant 0<c<1 and I would like to know the c percentile of the marginal distribution of x. I have tried along the lines of the following but I keep getting errors: # SIMPLIFIED PROBLEM # The plan is to solve for the .975 percentile "xc" of the marginal x distribution
2002 Aug 09
0
percentile labels in qqnorm
Hi- I wanted percentage labels on a qqnorm x axis. I used the following: #make up some data jt<-rnorm(100) #qqnorm with percentile x labels qqnorm(jt,axes=F,xlab="Percentiles") box() l<-c(1,5,10,30,50,70,90,95,99) axis(1,at=qnorm(l/100),label=l) which was ok for this data set. Does anyone have a more general solution which would allow one to specify the number of x labels
2010 Oct 13
1
bwplot change whiskers position to percentile 5 and P95
Dear R-community, Using bwplot, how can I put the whiskers at percentile 5 and percentile 95, in place of the default position coef=1.5?? Using panel=panel.bwstrip, whiskerpos=0.05, from the package agsemisc gives satisfaction, but changes the appearance of my boxplot and works with an old version of R, what I don’t want, and I didn’t find the option in box.umbrella parameters Many thanks
2007 Jun 18
2
Calculating Percentile in R
Hi all, I have a problem on how R calculates Percentiles : Suppose I have following data set: > data1 [1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896 [9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709 -9212182 -9151073 [17] -9092732 -9068214 -8978151 -8943912 -8761890 -8632106 -8541580 -8501249 [25] -8234466 -8219015