We develop a Stata command, bootranktest, for implementing the matrix rank test of Chen and Fang (2019) in linear instrumental variable regression models. Existing rank tests employ critical values that may be too small, and hence may not even be first order valid in the sense that they may fail to control the Type I error. By appealing to the bootstrap, they devise a test that overcomes the deficiency of existing tests. The command bootranktest implements the two-step version of their test, and also the analytic version if chosen. The command also accommodates data with temporal and cluster dependence.
翻译:我们在线性工具可变回归模型中开发一个 Stata 命令,即启动测试,用于执行Chen 和 Fang 矩阵级测试(2019年) 。 现有的排名测试使用的关键值可能太小,因此可能无法控制I型错误,甚至不能成为第一顺序有效。 他们向靴子陷阱发出呼吁, 设计了克服现有测试缺陷的测试。 命令启动测试执行测试的两步版本, 如果选择的话, 也执行分析版本。 命令还包含时间和集束依赖性的数据 。