search for: percentil

Displaying 20 results from an estimated 263 matches for "percentil".

Did you mean: percentile
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 p...
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 fr...
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() pe...
2005 Jan 07
2
Getting empirical percentiles for data
Dear List, I have some discrete data and want to calculate the percentiles and the percentile ranks for each of the unique scores. I can calculate the percentiles with quantile(). I know that "ecdf" can be used to calculate the empirical cumulative distribution. However, I don't know how to exact the cumulative probabilities for each unique element. T...
2012 Jul 30
3
Calculating percentiles for multiple dates
I was hoping to calculate the percentile for each date. So group all of one date together, calculating the value of the 2.5 and 97.5 percentile. -- View this message in context: http://r.789695.n4.nabble.com/Calculating-percentiles-for-multiple-dates-tp4638183p4638378.html Sent from the R help mailing list archive at Nabble.com.
2013 Jul 29
3
duda reemplazar valores en data frame según condición
Estimados quería realizarles una consulta: Trabajo con una tabla con 23 registros, la cual tiene en la columna "*ar4*" valores de una variable llamada ranking para cada registro, y una columna "percentil" donde le voy a colocar el nivel de percentil en el que se encuentra ese valor (ar4) de cada uno de esos 23 registros. La tabla es la siguiente:: código padre n ar4 percentil 1 27 -0,36 2 18 -0,17 3 17 -0,48 4 16 0,15 5 15 -0,03 6 13 -0,26 7 13 0,78 8 13 -0,07 9 12 -0,08 10...
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...
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...
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 list has 100 or more 250 = more than 50% on the list has 250 or more etc.... Thanks in advance
2009 Feb 17
6
Percentiles/Quantiles with Weighting
Hi All, I am looking at applications of percentiles to time sequenced data. I had just been using the quantile function to get percentiles over various periods, but am more interested in if there is an accepted (and/or R-implemented) method to apply weighting to the data so as to weigh recent data more heavily. I wrote the following function, bu...
2004 Sep 21
2
Ever see a stata import problem like this?
...(Other) : 8523 NA's : 3453 > Here's what Stata sees when I load the same thing: summarize, detail Case identification number ------------------------------------------------------------- Percentiles Smallest 1% 197432 19721 5% 199649 19722 10% 1974116 19723 Obs 40933 25% 1983475 19724 Sum of Wgt. 40933 50% 1996808 Mean 9963040 Large...
2012 Apr 20
1
Package "demography" - calculating percentiles of survival probabilities distribution
Hi, I am using the package "demography" from Rob Hyndman for the Lee-Carter-Model. It is an amazing powerful tool but I am struggling with one issue: I want to compute different percentiles of the survival probability distribution derived from the Lee-Carter-Forecast (e.g. the 50%tile, 60%tile, 75%tile and 99%tile) for each of the next 10 years. Is there any possibility to retrieve these "attachment points"? I am sure the package possess this functionality but I didn'...
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. --...
2013 Jan 21
1
Percentiles with R for a big data.frame
Dear R users, I came up to a problem dealing with percentiles in R. >From my previous questions: I do have a big data.frame, with lots of columns and rows. The following command enables me to calculate means for all data frame. dat1$newID<-rep(1:(nrow(dat1)/12),each=12) #if nrow(dat1)/12 is integer dat2<-with(dat1,aggregate(cbind(dat1[,1:71]),by...
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/...
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 of the pdf (say it is proportional to 1/(1+x^2+y^2) for simplicity) which...
2004 Apr 26
2
Looking for help in calculating percentiles
Hi All: I am working with a dataset on Arsenic toxicity, and I am trying to calculate the 20th, 40th, 60th, 80th, and highest percentiles for a variable, dietary Moisture (variable name dMoist). The inbuilt function quantile(dMoist) would print 0, 25th, 50th, 75th, and 100th percentile. Does there exist a function that can calculate xth percentile (where x = 10th, 20th, ... etc) values? I looked for such functions in the doc...
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 context: http://www.nabble.com/%281-alpha%29th-percentile-tp17273198p172...
2012 Feb 29
1
Coding help
...et: ID REPI DV CONC SS 1 1 156.84 116 0 1 2 146.56 116 0 1 3 115.13 116 0 1 4 207.81 116 0 1 5 129.53 116 0 1 6 151.48 116 0 1 7 158.95 116 0 1 8 192.37 116 0 1 9 32.97 116 0 1 10 151.66 116 0 I want to calculate the percentile of each CONC within ID=i and add as a column "Percentile". I got some help from R-tutorial on percentile but I am not able loop the function to calculate percentile/individual. So, I want the calculation to include only the ID=1 DVs to calculate the pecentile of conc=116. I truly appr...
2013 Jan 03
1
Inserting percentile values in a data frame
Hello I need to calculate and insert the values for the 50,75,90,95 & 99 percentiles in a data frame for each row. I used agr1$quantile <- quantile(agr1$cnt, probs=c(.50, .75, .90, .95, .99)) but that didn't work. How can calculate the percentile for my variable "cnt" , insert & name the percentile as p50, p75, etc in my data frame agr1? Thanks in advanc...