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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -