quantile Questions

2

Solved

It's my understanding that when calculating quantiles in R, the entire dataset is scanned and the value for each quantile is determined. If you ask for .8, for example it will give you a value th...
Dualism asked 9/4, 2015 at 19:39

1

Solved

I have a dataframe obs with 145 rowns and more than 1000 columns. For each row I would like to extract the value of the 95th percentile but calculated only on the data greater or equal to 1. I ma...
Inverson asked 6/5, 2015 at 13:2

3

I'm trying to replicate some Matlab code in python. I could not find an exact equivalent to the Matlab function quantile. What I found most close is python's mquantiles. Matlab example: quantile( ...
Kerch asked 5/12, 2012 at 21:44

1

Solved

Main question: Suppose you have a discrete, finite data set $d$. Then the command summary(d) returns the Min, 1st quartile, Median, mean, 3rd quartile, and max. My question is: what formula does R ...
Tymothy asked 8/1, 2015 at 0:13

2

Solved

I am using the quantreg package to run the following quantile regression in R: bank <-rq(gekX~laggekVIXclose+laggekliquidityspread+lagdiffthreeMTBILL+ lagdiffslopeyieldcurve+lagdiffcreditspread...
Mangan asked 8/11, 2013 at 14:17

1

Solved

How can I nest a quantile() within a tapply() in R Studio? Given: tapply(data$x,data$y, quantile) This works, but it delivers standard quin-tiles. I want to choose custom percentiles. How can I...
Transversal asked 24/11, 2014 at 14:30

2

Solved

My limited understanding is quantile and quartile are some sort of similar but totally different ways of measurement. I googled but could not find an easy to understand explanation. There is a D3 r...
Eb asked 23/10, 2014 at 16:15

0

The current quantile scale takes all the input values as the domain to map the output range. But if the data is extremely large, I want the processing to happen on the server giving me the quartile...
Oliver asked 22/9, 2014 at 13:14

1

I've encountered an interesting situation while calculating the inter-quartile range. Assuming we have a dataframe such as: import pandas as pd index=pd.date_range('2014 01 01',periods=10,freq='D...
Peria asked 4/6, 2014 at 19:48

3

Solved

See edit below Using R, I would like to filter a matrix (of gene expression data) and keep only the rows (genes/probes) that have values with high variance. For example, I'd like to only keep the r...
Phlebosclerosis asked 8/6, 2013 at 21:17

3

Solved

My code is based on the methods described here and here. def fraction?(number) number - number.truncate end def percentile(param_array, percentage) another_array = param_array.to_a.sort r = pe...
Fellowman asked 9/4, 2010 at 17:39

1

Solved

In Stata, is it possible to plot quantile regression lines? I know a standard OLS regression line can be added to a scatter plot but it isn't clear to me how to add other types of regression lines....
Hann asked 10/12, 2012 at 19:10

2

Solved

Judging from the documentation boost seems to offer quantile functions (inverse cdf functions) for both normal and gamma distributions, but its not clear for me how can I actually use them. Could s...
Bartender asked 6/4, 2011 at 10:59

2

Solved

Using R, and package quantreg, I am performing quantile regression analyses to my data. I can get access to the p-values using the se (standard error) estimator in the summary function, as below, ...
Worsham asked 21/8, 2012 at 9:53

2

Solved

i´d like to assign factors representing quantiles. Thus I need them to be numeric. That´s why I wrote the following function, which is basically the answer to my problem: qdum <- function(v,q)...
Estienne asked 22/10, 2010 at 15:39

© 2022 - 2024 — McMap. All rights reserved.