statistics - How to use ChebyShev's Inequality in R -


i have statistical question in r , hoping use chebyshev inequality theorem, don't know how implement it.

example: imagine dataset nonnormal distribution, need able use chebyshev's inequality theorem assign na values data point falls within lower bound of distribution. example, lower 5% of distribution. distribution one-tailed absolute zero.

i unfamiliar how go this, sort of example might help.

if helpful know, problem stemming large amount of different datasets different types of distribution - nonnormal. need able select lower percentage of distribution , assign na values them discount them rest of analysis. appreciate help!

thanks!

from description "i need able select lower percentage of distribution , assign na values them discount them rest of analysis," sounds pretty simple:

x <- runif(1000) # simulate data cutpt <- quantile(x,probs=.05) x[x<cutpt] <- na 

Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

java - Why is BlockingQueue.take() not releasing the thread? -

jQuery Ajax Render Fragments OR Whole Page -