Command syntax in STATA

  Рет қаралды 3,542

Lucas Reis

Lucas Reis

Күн бұрын

Course: STATA for Complete Beginners
100% Free.
To download exercises and course files access:
bit.ly/stataco...
Disclaimer: I used to work with Stata and sell this course online for US$19. Since I no longer work with Stata and will not update the course, I decided to help others by making the course available for free. If you enjoyed it, please leave your comment - I am always happy to know I could help someone out with my work :)
If you wish to say hello directly, you can also connect with me on LinkedIn on / souzalucasr
Thank you and happy Learning!
Lucas Reis

Пікірлер: 4
@kofimawuli8940
@kofimawuli8940 Жыл бұрын
Great video, it was helpful.
@sudhakarmarri6027
@sudhakarmarri6027 4 жыл бұрын
Sir... Thank you so much for your early reply and i hope the same in future too... But, sir when there is a simple command to list the numeric variable data with if condition ... why it is very complicated for string variable ??? lots of love......... Thanks again....
@sudhakarmarri6027
@sudhakarmarri6027 4 жыл бұрын
Sir, I have a dataset in stata which has a string variable having names i want to list only those names which starts or contains a particular characters. Please help me out with the command My question in brief sir .. for example I have a dataset with two variables one string variable and another numeric variable i.e., name and age if i want to list people who are under age of 10 , the command is like list if age < 10 simply stata list out the data, but i want to list out the only people who's names are starting with "S" or a part of name with "ra".. Usually in mysql we write this command select * from xxxx where name like "S%" or name like "%ran%" Which is very simple... but i couldn't get.. Please help me out.. Thank You Sir
@souzalucasr
@souzalucasr 4 жыл бұрын
Hey, Sudhakar. There are multiple ways to solve this, and I'll give you some directions I think light be helpful but won't solve your specific problem. You'll have to find some sort of pattern in your strings and use string manipulation functions to reach your goal For example, you can create a new binary variable based in a condition (e.g. string starts with letter 'A') and the filter through this column. Here's a related solution that might help out: www.stata.com/support/faqs/data-management/splitting-string-variable/
How to list data subsets in STATA using Subsetting commands
8:54
Introduction to Programming Loops in Stata
17:25
Mike Jonas Econometrics
Рет қаралды 18 М.
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 42 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
Understanding command syntax in STATA
8:42
Lucas Reis
Рет қаралды 1,5 М.
Storing and Using Code in the Syntax Editor in SPSS
8:08
Dr. Todd Grande
Рет қаралды 27 М.
Stata command modifiers | If/in/by/bysort statement in Stata
32:40
The Data Hall
Рет қаралды 1,7 М.
How to add labels to variables and categories in STATA
8:53
Lucas Reis
Рет қаралды 2,9 М.
How and when to use Menus or Commands in STATA
4:23
Lucas Reis
Рет қаралды 3,4 М.
How to use IF and IN to subset commands in STATA
8:54
Lucas Reis
Рет қаралды 4,1 М.
Basic commands in Stata
4:09
Dr. Sarveshwar Inani
Рет қаралды 12 М.
Multilevel modeling using STATA (updated 2/9/18)
33:20
Mike Crowson
Рет қаралды 58 М.
How to analyze data in STATA with the help of ChatGPT
10:20
Data for Development
Рет қаралды 17 М.