search for: nquantiles

Displaying 2 results from an estimated 2 matches for "nquantiles".

Did you mean: quantiles
2024 Jan 26
1
DescTools::Quantile
...56, 0.06, 0.0632, 0.0648, 0.0648, 0.0632, 0.06, 0.0556, 0.0501, 0.0441, 0.0378, 0.0315, 0.0257, 0.0204, 0.0157, 0.0119, 0.0087, 0.0062, 0.0043 ) x = seq(-100,100,length.out=length(probWeights)) qtls <- DescTools::Quantile(x, weights=probWeights, probs=c(0.1,0.9)) cat("\nQuantiles:\n") print(qtls) Both quantiles are equal to 100! Is this function working or am I not using it correctly? Michael Meyer
2024 Jan 29
0
DescTools::Quantile
...0.0556, 0.06, 0.0632, 0.0648, 0.0648, 0.0632, 0.06, 0.0556, 0.0501, 0.0441, 0.0378, 0.0315, 0.0257, 0.0204, 0.0157, 0.0119, 0.0087, 0.0062, 0.0043 ) x = seq(-100,100,length.out=length(probWeights)) qtls <- DescTools::Quantile(x, weights=probWeights, probs=c(0.1,0.9)) cat("\nQuantiles:\n") print(qtls) Both quantiles are equal to 100! Is this function working or am I not using it correctly? Michael Meyer [[alternative HTML version deleted]]