# Tagged Questions

70 views

### Sample from continuous uniform distribution with open interval

If I want to sample from a continuous uniform distribution with interval $(a,b]$, how can I do it in R? Or is it just the same as sampling from $(a,b)$ in ...
130 views

### How to write a function to generate a sequence of points in R?

This is the PDF that I am dealing with: ...
216 views

### Why would predicted values be normally-distributed when the actual values are uniform?

I'm building a supervised learning model where the target variable is a uniformly-distributed continuous value ranging from 0-1 (originally a rank value from 1-38000, then scaled down to 0-1). The 20 ...
183 views

### Uniform distribution & generation of extreme values in R

I'd like to generate a new point which should be uniformly distributed on the interval [a, b) (i.e. including the left extreme value - a and exluding the right extreme value - b). The ...
160 views

### How to use ppoints to generate points within 0 and 0.05 for qq plotting in R?

I ran Tassel3 and I filtered results with p-value not more than 0.05. This way, it is ok to draw a Manhattan plot. However, for a QQ-plot there is a problem. Say I have 40 thousands SNPs, after ...
329 views

### Kolmogorv Smirnov Test in R

I want to proof the "Relative Age Effect" of a football team. I have a list of birth dates of the team members (about 20 numbers between 1 and 365, the day of the year). I now want to use the KS-Test ...
I am trying to generate random samples from a custom pdf using R. My pdf is: $$f_{X}(x) = \frac{3}{2} (1-x^2), 0 \le x \le 1$$ I generated uniform samples and then tried to transform it to my custom ...