How to create a histogram based on a CDF formula
up vote
-2
down vote
favorite
How do I go about creating a histogram with a given CDF function? The sign(x) correlates to + or - depending on the sign of x
python cumulative-sum
add a comment |
up vote
-2
down vote
favorite
How do I go about creating a histogram with a given CDF function? The sign(x) correlates to + or - depending on the sign of x
python cumulative-sum
2
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
How do I go about creating a histogram with a given CDF function? The sign(x) correlates to + or - depending on the sign of x
python cumulative-sum
How do I go about creating a histogram with a given CDF function? The sign(x) correlates to + or - depending on the sign of x
python cumulative-sum
python cumulative-sum
edited Nov 9 at 23:54
Joseph Sh
224
224
asked Nov 9 at 21:37
Falgianot
71
71
2
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45
add a comment |
2
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45
2
2
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233562%2fhow-to-create-a-histogram-based-on-a-cdf-formula%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Your question is not clear. Just how is that "given CDF function" used by the histogram? Do you want a histogram of a random variable that uses the probability distribution function given by that CDF? Do you want a histogram that closely approximates the graph of the function you show? Or something else? And how many bars do you want in that histogram? Which part of the real line do you want to show? Which graphics environment to you want to use (matplotlib, etc)? And so on.
– Rory Daulton
Nov 9 at 21:45