Skip to main content

korean high school 3rd grade math with python3!

Project description

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

percstat-0.0.1a4.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file percstat-0.0.1a4.tar.gz.

File metadata

  • Download URL: percstat-0.0.1a4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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+

File hashes

Hashes for percstat-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 308080d6b99be809bf8d5e895a9b3dbe358126bd0143f72b141f86f5458e12a5
MD5 69f85788739449b04da7729ad31293b1
BLAKE2b-256 9039817ebea41f47b4a0d3b41ffc9aa71c91f3923dd5f4137ce609c3a6272319

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page