Hi. Thanks for the video. I want to run bivariate logistic reg with factor variable such educational or income levels for each year. May you please tell me how this type of loops would work work? Thanks
very nice. i have query in levelsof. if i have to perform regression of 1999 and 2000 year seperately and not of all the time periods. then what will be the commanf
Hi. Thanks for the video. I want to run bivariate logistic reg with factor variable such educational or income levels for each year. May you please tell me how this type of loop would work work? Thanks
Thanks for quick reply l. have twenty years/countries. It looks more handy to use loops than bys years to draw coefficient plots of bivariate and multivariate models
Hi. Thanks for the video. I want to run bivariate logistic reg with factor variable such educational or income levels for each year. May you please tell me how this type of loops would work work? Thanks
Superb channel. Wish I had it in college
Thanks for appreciation
Excellent explanation! Waiting for many more
Thanks
Can you show me Multidimensional Poverty Index using statA from DHS data....or any commmany
Many thanks, can you please post the link to the video on how to read syntax in STATA?
Please check this video. It explains how to read stata syntax ua-cam.com/video/NxvHM_ht39Y/v-deo.html
Many thanks. I have added the link in description. Pleaes let me know if you find any misisng link in any other video.
@@thedatahall Thank you!
very nice. i have query in levelsof. if i have to perform regression of 1999 and 2000 year seperately and not of all the time periods. then what will be the commanf
You can use if statement along with regression e.g regress y x1 x2 if year==2000
@@thedatahall suppose here we want regression for 1999 as well how to do in loop
@@varunmiglani110 can you email me the data info@thedatahall.com i will check and send you the code.
@@thedatahall sent
Good job
Thanks
levelsof cropcode, local(code)
foreach x in local `code' {
tabstat acd ack if cropcode==`x' & & state_s==1, stat(su)
}
i get error local not found
U have to run all these commands simultaneously if u have saved then in do file the select them all and run
@@thedatahall yes i am running all of them simultaneously
How to use local and global macros in loops?
ua-cam.com/video/10X7JWDSQmw/v-deo.html
Please check this video on local global macro. Once u define a macro you can directly use them in loop.
What is ado file how it's work in do file
Ado files are command files.. e.g if u download a user written command it will come in ado extension
@@thedatahall please give me a example with a video please
Hi. Thanks for the video. I want to run bivariate logistic reg with factor variable such educational or income levels for each year. May you please tell me how this type of loop would work work? Thanks
U can use bys year: logistics etc etc . U may not need loop
Thanks for quick reply l. have twenty years/countries. It looks more handy to use loops than bys years to draw coefficient plots of bivariate and multivariate models