![](/img/trans.png)
[英]Model formula for two-way interactions between one set of variables and another
我想指定一組變量(例如a 、 b和c )和另一個變量(例如x )之間的所有雙向交互。 有沒有更有效的方法來編寫以下公式?Y ~ a*x + b*x + c*x ...
[英]Model formula for two-way interactions between one set of variables and another
我想指定一組變量(例如a 、 b和c )和另一個變量(例如x )之間的所有雙向交互。 有沒有更有效的方法來編寫以下公式?Y ~ a*x + b*x + c*x ...
[英]Cut string model formula in R
我正在努力將某個字符模型公式切成特定的值。 這是我要剪切的向量: 所需的結果應如下所示: 這是我嘗試過的: 但不幸的是,這是行不通的:( 我將不勝感激任何幫助。 謝謝!! ...
[英]Dynamic linear regression loop for different order summation
我一直在努力在 R 中重新創建這個模型:模型(FARHANI 2012) 我嘗試了很多東西,例如 cumsum paste - 但是這不起作用,因為我無法為字符串分配正確的變量,因為它一直認為 L 是一個函數。 我試圖手動完成,我只是在尋找 p,q = 1,2,3,4,5 但是在開始后我意識到這是 ...