Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8672807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:17:44+00:00 2026-06-12T19:17:44+00:00

I am having troubles plotting a Cumulative Distribution Function. So far I Have found

  • 0

I am having troubles plotting a Cumulative Distribution Function.

So far I Have found this:

scipy.stats.beta.cdf(0.2,6,7)

But that only gives me a point.

This will be what I use to plot:

pylab.plot()
pylab.show()

What I want it to look like is this:
File:Binomial distribution cdf.svg

with p = .2 and the bounds stopping once y = 1 or close to 1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:17:46+00:00Added an answer on June 12, 2026 at 7:17 pm

    The first argument to cdf can be an array of values, rather than a single value. It will then return an array of values.

    import scipy.stats as stats
    import matplotlib.pyplot as plt
    import numpy as np
    
    x = np.linspace(0,20,100)
    cdf = stats.binom.cdf
    plt.plot(x,cdf(x, 50, 0.2))
    plt.show()
    

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having troubles in OpenGL due to the fact that textures have to
I'm having troubles trying to find a solution, if any, to this: public class
I am having troubles with understanding how to load data with Core Data. This
I'm having troubles extending the Application class to declare global variables. I have extended
I'm having troubles using addAttributeToFilter on Magento Multiple select attributes. I have a multiple
I'm having troubles trying the make this code works with razor @for (int i
I have been having troubles getting my makefiles to work the way I want.
Currently having troubles getting results from a simple aggregate function with HQL. Here is
I'm having troubles using WinMenuSelectItem to select a menu option when I have to
I am having troubles with creating up this sql query to find records having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.