I have a variable named var_0 with responses ranging from missing to maximum length 3. It has no delimiters. I would like to split it into 3 variables (var_1, var_2 and var_3) as shown in the attachment. How would I efficiently go about it?
Luke Korir
Related Posts with How to split a variable with unequal length into multiple variables
summary statistics per categoryHi, I'm dealing with panel data and want to summarize statistics per category (of credit ratings). …
compare and test "r2_a" across two regressionsHi everyone! I want to compare adjusted R2 across two models. To be more specific, assume that usin…
Struggling with bayesmh evaluatorsI feel guilty for bothering other folks with my problems, but after a few days of struggle, I'm runn…
interaction terms missing in output--please help!Hi all, I'm conducting a diff-in-diff analysis and I'm using margins to test the parallel trends ass…
Is it a problem if all my independent and control variables are insignificant?The overall model scores like this: R-squared = 0.0061 Adj R-squared = -0.0129 So the model seems u…
Subscribe to:
Post Comments (Atom)
0 Response to How to split a variable with unequal length into multiple variables
Post a Comment