Hi everyone, I want to change my ID dataset to be limited to show only even number ID. Below is a sample of what ID variable is:
tab id
id | Freq. Percent Cum.
------------+-----------------------------------
2 | 1 0.11 0.11
3 | 1 0.11 0.22
4 | 1 0.11 0.33
5 | 1 0.11 0.44
7 | 1 0.11 0.55
8 | 1 0.11 0.66
9 | 1 0.11 0.77
12 | 1 0.11 0.88
13 | 1 0.11 0.99
14 | 1 0.11 1.10
18 | 1 0.11 1.21
20 | 1 0.11 1.32
21 | 1 0.11 1.43
22 | 1 0.11 1.54
23 | 1 0.11 1.65
24 | 1 0.11 1.76
25 | 1 0.11 1.87
Many thanks!
Related Posts with Limit the sample ID with even numbers
Replace missing values by (copying) non-missing valuesHi all, I have the following situation: The variables I have selected for a regression contain val…
PhDDear Statalist Community, Please, I need help on an updated causality test that also tests the reve…
Replace missing values by (copying) non-missing valuesHi all, I have the following situation: The variables I have selected for a regression contain val…
forvalues with counterHello, I am a PhD student and I have not been using Stata that long (about a year) so my apologies …
Table of stored values after estat sbsingle or sbcusum?I am trying to make a table of p values and chi-squared test statistics(or r(cusum)s) after estat sb…
Subscribe to:
Post Comments (Atom)
0 Response to Limit the sample ID with even numbers
Post a Comment