Generalized Linear Regression

GeneralizedLinearRegression workflow diagram


Performs Generalized Linear Regression (GLR) to generate predictions or to model a dependent variable in terms of its relationship to a set of explanatory variables. This tool can be used to fit continuous (Gaussian), binary (logistic) and count (Poisson) models.

Analysis Type


Specifies the operation mode of the tool. The tool can be run to train a model to only assess performance, or train a model and predict to features. Prediction types are as follows:

  • Fit a model to assess model performance—A model will be fit and applied to the input data. Use this option to assess the accuracy of your model before generating predictions on a new dataset or understand relationships and drivers of your predicted variable. The output of this option will be a feature service of your fitted data and model diagnostics.
  • Fit a model and predict values— Predictions or classifications will be generated for input features and prediction features. Explanatory variables must be provided for both the prediction features and the features to be predicted. The output of this option will be a feature service of your model fitted to your input data, a feature service of predicted values and model diagnostics.

Fit a model to assess model performance


Use this mode if you want to fit a model, and investigate the fit.

With this choice the model will be trained using an input layer. Use this option to assess the accuracy of your model before generating predictions on a new dataset. This option will output model diagnostics apply the model to your training data.

Fit a model and predict values


Use this mode if you want to fit a model, and apply the model to the dataset to generate predictions.

Predictions or classifications will be generated for features. The output of this option will be a feature service, model diagnostics, and an optional table of variable importance.

Choose a layer to generate a model from


The layer containing point, line, area, or tabular features that contain the dependent and explanatory variables.

Можна не тільки обирати шар на карті, а й обрати Вибрати шар аналізу внизу розкривного списку для огляду ваших ресурсів, які містяться у наборі даних спільного файлового сховища великих даних або у векторному шарі. Ви можете додатково застосувати фільтр на вашому вхідному шарі або застосувати вибір на розміщених на хості шарах, доданих до вашої карти. Фільтри та вибори застосовуються тільки для аналізу.

Choose the field to model


The numeric field containing the observed values to be modeled and the type of value you are modelling. There are three types of values you can model

  • Continuous—Represents continuous values. The model used is Gaussian, and the tool performs ordinary least squares regression.
  • Binary—Represents presence or absence values. These must be 1s and 0s. The model used is Logistic Regression.
  • Count—Represents discrete and represents events, for example, crime counts, disease incidents, or traffic accidents. The model used is Poisson regression.

Choose a layer to predict values for


A layer with features representing locations where estimates should be computed. Each feature in this dataset should contain values for all the explanatory variables specified. The dependent variable for these features will be estimated using the model calibrated for the input layer.

Choose the explanatory fields


One or more fields representing the explanatory variables (fields) that help predict the value. Only numeric fields will be visible.

Choose how explanatory fields are matched


How the corresponding variables in the input layer will match the variables in the prediction layer. Only the variables used in generating the model will be included in the table. Only numeric values can be used.

Result layer name


Назва шару, який буде створено. Якщо ви записуєте результати у ArcGIS Data Store, вони будуть зберігатися у Мої ресурси і додаватися до карти. Якщо ви записуєте результати у спільне файлове сховище великих даних, вони будуть зберігатися у спільному файловому сховищі великих даних і додаватися до його маніфесту. Він не буде додаватися до карти. Назва за замовчуванням базується на назві інструменту та назві вхідного шару. Якщо шар уже існує, інструмент не буде працювати.

The results returned will depend on the type of analysis. If you are fitting to assess model fit, results will contain a layer of input data fit to the model and result info assessing the model fit. If you are fitting and predicting, results will contain a layer of the input data fit to the model, a layer of predicted results, and result info assessing the model fit.

При записі до ArcGIS Data Store (реляційного або просторово-часового сховища великих даних) з використанням розкривного меню Зберегти результати в, можна указати ім’я папки у Мої ресурси, в яку будуть збережені результати.