I am new to R and I am trying to learn how to predict probability in R.
For instance, say if the task was to predict the probability of an employee leaving the firm for the next 5 years. which package would I use and what would be the proper syntax?
Thank you for your reply! I am not sure which data I will use. I am trying to create some case studies for a personal portfolio showing different ways R can be used for analysis in different industries.
One example that was mentioned was in an HR industry role, predicting employee attrition.
I found a useful YouTube tutorial that assists with this project. I noticed that I may not have the right type of data. In order to calculate Attrition in R your employee data must include
each staff member's start date +
end date +
any variable that may have affected their decision to voluntarily leave the company. (Typically this data is collected in survey form. )
Awesome, I will try this one out. 1st I have to choose a better dataset or create a fictional one with a start and end date to better solve for the predictive analysis. Thank you!