Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Representing categorical variables as sets of numerical variables. Necessary in many types of analysis for them to process categorical data. A common example is using a categorical predictor in regression/ANOVA via dummy coding, effect coding, Helmert coding, user-defined contrasts, etc.
0
votes
interpreting coefficients of interaction terms between categorical variables
You are absolutelly right, it is exactly as you posted it (assuming other_var is equal to 0, otherwise you will have to add $b_4 * othervar$)
0
votes
When finding significance in parts of a categorical variable during stepwise selection, do y...
You could in principle put types 1, 2 and 3 as a single group, but I don't know if this makes sense in your particular case.
Also, please remember that statistical significance is an arbitrary tresh …
6
votes
Accepted
Clear explanation of dummy variable trap
Let's say you have a binary variable, like sex. You create two dummy variables to reflect that in your model. Let's say you have six individuals $(M,F,F,M,M,F)$. Your dummy variables look like:
$X_1 …
0
votes
Regression/classification models and dummy variables
Assuming you're using the base R lm/glm functions:
If you createthe dummy variables yourself, the step process will treat them as separate variables, so you may get some of them removed while the othe …
1
vote
How to interpret regression function with categorical variable?
The category variable coefficients indicate how much your prediction is incremented if a given individual belongs to the corresponding category.
What strikes me is that you have two different coeffic …
0
votes
How to encode categorical variables in a video game predictive model
If the only possible results are win/lose, then you are in front of a binary classification problem (so SVM, trees, logistic regression and all of the others can apply). I don't know about scikit-lear …