Multiple Predictors

180 views
Skip to first unread message

rennel...@gmail.com

unread,
Apr 14, 2015, 9:50:17 AM4/14/15
to causal...@googlegroups.com
Hi,

I think my question is easy.

I was wondering the best code for multiple variables?

I mean x1, x2, x3,  x4......

Kay Brodersen

unread,
Apr 14, 2015, 11:15:07 AM4/14/15
to rennel...@gmail.com, causal...@googlegroups.com
Hi rennellussco,

If these are separate response variables you could simply run separate CausalImpact() analyses on each of them. If these are predictor variables, you would add them to your 'data' argument as additional columns.

Kay


--
You received this message because you are subscribed to the Google Groups "CausalImpact" group.
To unsubscribe from this group and stop receiving emails from it, send an email to causalimpact...@googlegroups.com.
To post to this group, send email to causal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/causalimpact/13fdd525-3f92-4c5e-8dba-ee9091c879ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rennel...@gmail.com

unread,
Apr 15, 2015, 2:44:45 PM4/15/15
to causal...@googlegroups.com, rennel...@gmail.com
Thanks, I understand is there a way you would write the code for optimization?
Reply all
Reply to author
Forward
0 new messages