3
$\begingroup$

I'd like to predict how many students will enroll in a college in September, based on independent variables which are known earlier in the annual student recruitment cycle.

For example, one independent variable would be the number of accepted offers; I know how many students have accepted an offer from the college for each week from January to August for the last five years, and I know how many of these students actually enrolled in September (generally about 80% of students who accept an offer actually enroll, but this varies year-on-year).

Other independent variables might include: how many students have already paid a deposit on their tuition fee, or even the current exchange rate for students travelling from abroad.

So far, I've used historical conversion rates to predict enrollment, but I am wondering whether I can do something more sophisticated which would allow me to add in other independent variables.

Any ideas of which approaches I should investigate would be very welcome. I'd be particularly interested to hear of any Python libraries which might be relevant.

$\endgroup$

1 Answer 1

3
$\begingroup$

I would try out regression in Python's scikit-learn library to predict the September headcount given all those other variables you have. Here is a basic example using a linear model. Once you have that working, you could try a more sophisticated algorithm.

http://scikit-learn.org/stable/auto_examples/linear_model/plot_ols.html

$\endgroup$
4
  • $\begingroup$ Thanks - so would I train the model on one of my independent vars e.g. X = week number, y= accepted offers and forecast on week number + n? I can see how this would forecast accepted offers, but not enrolment... I was thinking I'd like to make an 'explanatory model', as described in the 'Predictor variables and time series forecasting' section... $\endgroup$ Jun 21, 2017 at 15:28
  • $\begingroup$ No, I was saying you would tell it to forecast enrollment numbers given all the other variables. Are you asking if you could also predict if an individual student would enroll? $\endgroup$
    – CalZ
    Jun 22, 2017 at 16:02
  • $\begingroup$ No need to predict individual students – I just need a forecast of overall enrolment. What would the X and y be if I followed the linear model for just one variable (say accepted offers)? Do you mean I should train the model so X = week by week number of offers and y = final enrolment? Thanks for bearing with me! $\endgroup$ Jun 23, 2017 at 12:33
  • 1
    $\begingroup$ Y would be final enrollment and X would be every other variable for a multivariate linear regression. I sent you a univariate one, so maybe that was confusing. Here's another example: stackoverflow.com/questions/42055615/… $\endgroup$
    – CalZ
    Jun 23, 2017 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.