tag:blogger.com,1999:blog-5290984163937382875.post417234010002329473..comments2024-02-24T12:23:57.899+02:00Comments on The Stata Project-Oriented Guide: Step #6: Automation - Separating the Men from the Boysstatamanhttp://www.blogger.com/profile/13749462261829425392noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-5290984163937382875.post-17640825948035277702023-09-04T10:44:45.295+03:002023-09-04T10:44:45.295+03:00I want to tell the world about a great man called ...I want to tell the world about a great man called Dr. Robinson buckler cured my husband and I from Herpes simplex with herbal medicine. My husband and I have was suffering from Herpes simplex for the past four (4) years. We have tried so many solutions with no result. One fateful day while browsing through the internet I saw a testimony of a client who got cured from herpes by Dr. Robinson buckler through herbal medicine so I decided to give a try. A try that changed our life for good. I contacted Dr. Robinson buckler and he sent some herbal medicine to us, which we took for 14 days. It was a great surprise when we went for a test and the test result came out negative., Dr. Robinson buckler brought joy into my family again. His result is 100% guaranteed. certainly the best online. YESS! SO.MUCH.YES. I love this, it’s exactly what i prayed for!.. it’s unbelievable! ....Thank you!! Very well!.. You contact him on his email. [R.buckler11@gmail. com]..... Shannon Macklehttps://www.blogger.com/profile/07823939088866689045noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-19525305391542045582022-11-01T10:15:47.575+02:002022-11-01T10:15:47.575+02:00Rekordbox DJ Crack as the name suggests, is a grea...Rekordbox DJ Crack as the name suggests, is a great DJ software. Useful for composing great music. This software provides a platform to. <a href="https://crackdj.com/rekordbox-dj-crack/" rel="nofollow">Rekordbox Dj Crack</a>Let2knowhttps://www.blogger.com/profile/01547529398416070781noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-2942975458415942482022-01-12T16:42:36.308+02:002022-01-12T16:42:36.308+02:00Nice blog, informative content. I really enjoyed r...Nice blog, informative content. I really enjoyed reading this blog. I bookmarked your site for further reads. Keep sharing more.<br /><a href="https://aipatasala.com/data-science-course-training-in-hyderabad" rel="nofollow">Data Science Training Institute in Hyderabad</a><br /><a href="https://aipatasala.com/data-science-course-training-in-hyderabad" rel="nofollow">Data Science Training Institute in Hyderabad with Placements</a><br />Ramesh Sampangihttps://www.blogger.com/profile/13359083542205790196noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-70518583324186866922021-12-01T09:40:22.196+02:002021-12-01T09:40:22.196+02:00Bangaloredigitalmarketing provides the best Digita...Bangaloredigitalmarketing provides the best Digital Marketing courses in bangalore with certification<br />and placements in jayanagar, marathahalli<br />https://bangaloredigitalmarketing.com/<br />https://bangaloredigitalmarketing.com/digital-marketing-courses-in-bangalore/<br />https://bengalurudigitalmarketing.blogspot.com/<br />bangaloredigitalmarketinghttps://www.blogger.com/profile/16135763285268571578noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-73402084725709370932020-09-10T08:38:57.444+03:002020-09-10T08:38:57.444+03:00Nice Blog!
Facing error while using QuickBooks get...Nice Blog!<br />Facing error while using QuickBooks get instant solution with our QuickBooks experts.Dial +1-855-533-6333 <a href="https://issuu.com/hannawaker12/docs/quickbooks_enterprise_support_phone_number_indiana" rel="nofollow">QuickBooks Enterprise Support Phone Number</a>.<br />Quickbooks Phone Numberhttps://www.blogger.com/profile/07734010434318064769noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-73255094724135402282020-06-19T14:31:50.877+03:002020-06-19T14:31:50.877+03:00awesomeeeeeeeeee I've been luking fr a perfect...awesomeeeeeeeeee I've been luking fr a perfect example bt i found it here.....<br />thnx a 1000 times! keep update lot<br /><a href="https://www.acte.in/ai-artificial-intelligence-training-in-chennai" rel="nofollow"> Ai & Artificial Intelligence Course in Chennai </a> <br /><a href="https://www.acte.in/php-training-in-chennai" rel="nofollow"> PHP Training in Chennai </a> <br /><a href="https://www.acte.in/ethical-hacking-course-in-chennai" rel="nofollow"> Ethical Hacking Course in Chennai </a> <a href="https://www.acte.in/blue-prism-training-in-chennai" rel="nofollow"> Blue Prism Training in Chennai </a> <br /><a href="https://www.acte.in/uipath-training-in-chennai" rel="nofollow">UiPath Training in Chennai </a><br />subhahttps://www.blogger.com/profile/10947742613988650398noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-69818896974815298192020-05-30T08:32:34.476+03:002020-05-30T08:32:34.476+03:00I found some useful information in your blog,it wa...I found some useful information in your blog,it was awesome to read, thanks for sharing this great content to my vision, keep sharing..<br /><a href="https://www.acte.in/salesforce-training-in-chennai" rel="nofollow"> Salesforce Training | Online Course | Certification in chennai </a> | <a href="https://www.acte.in/salesforce-training-in-bangalore" rel="nofollow"> Salesforce Training | Online Course | Certification in bangalore</a> | <a href="https://www.acte.in/salesforce-training-in-hyderabad" rel="nofollow"> Salesforce Training | Online Course | Certification in hyderabad</a> | <a href="https://www.acte.in/salesforce-training-in-pune" rel="nofollow"> Salesforce Training | Online Course | Certification in pune</a><br />sahinhttps://www.blogger.com/profile/01257195671549760470noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-86284526856444599362020-05-05T19:18:20.638+03:002020-05-05T19:18:20.638+03:00Thanks for the informative article About Java. Thi...Thanks for the informative article About Java. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.<br /><a href="https://www.acte.in/java-training-in-chennai" rel="nofollow"> Java training in chennai </a> | <a href="https://www.acte.in/java-training-in-annanagar" rel="nofollow"> Java training in annanagar</a> | <a href="https://www.acte.in/java-training-in-omr" rel="nofollow"> Java training in omr</a> | <a href="https://www.acte.in/java-training-in-porur" rel="nofollow"> Java training in porur</a> | <a href="https://www.acte.in/java-training-in-tambaram" rel="nofollow">Java training in tambaram</a> | <a href="https://www.acte.in/java-training-in-velachery" rel="nofollow"> Java training in velachery</a><br />Mithunhttps://www.blogger.com/profile/07523711190784167342noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-83424042944162584102020-02-18T09:18:01.697+02:002020-02-18T09:18:01.697+02:00This is a wonderful article, Given so much info in...This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.<br /><a href="https://360digitmg.com/artificial-intelligence-ai-course-training-in-hyderabad" rel="nofollow">artificial intelligence course in hyderabad</a>dataanalyticshttps://www.blogger.com/profile/05863110237564854692noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-15199255617305777802018-08-25T07:06:00.906+03:002018-08-25T07:06:00.906+03:00the information provided is very interesting and g...the information provided is very interesting and good<br /><br /><a href="http://www.agentasikmalaya.jellygamatqncmurah.com/cara-menyembuhkan-tumor-hati-herbal-tanpa-operasi/" rel="nofollow">http://www.agentasikmalaya.jellygamatqncmurah.com/cara-menyembuhkan-tumor-hati-herbal-tanpa-operasi/</a><br /><a href="http://www.hargaresmi.jellygamatqncmurah.com/cara-mengobati-kencing-batu-ampuh-sampai-tuntas/" rel="nofollow">http://www.hargaresmi.jellygamatqncmurah.com/cara-mengobati-kencing-batu-ampuh-sampai-tuntas/</a><br /><a href="http://rumahjellygamatgold.com/pengobatan-tradisional-asma-bronchial-manjur/" rel="nofollow">http://rumahjellygamatgold.com/pengobatan-tradisional-asma-bronchial-manjur/</a><br /><a href="http://qncobatkankerserviks.com/cara-mengobati-kanker-serviks-sampai-tuntas-tanpa-operasi/" rel="nofollow">http://qncobatkankerserviks.com/cara-mengobati-kanker-serviks-sampai-tuntas-tanpa-operasi/</a>Anonymoushttps://www.blogger.com/profile/10883181832747248633noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-60626586939287437582018-06-02T04:08:26.599+03:002018-06-02T04:08:26.599+03:00https://analytics.googleblog.com/2015/01/accuweath...https://analytics.googleblog.com/2015/01/accuweather-unlocks-cross-channel.html<br />http://www.womenshealth.northwestern.edu/blog/november-american-diabetes-month?page=4#comment-774291<br />http://www.cbtinterpretations.com/blog/2014/05/17/What-Mindfulness-IS.aspx<br />http://www.hosteers.com/node/46?page=8685#comment-434716<br />http://www.neca-neis.org/code-question-of-the-day/code-question/cqd-for-4-2-2014<br />https://kirimmobilkaltim.blogspot.com/2015/10/other-language-do-follow-blogs.html?showComment=1525931567632#c2986505331072951762<br />https://www.usprisonertransport.com/adding-new-vehicles-to-our-fleet/#comment-13597<br />https://founderu.selz.com/7-steps-create-sell-ebook-website/#comment-122354<br />http://www.ligams.com/blog/ezpublish/linkcheck<br />https://www.blogger.com/comment.g?blogID=5290984163937382875&postID=417234010002329473&page=1&token=1525932166187<br />Perjalanan Menuju Hijrahhttps://www.blogger.com/profile/13783250857113674978noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-30354624277789111322016-02-23T10:45:16.685+02:002016-02-23T10:45:16.685+02:00This comment has been removed by the author.e3clearyhttps://www.blogger.com/profile/07135848066178338743noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-56322144927023872622014-08-27T17:42:40.370+03:002014-08-27T17:42:40.370+03:00Dear Stataman,
Thank you so much for your tutoria...Dear Stataman, <br />Thank you so much for your tutorial.However I tried to apply some of the Stata codes in your blog for my analysis, but it didn't work. <br /><br />My dataset contains a set of 4 dependent variables which were cost1, cost2, cost3, cost4, and a set of 4 explanatory variables such as country, company, market, province. My aim is to run regression models to find out the significant explanatory variables. Basically I want the full model and the reduced models for each of the costs which were as followings:<br /><br />Cost 1 <- a + b1country + b2company + b3market + b4province<br />Cost 1<-a + b1country + b2company + b3market <br />Cost 1<- a + b1 country + b2company<br />Cost1<-a+b1country<br /><br />Cost 2 <- a + b1country + b2company + b3market + b4province<br />Cost 2<-a + b1country + b2company + b3market <br />Cost 2<- a + b1 country + b2company<br />Cost2<-a+b1country <br /><br />and so on.....to Cost n <br /><br />Would you please help me with the loops code as it would take ages to run each regression individually?<br /><br />Thank you so much! FongTPhuong’s bloghttps://www.blogger.com/profile/08051545852317227116noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-30553365836620058682014-02-22T20:18:14.805+02:002014-02-22T20:18:14.805+02:00very good information and Inspiring & Interest...very good information and Inspiring & Interesting.<br /><br />success always<br />http://tokoobatbiusasli.blogspot.comAnonymoushttps://www.blogger.com/profile/16064339766200853342noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-87376338667326396782013-05-30T03:10:06.494+03:002013-05-30T03:10:06.494+03:00Thank you very much for all of your advises!! They...Thank you very much for all of your advises!! They have been really helpful to my work! I just wanted to make one remark in the kindest way possible: I believe that the title of the post is quite sexist. Like, if only 'men' use this kind of commands, which is the kind that use 'women' or 'girls'? Why don't you title it: separating adults' commands from children's! That would be totally gender-neutral! Regards!Unknownhttps://www.blogger.com/profile/05510127384644056385noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-15008013627441764312013-03-07T12:15:14.385+02:002013-03-07T12:15:14.385+02:00This is very uncommon, though, and makes the code ...This is very uncommon, though, and makes the code less readable.<br /><a href="http://www.southfloridavendingmachines.com/" rel="nofollow">South Florida Vending Machines Services</a>South Florida Vending Machines Serviceshttps://www.blogger.com/profile/09002328086845632091noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-54329728424860394412012-06-11T13:27:33.542+03:002012-06-11T13:27:33.542+03:00Hey Stataman,
This tutorial has been very useful,...Hey Stataman,<br /><br />This tutorial has been very useful, thank you so much for sharing.<br /><br />I have a quesiton, My data set is panel data on daily basis. I would like to run daily regression for each quarter and extract the estimates to have a quarterly time series of estimates (coef, tstat, rsquare and stand error). but my problem is Not all my dependent var or id available in all quarters, some of them are present at the beginning of sample and some only at the end.<br /><br />when I run my loop to run the regression it gives me the following error message:<br /><br />no observations found or no variable defined.<br /><br />how can I solve this problem?<br /><br />Best, <br /><br />MahmoudAnonymoushttps://www.blogger.com/profile/10986889959304870935noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-78351384341154578862011-10-27T06:50:28.229+02:002011-10-27T06:50:28.229+02:00HELP needed
My data is the exicison of skin cancer...HELP needed<br />My data is the exicison of skin cancers from patients over 4 1/2 year period. Many people have multiple events (max is 120) and I want to count number of lesions if the cancers are <=90days apart. If they are then I want to also delete that record. I have started working through the permutations but if anyone can suggest how i can loop this?<br />doservice = date lesion taken out<br />numsyn1 = number of skin lesions taken out on that day.<br />For example if person had 2 events, I would look at difference between 1-2<br />if person had 3 events, I would first look at 1-3, then 1-2 then 2-3. <br />if person had 4 events, I would look at 1-4, then 1-3, then 1-2 then 2-4, then 2-3 then 3-4<br /> <br />(starting to get combinations formation occuring)<br /> <br />Please see below.<br />//1-4 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+3] if (doservice[_n+3] - doservice[1]<=90) drop if event==4 & (doservice - doservice[_n-3]<=90)//for 3 events<br />//1-3 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+2] if (doservice[_n+2] - doservice[1]<=90) drop if event==3 & (doservice - doservice[_n-2]<=90)//for 2 events<br />//1-2 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+1] if (doservice[_n+1] - doservice[1]<=90) drop if event==2 & (doservice - doservice[_n-1]<=90)<br />//SECOND LOOP///for 4 events<br />//2-4 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+2] if event==2 & (doservice[_n+2] - doservice<=90) drop if event==4 & (doservice - doservice[_n-2]<=90)<br />//for 3 events<br />//2-3 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+1] if event==2 & (doservice[_n+1] - doservice<=90) drop if event==3 & (doservice - doservice[_n-1]<=90)<br /> <br />//THIRD LOOP///for 4 events<br />//3-4 bysort id (event) : replace numsyn1 = numsyn1 + numsyn1[_n+1] if event==3 & (doservice[_n+1] - doservice[1]<=90) drop if event==4 & (doservice - doservice[_n-1]<=90)<br /> id doservice survday failure numsyn1 event repeat newstopdate maxevent <br />9 20-Feb-08 41 1 1 1 1 30-Jun-08 2 <br />9 1-Apr-08 90 0 1 2 0 30-Jun-08 2 <br />14 1-Jun-04 14 1 1 1 1 30-Jun-08 2 <br />14 15-Jun-04 1476 0 1 2 0 30-Jun-08 2 <br />15 6-Jun-06 268 1 1 1 0 1-Mar-07 3 <br />15 1-Mar-07 257 1 1 2 0 13-Nov-07 3 <br />15 13-Nov-07 230 0 1 3 0 30-Jun-08 3 <br />16 20-Jan-04 497 1 1 1 0 31-May-05 4 <br />16 31-May-05 7 1 1 2 1 16-Jun-05 4 <br />16 7-Jun-05 9 1 1 3 1 30-Jun-08 4 <br />16 16-Jun-05 1110 0 1 4 0 30-Jun-08 4 <br /><br />Regards<br />NiyatiNiyati Sharmahttps://www.blogger.com/profile/15115913872918864493noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-62830551153456313802011-03-17T21:44:34.080+02:002011-03-17T21:44:34.080+02:00hi,
blog very useful for someone like me (scared ...hi,<br /><br />blog very useful for someone like me (scared of stata and just want to get done with it soon...)<br /><br />q: i need to create an indicator variable such that there are ten 1s only (out of 19 observations). this is going to be part of a loop, where i'll need stata to come up with different combinations of 1 and 0 distributions... and i'll need it to do other stuff with this variable... but i'll get my doubts clarified one at a time...<br /><br />thanks<br />sheetalsheetalhttps://www.blogger.com/profile/13026148659740730086noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-11481359005223198572011-03-04T00:26:02.245+02:002011-03-04T00:26:02.245+02:00Thank you, very helpful!Thank you, very helpful!Unknownhttps://www.blogger.com/profile/08343355365992892780noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-33031941148038979702010-06-23T09:19:32.051+03:002010-06-23T09:19:32.051+03:00Thank you very much!Thank you very much!Longhttps://www.blogger.com/profile/13265830019277964567noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-74124833328743521662010-06-22T19:54:48.202+03:002010-06-22T19:54:48.202+03:00Hi,
You may find additional automation tips and t...Hi,<br /><br />You may find additional automation tips and tricks in my personal webpage, for a short course that I co-taught. Look for the third lecture notes file of Stata:<br /><br />http://www.stanford.edu/~roymill/cgi-bin/computing/material.phpstatamanhttps://www.blogger.com/profile/13749462261829425392noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-11078547824467203392010-06-22T05:19:17.097+03:002010-06-22T05:19:17.097+03:00Hi Stataman,
Could you please guide me how to exp...Hi Stataman,<br /><br />Could you please guide me how to export the results from Stata into Excel file format.<br /><br />For example, after I run the "summarize" command and I want to save the result into a Excel file. Please help !!!!!!!!!!!!!!!!!!Longhttps://www.blogger.com/profile/13265830019277964567noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-47926450964873622682010-06-07T04:09:26.810+03:002010-06-07T04:09:26.810+03:00Hi,
You are not using the back-tick for your loca...Hi,<br /><br />You are not using the back-tick for your local when you call it, you are using the regular tick. The back-tick on my keyboard is in the top-left corner of the main set of keys (left to the 1 key).<br />do:<br />di `rsqv'<br />and not:<br />di 'rsgv'statamanhttps://www.blogger.com/profile/13749462261829425392noreply@blogger.comtag:blogger.com,1999:blog-5290984163937382875.post-48297340299568998822010-06-07T03:49:19.293+03:002010-06-07T03:49:19.293+03:00Hi Stataman
I have problem with local command. I ...Hi Stataman<br /><br />I have problem with local command. I use Stata 11/MP.<br />I have a dofile like this:<br />sysuse auto, clear<br />regress mpg weight<br />local rsqf e(r2)<br />local rsqv = e(r2)<br />di 'rsqf' // this has the current R-squared<br />di 'rsqv' // as does this<br />regress mpg weight foreign<br />di 'rsqf' // the formula has the new R-squared<br />di 'rsqv' // this guy has the old one<br /><br />And the result is here:<br /> sysuse auto, clear<br />(1978 Automobile Data)<br /><br />. regress mpg weight<br /><br /> Source | SS df MS Number of obs = 74<br />-------------+------------------------------ F( 1, 72) = 134.62<br /> Model | 1591.9902 1 1591.9902 Prob > F = 0.0000<br /> Residual | 851.469256 72 11.8259619 R-squared = 0.6515<br />-------------+------------------------------ Adj R-squared = 0.6467<br /> Total | 2443.45946 73 33.4720474 Root MSE = 3.4389<br /><br />------------------------------------------------------------------------------<br /> mpg | Coef. Std. Err. t P>|t| [95% Conf. Interval]<br />-------------+----------------------------------------------------------------<br /> weight | -.0060087 .0005179 -11.60 0.000 -.0070411 -.0049763<br /> _cons | 39.44028 1.614003 24.44 0.000 36.22283 42.65774<br />------------------------------------------------------------------------------<br /><br />. local rsqf e(r2)<br /><br />. local rsqv = e(r2)<br /><br />. di 'rsqf' // this has the current R-squared<br />'rsqf' invalid name<br />r(198);<br /><br />end of do-file<br /><br />r(198);<br /><br />Why it says: 'rsqf' invalid name<br /><br />Please help!Longhttps://www.blogger.com/profile/13265830019277964567noreply@blogger.com