Why some iSSA's estimated coefficients are presented as NA? #101
-
I am using amt to run iSSA and I am not sure why some coefficients of the model are presented as NA in the model's summary. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
It looks like your variable R typically uses "dummy" coding to represent Essentially, it seems like You can fix all of this by making the interaction variables yourself. So instead of Have I missed anything? Does that make sense? Does it fix the problem? |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Brian! It makes a lot of sense. Yes, the variables This is the model:
I am not sure if I understood how to include the 'map' in the model. Using |
Beta Was this translation helpful? Give feedback.
-
I tried to follow your suggestion.
But then I got NA to the main effects of c1 and tpt (as expected because they do not vary within steps). Is that right? And if I had more than two categories? |
Beta Was this translation helpful? Give feedback.
-
A couple of things you could try:
to
|
Beta Was this translation helpful? Give feedback.
-
If I remove the main effects of
Then, comparing this model with the previous one, we can notice that the effect of Thank you very very much! |
Beta Was this translation helpful? Give feedback.
-
Did you also try this |
Beta Was this translation helpful? Give feedback.
-
Sorry, I didn't. I only saw your message after sending mine. Will do now. |
Beta Was this translation helpful? Give feedback.
-
No |
Beta Was this translation helpful? Give feedback.
-
Perfect!
Thanks @bsmity13 and @jmsigner! Any idea how I could do if I had more than two categories on the map? |
Beta Was this translation helpful? Give feedback.
Understood. Many thanks!