Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

I have the a dataset with 4 columns: user_id, number_of_clicks_before, order_before, personal_interest(see picture). I need to create a dummy variable for the variable personal_interest. I tried this ...
0 votes
0 answers
23 views

I am creating a database of plant species and their traits. I have to create dummy variables for some categorical variables, but some of these variables can include more than one category for each ...
-2 votes
1 answer
118 views

I'm working on a machine learning project in Python. Using pandas pd.get_dummies I'm trying to create dummy variables for a categorical column in my data but the variables are being converted to ...
3 votes
4 answers
156 views

Unfortunately, I could not find a suitable simple solution. Suppose I have a dataframe like this set.seed(1) data <- data.frame(ID = 1:20, value = sample(20)) ranges <- c(0, 5, 10, 15) I want ...
Sulz's user avatar
  • 523
1 vote
2 answers
131 views

I am performing a linear regression with one continuous predictor and one categorical (two levels) predictor. I have included the categorical factor as a named factor ("Control" and "BD&...
okaywell's user avatar
2 votes
1 answer
145 views

I am quite new to using r and am struggling to find a few to actually find a pearson correlation coeffcient from a set data. I am attempting to analyze whether there is a correlation between scores ...
0 votes
0 answers
54 views

i'm struggling on codes that worked well since this morning. I would like to create a dummy variable in this way: for the group of observations identified by NCLP variable, it should take value 1 when ...
-1 votes
2 answers
67 views

Assume I have a dataframe with one column of class "Date" in R: Date Sales Type 1 2012年03月22日 22 A 2 2012年03月22日 18 B 3 2012年04月11日 ...
-1 votes
1 answer
42 views

the dataset like this: a b c d a1 b1 1 0 a1 b1 0 1 a1 b2 0 1 a1 b2 1 0 a2 b3 1 0 a2 b3 1 0 a2 b4 0 0 if a1&b1 as a pair, have the dummy of 1 and 0 for column c, and 0 and 1 for column d. I ...
Pang kalok's user avatar
2 votes
3 answers
299 views

I apologize in advance for my first question on this platform. I had browsed many threads, but most of the things I found do not involve any dummy variables. However, after around 4 hours of ...
0 votes
1 answer
54 views

I got stuck, i making some searchview for find my dummy item but still didnt work, anyone know how it works ? this is my dummy data interface DummyMateriDataSource { fun getMateriData(context:...
0 votes
1 answer
138 views

I don't know how to show a video as a dynamic source video url. This is my dummy interface DummyMusicDataSource { fun getMusicData(context: Context): List<Music> } class ...
0 votes
0 answers
216 views

I am a university student trying to replicate the paper 'Inflation and inflation uncertainty in the United Kingdom, evidence from GARCH modelling' by A. Kontonikas and I am looking for guidance ...
0 votes
1 answer
62 views

I am generating a dataframe with dummy variables using the fastDummies for later modeling using two character variables. The original looking something like this: PID Flag1 Flag2 Var_1 Var_2 ...
0 votes
2 answers
162 views

I have a huge dataset and I would like to insert a dummy variable column based on a set of conditions: I have my main df (A) in which I have 5 million rows and 10 columns, where 4 of them are date;...

15 30 50 per page
1
2 3 4 5
...
58

AltStyle によって変換されたページ (->オリジナル) /