* Example generated by -dataex-. For more info, type help dataex
clear
input str1 var1 float group
"a" 1
"b" 1
"c" 1
"d" 1
"e" 1
"a" 2
"b" 2
"c" 2
"e" 2
"a" 3
"b" 3
"c" 3
"d" 3
"e" 3
"a" 4
"c" 4
"d" 4
"e" 4
end
[/CODE]
------------------ copy up to and including the previous line ------------------
How to Insert a blank line after each group according to the group?
insob 1, after(_N) // An empty line can be inserted at the end, but it cannot be grouped
the data that i wanted are as follows:
"a" 1
"b" 1
"c" 1
"d" 1
"e" 1
"a" 2
"b" 2
"c" 2
"e" 2
"a" 3
"b" 3
"c" 3
"d" 3
"e" 3
"a" 4
"c" 4
"d" 4
"e" 4
Related Posts with How to insert a blank line by group
xtabond2: Hansen testGood day all, I'm running a dynamic panel regression with results shown below. I'm wondering if my …
Show SD-within statistics from panel data via outreg2 descriptive tableDear Statalist, For my Masters I need to replicate a paper using Stata. I have managed to successfu…
Creating Gini Coefficients from Categorical Income Data in 2000 US CensusHey everyone, This is my first post to Statalist. Please let me know if there is anything missing i…
Wilcoxon matched-pair sign-rank test -signrank- with a grouping variable ( by(groupvar) )Hi! I'm conducting a study in which I have 3 controls per case, matched on age, cancer stage and ca…
How to plot the below graphs after quantile regression?Please could anyone tell how to plots the same graphs after quantile regression? I have tried to plo…
Subscribe to:
Post Comments (Atom)
0 Response to How to insert a blank line by group
Post a Comment