如何理解relationship和association之间的区别
如何理解relationship和association之间的区别
参考资料:
https://blog.csdn.net/aizhao4426/article/details/101968763
relationship好像是恋爱关系?
relation/relationship 关系,联系,往来;常常在文章中用作the relation/relationship betwwen A and B relationship 更强调关系,比如说男女的暧昧关系、
relationship和Relation不能相互替换:
These are not interchangeable. "Relationship" is used to describe a social bond, such as between a mother and a child, a teacher and a child, etc. "Relation" is used to describe non-animate associations, including those between variables.
参考资料:
https://zhuanlan.zhihu.com/p/31530811
correlation,correlation的两边是变量(常为continuous data),表示的是两个变量相互之间的变化关系(正相关或负相关),如:Birth weight is positively correlated with maternal body.
association的两边往往是原因和结果(常为categorical data),表示的是二者之间的因果关系,如:
Male sex and smoking are associated with squamous carcinoma.
这个association是通过卡方检验(涉及categorical data的组间差异比较)和logistic回归分析(因变量是categorical data)得出来的。
总结:
1、因果联系的话,使用association。
2、relation用来刻画两个变量之间的关系。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!