Question: Code in Python: Using exponential probability distribution (expon): We will set loc=1 since the new members are likely to quit during the first month. But,
Code in Python:
Using exponential probability distribution (expon):
We will set loc=1 since the new members are likely to quit during the first month. But, what value of scale maximizes the log-likelihood of the data?
As an example, compute the log-likelihood of this dataset using a scale value of 4. The observed data here is the number of months a person remains enrolled before eventually quitting.
Make sure that your data is the mem_duration for individuals with status=="Q".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
