【问题标题】:Can I use interaction terms with psem in piecewiseSEM?我可以在分段SEM 中使用与 psem 的交互项吗?
【发布时间】:2021-03-11 23:36:02
【问题描述】:

我正在尝试在分段SEM 包中使用与 psem 交互的术语,但出现以下错误:

名称错误(B)

 lme(response1 ~ predictor1 * predictor2, data),
 lme(response2 ~ predictor1 * predictor2, data),
  ...)```

lme is in the nlme package

predictor1 is an integer of 7 levels
predictor2 is a factor of 2 levels

The model alone runs fine outside of psem, though. I could not find a reference as to why interaction terms will not work in the function psem.

I appreciate any insights on this. Thanks!

【问题讨论】:

    标签: interaction nlme piecewise


    【解决方案1】:

    更新:

    此 SEM 仅在 predictor2 为整数时才有效

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-23
      • 1970-01-01
      • 2011-12-27
      • 1970-01-01
      • 2010-10-13
      • 2021-01-21
      • 2016-06-06
      • 1970-01-01
      相关资源
      最近更新 更多