All Questions
9 questions
1
vote
1
answer
321
views
Encode multiple values of an attributes in Pandas
I have a dataset and one of the attributes of the dataset is Race. People have multiple races on the dataset. The values for the attribute Race are following
...
5
votes
3
answers
1k
views
why use dummies and not different integers for categorical data? [duplicate]
I am new to stats and I want to use a regression to determine income
See below table example
age
class
location
income
23
Adult
London
23000
44
Adult
Glasgow
45000
75
Senior
Birmingham
37000
12
...
0
votes
0
answers
49
views
How to decide n_componets in HashEncoding
I want to predict salary for each person depending on the job_roles, Technical skills. Column job_roles have 1500 unique roles.
There is a column Technical skills (which have combination of skills) I ...
0
votes
0
answers
252
views
Label-encoding nominal variables
I am aware of the practice that label encoding is preferred for ordinal variables while ...
0
votes
1
answer
176
views
Using ANOVA to judge Yes/Sometimes/No questions ability to significantly predict a continuous variable?
I have a dataset that looks something like this:
...
1
vote
1
answer
2k
views
How to deal with Nominal categorical with label encoding?
So if my dataset looks like this:
...
-1
votes
3
answers
592
views
Dealing with categorical variables - Looking for recommendations [closed]
I have the following dataset, in which the wind direction (Direccion del viento (Pos)) column is categorical, with 8 categorical values:
In total Direccion del ...
13
votes
4
answers
6k
views
How to statistically prove if a column has categorical data or not, using Python
I have a data frame in python where I need to find all categorical variables. Checking the type of the column doesn't always work because int type can also be ...
1
vote
1
answer
3k
views
Do I use dummy encoding or one hot encoding when trying to do regression?
I am trying to do regression for the first time using qualitative and quantitative data using scikit learn.
I want to find correlations between user demographic features like age range, country, ...