Closed lumiereljy closed 2 years ago
D1()
expects the output to be generated by a call to with.mids()
- see the help. You bypass that expectation and create your own with output. If I were you, I'd create a mids
object with imp <- as.mids()
and then pass the inference pooling over to e.g. with(imp, polr(y ~ var1 + var2))
. See if that fixes your issue.
Other than that, I'd need a reprex
to be of more help.
Closing due to inactivity
I'm comparing two models, one with two variables
var1
andvar2
, and the other one is the nested model with only one variablevar1
usingD1()
. However, it gives meNA
for bothdf2
andp value
. Does anyone know why this happened and how I could possibly overcome this issue? I am attaching the code and test result below. There are 88 cases in total. Thank you in advance for any suggestions!