![]() Multinomial regression with ordinal responses Create test data by using the indices of the test data rows to create a matrix of measurements and a vector of species labels. Get the indices of the test data rows by using the test function. By default, fitmnr uses virginica as the reference category. The table output shows coefficient statistics for each predictor in meas. ![]() Mdl is a multinomial regression model object that contains the results of fitting a nominal multinomial regression model to the data. Multinomial regression with nominal responses To display the sorted names of the response variable categories, use the ClassNames property of MnrModel. The last category is the default reference category. fitmnr sorts the categories in species in order of their first appearance. The small p-values in the column pValue indicate that all coefficients are statistically significant at the 95% confidence level. ![]() The Coefficients property contains coefficient statistics for each predictor in meas. MnrModel is a multinomial regression model object that contains the results of fitting a nominal multinomial regression model to the data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |