I'm asked to build a GLM model from 89 known specimens to predict the group membership of the remaining 199 specimens. I have 288 specimen’s in total with the response variable having three levels. I need to use cross-validation to predict the accuracy of my model.
a sample Data
Group M1 M2 Fora Phone len height Rost
1 multiplex 2078 1649 1708 3868 5463 2355 805
2 subterraneus 1749 1482 1462 3797 4855 2218 765
3 unknown 1841 1562 1585 3750 5024 2232 821
I'm building a logistic model to predict unknown from the other two groups.
My understanding is I need to split the data into two sets. One data set to train the model which consists of 89 rows and another 199 rows to test and predict the unknown. But the flow in this is the fact that my training set is so small and my testing set is larger.
My question is Can I include Unknown rows into my model and then predict them or will I just use the multiplex and subterraneous portion of the data in my logistic model?
multiplex
,subterraneus
, &unknown
? It sounds like you either need ordinal logistic regression or multinomial LR. $\endgroup$unknown
a third group, or are those species where you don't know if they'remultiplex
orsubterraneus
? $\endgroup$