Lasso (L1 regularization), and Panel Data. Provides comprehensive diagnostics including VIF for multicollinearity, Cook's Distance for influential observations, and residual tests for assumption validation. Automatically handles categorical variables through one-hot encoding.
Model options include optional intercept (OLS/Ridge/Lasso only), log transformation of target variable, automatic dummy variable creation for categorical predictors (first category as reference), and automatic handling of missing values via listwise deletion.
OLS provides full diagnostics including inference statistics (standard errors, t-statistics, p-values, 95% confidence intervals), VIF for detecting multicollinearity (VIF > 10 indicates high collinearity), Cook's Distance and leverage for identifying influential observations and outliers, and residual tests including Jarque-Bera and Omnibus (normality), Breusch-Pagan (heteroscedasticity), and Durbin-Watson (autocorrelation).
Panel regression provides inference statistics (standard errors, t-statistics, p-values, confidence intervals) but VIF and influence diagnostics are not available as they are not meaningful in panel data context.
Ridge and Lasso do not provide inference statistics because regularization biases coefficient estimates, invalidating standard error calculations and p-values derived from OLS theory. VIF is not computed for regularized models. Cook's Distance and leverage are not available because these diagnostics rely on the hat matrix from unbiased OLS fits.
The regression methods provide fit statistics (R², Adjusted R², RMSE, MAE), standardized coefficients (beta weights for comparing predictor importance), and predictions with residuals (fitted values, raw and standardized residuals).
String/categorical predictors are automatically converted to dummy variables using one-hot encoding. The first category
of each categorical variable serves as the reference category (dropped to avoid the dummy variable trap). Dummy variable
names follow the format: VariableName_CategoryValue.
OLS/Ridge/Lasso: - Linearity between predictors and target - Homoscedasticity (constant residual variance) - Normality of residuals - No perfect multicollinearity
Numeric dependent variable to predict. Must be continuous and numeric. This is the outcome variable that the model will learn to predict from the predictor variables.
One or more independent variables used to predict the target. Numeric variables are used as-is. Categorical (string) variables are automatically converted to dummy variables (one-hot encoding) with the first category as reference.
Regression model type, specification, and diagnostic computation settings.
Choose the type of regression estimation. OLS provides full diagnostics; Ridge and Lasso add regularization for improved prediction or feature selection. Panel options for entity or time effects in longitudinal data.
Available options:
Include a constant term (intercept) in the regression model. Disable only if you have theoretical reasons to force the regression line through the origin. Not applicable for panel regression (entity/time effects serve as intercepts).
Apply natural logarithm transformation to the target variable. Useful for modeling multiplicative relationships or when the target has exponential growth. Results will need to be back-transformed for interpretation.
Choose between Fixed Effects (FE) or Random Effects (RE) for panel regression. Fixed Effects control for all time-invariant unobserved heterogeneity within each entity by including entity-specific intercepts (equivalent to entity dummy variables). Use FE when unobserved factors (e.g., firm culture, individual ability) are correlated with predictors. Random Effects assume unobserved factors are uncorrelated with predictors and models them as random variation, providing more efficient estimates when this assumption holds. FE is more robust but uses more degrees of freedom; RE is more efficient but requires stronger assumptions. Hausman test can help choose between them.
Available options:
Column identifying the cross-sectional units (entities) in your panel data. Each unique value represents a distinct entity (e.g., individual person, company, country, store) tracked over time. Examples: customer_id, firm_id, country_code, patient_id. The model will account for systematic differences between entities by estimating entity-specific effects (FE) or treating them as random variation (RE). This controls for time-invariant characteristics of each entity that might confound the relationship between predictors and outcome.
Column identifying the time periods in your panel data. Each value represents a distinct time point when observations were recorded (e.g., year, quarter, month, date). Examples: year, observation_date, time_period, wave. The model will account for time-specific shocks or trends affecting all entities simultaneously by estimating time fixed effects. This controls for temporal factors (e.g., economic cycles, policy changes, seasonality) that might affect all entities and confound the analysis. Both entity and time indices are required to properly structure the panel data.
Calculate Variance Inflation Factors to detect multicollinearity among predictors. VIF > 10 indicates problematic multicollinearity; VIF > 5 suggests caution. Note: Requires at least 2 predictors. Only available for OLS.
Calculate Cook's Distance and leverage values to identify influential observations that may disproportionately affect model estimates. Only available for OLS.
Dataset for linear regression analysis. Must contain one numeric target variable and one or more predictor variables (numeric or categorical). Categorical variables are automatically converted to dummy variables. For panel data, must include both entity and time index columns. Missing values are handled via listwise deletion.
Comprehensive regression results including R², Adjusted R², F-statistic, RMSE, MAE, and residual diagnostic tests (Jarque-Bera, Breusch-Pagan, Durbin-Watson, Omnibus).
Detailed coefficient table with estimates, standard errors, t-statistics, p-values, confidence intervals, standardized beta coefficients, and VIF for multicollinearity assessment.
Fitted values, residuals, standardized residuals, studentized residuals, Cook's Distance, leverage, and influence flags for each observation.
Comprehensive 6-panel diagnostic visualization: (1) Residuals vs Fitted, (2) Q-Q Plot, (3) Scale-Location, (4) Cook's Distance, (5) Residual Histogram, (6) Leverage vs Residuals.
Trained regression model object with all specifications and settings. Can be used with a Linear Model Predictor node to generate predictions on new data without retraining.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Nodes for Statistics and Social Science from the below update site following our NodePit Product and Node Installation Guide:
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!