[英]How to interpret alias results while checking for collinearity in a Linear model in R?
Being a new to R and modeling. 成为R和建模的新手。 I was working on linear model and saw NA for my model results.
我正在研究线性模型,看到NA代表模型结果。 So I checked the attached post by Mark Needham checking Co-Linearity using alias function .
所以我通过Mark Needham 使用别名功能检查Co-Linearity来检查附件。 However, When I performed my aliasing I got -1 and 1. If any one can help me out with interpreting the results, that will be great help.
但是,当我执行别名时,得到-1和1。如果有人可以帮助我解释结果,那将是很大的帮助。 In other words, Is it Ok to say that shuttle service is highly co-related with outdoor pool, but not with Mini bar and spa ?
换句话说,可以说班车服务与室外游泳池高度相关,而与迷你吧和水疗中心没有高度关联吗? What does -1 and 1 mean ?
-1和1是什么意思?
Below is my alias results: 以下是我的别名结果:
Model :
sub1$Likelihood_Recommend_H ~ sub1$`Mini-Bar_PL` + sub1$`Pool-Outdoor_PL` +
sub1$Spa_PL + sub1$`Shuttle Service_PL`
Complete :
(Intercept) sub1$`Mini-Bar_PL`Y sub1$`Pool-Outdoor_PL`Y sub1$Spa_PLY
sub1$`Shuttle Service_PL`Y 0 -1 1 -1
Thanks in advance, 提前致谢,
alias function finds linearly dependent terms in the linear model. 别名函数在线性模型中找到线性相关项。 So the way to interpret the numbers output by alias is: Shuttle_service_PL = -1*Mini-bar_PL + 1*Pool-Outdoor_PL + 1*Spa_PL
因此,解释别名输出的数字的方式是:Shuttle_service_PL = -1 * Mini-bar_PL + 1 * Pool-Outdoor_PL + 1 * Spa_PL
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.