遇见数据集

Supplement 1. MATLAB simulation.

收藏
NIAID Data Ecosystem2026-03-09 收录
官方服务:

资源简介:

File List Evans_Collinearity_Supplement.m read me.txt Description The MATLAB script Evans_Collinearity_Supplement.m generates two random normal variables x and y with the correlation between them specified by the user. It then creates a third ‘response’ variable z that is a function of x and y. The exact function used to create z can be chosen by the user. Finally, it runs a set of linear regressions of z vs. various combinations of x, y, and their interactions. The regressions are used to demonstrate how using P values to select variables in a regression model can lead to retaining falsely significant parameters, resulting in an incorrect interpretation of the data. Model selection using Akaike’s ‘An Information Criterion’ (AIC) is illustrated as an alternative method. More complete details are given in Appendix B and in the comments of the file itself.

创建时间:
2016-08-04
二维码
社区交流群
二维码
科研交流群
商业服务