# Tag Info

1 vote
Accepted

### Why the contribution of a categorical value in SHAP trained on Catboost differs from observation to observation

There is a difference because the effect of the species ("target") is not independent of the other features: the GBM you have built has nontrivial (and perhaps even very complex) feature ...
• 4,767
1 vote

### Best subset selection with categorical data

As detailed so many times on this site, variable selection is a really bad idea. Spend time specifying a complete model rather than juggling models.
• 95.7k

### How to do regression when there is a mix of numerical and non-numerical predictor variables?

This is an Analysis of Covariance or ANCOVA problem. Basically, it is a mix of regression and ANOVA: You have categorical IVs like in ANOVA and continuous covariates like in regression, hence ANCOVA.
1 vote
Accepted

### Testing dependence of two categorical variables with data separated by test subject

So, if we can assume that the datapoints are indeed independent, your first inclination of using a 2x2 contingency table (with $\chi^2$ or Fisher-exact) would work, and give you a valid result; it ...
• 1,830

### Factor-smooth interactions in generalized additive models

The obvious difference would be that the two separate models wouldn't include the covariances between the two smooths. So there would be no way to statistically compare the two estimated smooths. FYI: ...
• 48.8k
1 vote

### Handling Composite Variables in Latent Class Analysis

Provided you are willing to use your composite variables as continuous/interval-scale variables, you could use latent profile analysis (LPA) instead of "classical" latent class analysis (LCA)...
• 3,751

### Correlations between continuous and categorical (nominal) variables

I found this article helpful in understanding why and where which correlation will be used How to Calculate the Correlation Between Categorical and Continuous Values

### Visualizing categorical data with 7 variables

@MaartenPunt has provided a good start. Let me expand on those ideas. The notion of a stacked bar chart stratified by another variable is very close to a mosaic plot (see also here). The primary ...
Accepted

### Exponential Regression dependent variable with dummy variables or numerical average of each category?

This is called a log-linear model in my field, since you have a logged outcome and an unlogged covariate. Exponential regression usually entails an untransformed outcome with $\exp()$ wrapped around a ...
• 37.3k