Question: using r and the tidy dataset called avocados the column name for large avocados is plu4225 and its a dbl value region column name is

using r and the tidy dataset called avocados

the column name for large avocados is plu4225 and its a dbl value

region column name is region and its a chr value

type column name is type and its a chr value

We now want to run a series of regressions predicting the number of individual large avocados (PLU code 4225) sold based on type, season and region. Before running the regressions, we need to create a new variable called Season.

Create the new Season column out of Month with the following values and grouping:

Spring (March, April, May)

Summer (June, July, August)

Fall (September, October, November)

Winter (December, January, February)

Now, run three regressions predicting the number of large avocados sold based on a combination of three predictors. These regressions should include the following predictors:

Season only

Season and region (in that order)

Season, region, and type (using the binary variable)

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!