Tagged Questions
1
vote
1answer
90 views
How to write a function to generate a sequence of points in R?
This is the PDF that I am dealing with:
...
3
votes
1answer
150 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 ...
2
votes
1answer
146 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 ...
2
votes
1answer
100 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 ...
0
votes
1answer
254 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 ...
3
votes
1answer
1k views
Generating random samples from a custom distribution
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 ...
11
votes
3answers
2k views
Are there default functions for discrete uniform distributions in R?
Most standard distributions in R have a family of commands - pdf/pmf, cdf/cmf, quantile, random deviates (for example- dnorm, pnorm, qnorm, rnorm).
I know it's easy enough to make use of some ...