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
command esttab is unrecognized but estout already installedHello! I have a problem using -esttab-. Here is the code I try to run: Code: logout, save(H1) word…
Changing variable labels for multiple variables at the same timeHello, I'd like to change label variables. My data contains 100 variables with label started number…
Converting R code into Stata codeHi, I'm looking for a way (preferably hiring a skilled RA to do this for $) to convert data analyse…
Matching/merging Job seekers to job posts if they meet requirementsHello Everyone, Hope you all are well. I am looking to merge two datasets however, I want to match …
convert 'n' rows of a variable to 'n' columnsHi, I would appreciate if I could get help with creating new variables from rows of an existing var…
Subscribe to:
Post Comments (Atom)
0 Response to Limit the sample ID with even numbers
Post a Comment