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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!