transcripty package¶
Submodules¶
transcripty.model module¶
-
class
transcripty.model.
CreditAccumulationModel
(Tc, ncoursesattempted, ncreditspercourse, ncreditsgrad, sigma)¶ Bases:
object
This is a parent class which implements a general credit accumulation method and implements a simulate method that could be used across various binomial credit accumulation models.
- Parameters
Tcoll (int) – The number of years an individual can stay enrolled in college
ncoursesattempted (int) – The number of courses an individual attempts per year
ncreditspercourse (int) – The number of credits each course is worth
ncreditsgrad (int) – The number of credits required to graduate
sigma (float64) – The standard deviation of the GPA shock. The higher the sigma, the less correlated ability and GPA are.
-
See Parameters
-
simulate
(N)¶ Simulates model outcomes, including ability level, GPA, and credit accumulation process, for N individuals.
- Parameters
N (Int) – The number of individuals that we provide a simulation for
- Returns
a_i (np.array((N,), float64)) – The ith element is individual i’s ability level
gpa_i (np.array((N,), float64)) – The ith element is individual i’s GPA
credits (np.array((N, T_c), int)) – The [i, j] element is the number of credits accumulated by agent i in period j
transcripty.version module¶
This is a VERSION file and should NOT be manually altered