Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

percstat

percstat is used when you calculate percentage and statistics

Installation:`

` pip install percstat `

Changelogs:

changelogs:

v0.0.0b1~25:beta,not added statistics
v0.0.1a1~4:alpha,first release,added statistics
edited readme.md

Usage:

` import percstat.percstat as p `

  • other not means “other”! other means a,b,c,…(For example)

  • class etc

how to use:

a=p.etc.dicevalue=[1,2,3,4,5,6],change a to other
b=p.etc.coinvalue=[0,1],change b to other
#class percentage
c=p.percentage.Factorial(n)  #n is integer, change c to other, returns n*(n-1)*…*2*1
d=p.percentage.nPr(n,r) #n and r is integer, change d to other,  returns Factorial(n)/Factorial(n-r)
e=p.percentage.nCr(n,r) #n and r is integer, change e to other,  returns nPr(n,r)/Factorial(r)
f=p.percentage.AnB(A,B) # A and B is list, change f to other, returns intersection of A and B
g=p.percentage.Ac(A,S) # A and S is list, change g to other, returns compliment of A in S
h=p.percentage.AUB(A,B) # A and B is list, change h to other, returns union of A and B
i=p.percentage.AEB(A,B) # A is Element , B is list, change i to other, returns true if A is in B
j=p.percentage.AcB(a,b) # A is Element that type is list, B is list, change j to other, returns true if A is in B
k=p.percentage.P(A,S) # A is Element, S is list change k to other, returns percentage pf A in S
l=p.percentage.P_BlA(A,B,S) # A and B is Element but, B must in A, S is list, change l to other, returns conditional Probability of B in A
m_=p.percentage.nPIr(n,r) #n and r is integer, change m_ to other, returns n**r
n_=p.percentage.nHr(n,r) # n and r is integer, change n_ to other, returns nCr(n+r-1,r)
o=p.percentage.AmB(A,B,S) #A and B is list, change o to other, returns difference of A and B in S(A-B)
#class statistics
p_=p.statistics.autoconfigure(n,P) #n is integer, P is float (nmore than 0 and less than 1) , change p_ to other,returns list that configured(rule:nCr(n,r)*(P**r)*((1-P)**(n-r))) 0 to n, r is another variable that don’t need to declare.
p.statistics.into_graph(li) #li is list(use autoconfigure(n,P)),print   graphs with rules.
q=p.P_cond(li,cond) # li is list(use autoconfigure(n,P)),cond is string, returns percentage based on cond(condition,ex: “a>8” means select more than 8 in graph and returns sum of these. and you can multiply these conditional sentence with “&” (ex:”a<7&a>9” means select less than 7 and more than 9 in graph and get sum.)),don’t allow like a<x<b or etc.
r_=p.statistics.E_X(li) #returns averages of autoconfigured list.
s=p.statistics.V_X(li) #returns variations of autoconfigured list.
t=p≥statistics.sigma_X(li) #returns square root of V_X(li)
u=p.statistics.convert_NXtoNZ(x,m,sigma)#
v=p.statistics.configure_N(x,m,sigma) #
w=p.statistics.autoconfigure_N(a,b,m,sigma)#returns calculated percentage based on sigma and m(same as E_X(li)) in range a and b (a<=x<=b)

License:

Metadata

Release files for percstat 0.0.1a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for percstat 0.0.1a4
File Size Uploaded
percstat-0.0.1a4.tar.gz 3.9 kB Details

Release files / percstat-0.0.1a4.tar.gz

Download URL percstat-0.0.1a4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
308080d6b99be809bf8d5e895a9b3dbe358126bd0143f72b141f86f5458e12a5
BLAKE2b-256 checksum
How to use checksums
9039817ebea41f47b4a0d3b41ffc9aa71c91f3923dd5f4137ce609c3a6272319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.2+
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page