Question: 3. Binary variables such as placebo or not placebo can be included as a dependent variable in a linear model by calling: (a) lm( formula
3. Binary variables such as placebo or not placebo can be included as a dependent variable in a linear model by calling:
(a) lm( formula = y ~ placebo + x, data = somedataset )
(b) geom_smooth( placebo )
(c) lm( formula = placebo ~ y + x, data = somedataset )
(d) geom_smooth( aes( y = y, x = placebo ) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
