MHB Can Categorical Variables be Used in Multiple Regression Models?

  • Thread starter Thread starter smp
  • Start date Start date
  • Tags Tags
    Model Regression
smp
Messages
1
Reaction score
0
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 can't 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
 
Physics news on Phys.org
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.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...

Similar threads

Back
Top