建模过程包括三个阶段:表述,估计和评估,本文帮助用户进行模型表述、估计,进行PSTR模型评估。
最近我们被客户要求撰写关于PSTR的研究报告,包括一些图形和统计输出。
在程序包中实现了集群依赖性和异方差性一致性检验。
还实现了wild bootstrap和cluster wild bootstrap检验。
并行计算(作为选项)在某些函数中实现,尤其是bootstrap检验。因此,该程序包适合在超级计算服务器上运行多个核心的任务。
“Hansen99”数据集来提供示例。
可以通过执行创建PSTR类的新对象
-
-
-
- #> Summary of the model:
- #> ---------------------------------------------------------------------------
- #> time horizon sample size = 14, number of individuals = 560
- #> ---------------------------------------------------------------------------
- #> Dependent variable: inva
- #> ---------------------------------------------------------------------------
- #> Explanatory variables in the linear part:
- #> dt_75 dt_76 dt_77 dt_78 dt_79 dt_80 dt_81 dt_82 dt_83 dt_84 dt_85 dt_86 dt_87 vala debta cfa sales
- #> ---------------------------------------------------------------------------
- #> Explanatory variables in the non-linear part:
- #> vala debta cfa sales
- #> ---------------------------------------------------------------------------
- #> Potential transition variable(s) to be tested:
- #> vala
- #> ###########################################################################
- #> ***************************************************************************
- #> Results of the linearity (homogeneity) tests:
- #> ***************************************************************************
- #> Sequence of homogeneity tests for selecting number of switches 'm':
- #> ***************************************************************************
- #> ###########################################################################
因变量是“inva”,第4列到第20列的数据中的变量是线性部分的解释变量,非线性部分中的解释变量是“indep_k”中的四个,潜在的转换变量是“v