A few rows from a dataset are shown below. This dataset show…

A few rows from a dataset are shown below. This dataset shows some company’s expenditure on product promotion in several areas of the country and the corresponding demand for the product. |Product | Expenditure| Demand| |:——-|———–:|——:| |Y | 376| 475| |Y | 412| 589| |X | 144| 532| |X | 220| 521| |X | 166| 591| |Y | 369| 515| For the above, I built a model with Demand as the response variable and Product and Expenditure as the explanatory variables. I got the following model output. |term | .lwr| .coef| .upr| |:———–|————:|———-:|————:| |(Intercept) | 493.0582505| 505.49608| 517.9339017| |Expenditure | 0.4589472| 0.50854| 0.5581328| |ProductY | -220.7083913| -207.51193| -194.3154729| |ProductZ | -430.7360919| -408.91989| -387.1036962|   Based on the above, write out the the model function. You can write numbers rounded to the first decimal place if you want.

A few rows from a dataset are shown below. This dataset show…

A few rows from a dataset are shown below. This dataset shows some company’s expenditure on product promotion in several areas of the country and the corresponding demand for the product. |Product | Expenditure| Demand| |:——-|———–:|——:| |Y | 376| 475| |Y | 412| 589| |X | 144| 532| |X | 220| 521| |X | 166| 591| |Y | 369| 515| For the above, I built a model with Demand as the response variable and Product as the explanatory variable. There are three products X, Y and Z. I got the following model output. |term | .lwr| .coef| .upr| |:———–|———:|———:|———-:| |(Intercept) | 603.3790| 612.2031| 621.02732| |ProductY | -123.1783| -111.1747| -99.17115| |ProductZ | -223.6144| -210.5510| -197.48754|   Based on the above, write out the the model function (round any numbers up or down to the nearest whole number).