Nội dung text 14_03_Varying Slope Model.pdf
pacmann.io © 2022 – Pacmann AI 20 Varying Slope Model
pacmann.io © 2022 – Pacmann AI 21 Varying Coefficient Model Previously we have learn about varying intercept model, now will learn about variability more, instead of just intercept that vary, what if we have varying weight of a predictor. To illustrate this, we will be using our UC Berkeley Admission in 1973
pacmann.io © 2022 – Pacmann AI 22 Varying Coefficient Model In our case we are going to analyze the relationship between department, gender towards the acceptance rate of Berkeley Admission in 1973 Column Description dept department applicant.gender gender of applicant admit number of admitted applications number of applications reject number of rejected applicants
pacmann.io © 2022 – Pacmann AI 23 Varying Coefficient Model First, we will use varying intercepts model, in this case what we assume may vary is by department , our model will be also using predictor on gender. We can express our model as :