cohort_analysis
is for cohort(vintage) analysis.cohort_analysis
cohort_analysis
is for cohort(vintage) analysis.
cohort_table
cohort_analysis(
dat,
obs_id = NULL,
occur_time = NULL,
MOB = NULL,
group = NULL,
due_day = NULL,
period = "monthly",
status = NULL,
amount = NULL,
by_out = "cnt",
start_date = NULL,
end_date = NULL,
dead_status = 30,
all_due = TRUE
)cohort_table(
dat,
obs_id = NULL,
occur_time = NULL,
MOB = NULL,
group = NULL,
due_day = NULL,
period = "monthly",
status = NULL,
amount = NULL,
by_out = "cnt",
start_date = NULL,
end_date = NULL,
dead_status = 30,
all_due = TRUE
)
A data.frame contained id, occur_time, mob, status ...
The name of ID of observations or key variable of data. Default is NULL.
The name of the variable that represents the time at which each observation takes place.
Mobility of book
A group of observations.
The name of the variable that represents the time at the end of MOB.
Period of event to analysiss. Default is "monthly"
Status of observations
The name of variable representing amount. Default is NULL.
Output: amount (amt) or count (cnt)
The earliest occurrence time of observations.
The latest occurrence time of observations.
Status of dead observations.
All observations are due.