Welcome to our community

Be a part of something great, join today!

Regression Model in MiniTab

smp

New member
May 4, 2018
1
Hello, I am trying to do the following regression model;

Y = N + T + F + NT + NF + NTF + error

Y= Grams of seed
N= Number of fruit
T= Type of fruit (2 types, alpha)
F= Field number (3)

I have tried putting this in MiniTab and I cant get this set up correctly.
Assistant> Regression> Multiple Regression

Y= Grams of Seed

Continuous X Variable= Number of Fruit, Field Number - but I can't select Type since they are words and not numbers. .

Categorical X value is optional- should I put Type here?

Thank You
 

Klaas van Aarsen

MHB Seeker
Staff member
Mar 5, 2012
8,684
Hi smp, welcome to MHB!

This looks like a trick question.
We can indeed not add a type and number together. That is, it is not possible to evaluate something like "apple" + 2.
More generally, a multiple linear regression requires that all variables are quatitative (interval or ratio). That excludes categorical.