Python Forum
Simple linear regression with interaction summary table - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Simple linear regression with interaction summary table (/thread-41639.html)



Simple linear regression with interaction summary table - Andrzej_Andrzej - Feb-21-2024

Hi,
I would be very grateful for help because I was not able to figure it out in R.
So if R can't do it maybe Python can?
Here are two questions how to include reference levels for interaction terms:
https://stackoverflow.com/questions/77933272/how-to-add-a-reference-level-for-interaction-in-gtsummary-and-sjplot/77935742#77935742

and here as well:
https://stackoverflow.com/questions/78016795/how-to-add-reference-levels-for-interaction-in-r

Is it doable in Python ?

Thank you for your time.