All Questions
6
questions
2
votes
2
answers
77
views
Can I make my percolation in python function more efficient?
We've been tasked with finding out how many randomly distributed discs with radius = 1 it takes to form a chain of discs from the left side to the other of a square with side length = sqrt(n), and ...
6
votes
1
answer
511
views
A Level Statistics Calculator/Helper For A Casio Fx-CG50 Calculator's MicroPython
I have made a program for my calculator's micropython, that can solve various a level statistics questions for me. However due to the limitations of the ...
3
votes
1
answer
311
views
Statistics Calculator for Listed and Grouped Data
I made a statistics calculator based on raw data for my Edexcel IAL Statistics 1 course which I'm going to use in my calculator's MicroPython. I would like some suggestions for ways to further improve ...
3
votes
3
answers
256
views
Linear Regression Class in Python
I have recently been brushing up on my statistics and calculus and wanted to implement Linear Regression, the code will be for a calculus/statistics library I am working on (I know there are libraries ...
2
votes
1
answer
104
views
Grade of Service Probability Function Python
Consider the following typical probability scenario:
I defined this function to handle that scenario, I'm curious if Python has a more efficient method to handle this, or if this is the best way:
<...
4
votes
1
answer
4k
views
Compute Gini Coefficient
Recently, I was given a math assignment to calculate Gini Indexes for a table of percent distributions of aggregate income.
The table takes the form of:
...