# multivariate regression ?

#### lambrechtPJ

##### New Member
Hi guys,

I would like to look whether gross margin % (GM/net sales) is dependent on several parameters for example volume, weight, product, geographical location of customer ... The problem is that there are several categorical variables (product, geography, ..). I was thinking of doing a multivariate regression, as in gross margin % = a1 + a2* volume + a3* weight + a4 * product1 + a5 * product2 .... + ax * geography 1 ....
with each of the different categorical values (fe products) having a separate column with binairy values.
Is this a correct approach or should I just test each variable separately to see whether there is a correlation?
The thing is I would like to know f.e. if product A is sold in country A and in country B whether the gross margin is significantly higher or not.

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,012
Messages
5,834,919
Members
430,326
Latest member
tomwax46

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back