So I was asked to write a code that generates 100 randomly uniform distributed numbers x between 0 and 1, and use those values in our distribution function F(x)=1-e^(-x) for x=>0. And then plot a histogram.
Now I want to conclude if it appears to be distributed according to a exponential distribtuion.
1.So I though that I could overlay my histogram with the graph of the exponential distribtuion, but I have no clue in how I do that. Could anyone help me?
Im new to R and this is my first course in statistics, thanks in advance.