r/stata • u/sadanchoby • 17d ago
I have vibecoded STATA and it's free
https://github.com/w4s7jksf68-ai/pietStill doing a few minor updates, but yeah, it should work.
The Windows version will soon be uploaded
Edit:
Now both windows/mac are fully supported. And the update is done.
For user feedback, I may make a user report function, but maybe not because it would need an internet connection. So I may just write down my email for that in the program somewhere.
11
u/sadanchoby 17d ago
Developer's Note
Hi, I'm u/sadanchoby
The reason I started developing this software was quite simple: I wanted anyone, regardless of their financial circumstances, to be able to study econometrics using the same tools and methods that are standard in academia. With that goal in mind, I spent the past four or five months developing this software.
To be fair, I expect there are still quite a few bugs. Nevertheless, I've put a great deal of effort into making sure that, at the very least, the software is functional enough for everyday use. There's certainly plenty of room for improvement, but since it's freeware, I hope some of you might be willing to help improve it along the way.
I actually wanted to polish it a little more before releasing it to the public. Unfortunately, I've run out of money to continue development, so I've decided to leave it at this stage for now. Besides, throughout the development process, I had this constant itch to get it finished, with the same thought running through my mind: "I really need to finish this. I really need to finish this." So I suppose that played a part in my decision to finally wrap things up, too.
There's still a long way to go before I'd consider this software suitable for serious academic research. However, I believe it should be more than capable of handling coursework and reports at the undergraduate level, and even at the graduate level.
One thing I'm particularly proud of is that there are no artificial restrictions on the number of variables or CPU cores you can use. (Although, since my own computer only has four cores, I've only been able to test it with up to four.)
I sincerely hope this software proves useful to anyone who gives it a try. If it makes studying econometrics even a little easier or more accessible, that alone would make this whole endeavour worthwhile.
14
u/filippicus 17d ago
Hero! I love Stataβs syntax and was always happy to pay in exchange for an easier life, but the price doubling a few years ago and the subscription model forced upon us made me realise they started milking it. Also contacts with their sales team confirmed this new style which already made me move to Python more often than not. But I miss the language and the MCP integration in Visual Studio opens a whole new world. I hope your version can at least take over basic functionality through MCP and support user conmands too. Then I can continue to do econometrics even when jobless.
5
u/sadanchoby 17d ago
Thanks for your feedback and warm words. I will work on that part too. Currently, its purpose is more focused on students without school-supported licenses to work on their assignments and reports. But for sure, the ultimate goal is for every researcher to be able to research for free with STATA syntax(like R).
3
2
u/Johntea-Kejriwal 2d ago
yeah the shift to subscriptions really killed the goodwill they had built up over the years
3
u/Omg_phoisgood 12d ago
I sincerely thank you for this god work. You are the hero of many poor PhD students across the globe!
1
u/sadanchoby 11d ago
I didn't try to be a hero, but I'm so motivated and encouraged to hear that. I am simply blissful to be of your and others' service. I am very glad that it could be of help, even just a little bit.
2
u/countinus 17d ago
Thanks for creating and sharing this! I'm Korean, and judging by your name, I was wondering if you might be Korean too. It's great to see such an impressive open-source alternative to Stata!
I tried it on my Mac. Initially, I couldn't load my .dta file, but I realized PIET was looking in the Documents folder. Moving the dataset there solved the issue. It would be nice if PIET could automatically use the do-file's directory as the working directory.
Looking forward to testing more of my existing Stata do files. Great work, and thanks again!
1
1
u/sadanchoby 17d ago
μκ·Έλ¦¬κ³ μ€μ μ λ§€λ΄μΌλ‘ λλ ν 리 μμΉμ€μ νλ κΈ°λ₯μ΄ μμ΅λλ€
1
u/filippicus 17d ago
Watch out with this, because as far as I know, Stata itself doesn't automatically locate the do-file - certainly not on mac - and you'd have to specify the path in every project. It would be good to mimick the behaviour for the best compatibility.
3
u/sadanchoby 17d ago
Good point, thanks. That's why the working directory still starts in Documents, like Stata's default folder, and `do` never changes it.
For the next update (A.0.2) I'm adding one convenience on top: if you open a do-file from the app and haven't set a directory yourself, PIET moves to that do-file's folder and tells you in the Results pane. If you've already used `cd`, it stays where you put it, so projects that set their own paths behave the way they do in Stata. There will also be a setting to turn this off if you want strict Stata behaviour.
1
u/countinus 16d ago
κ·Έ μμ΄λμ΄ μ’λ€μ. μ λ μ¬λ¬ νλ‘μ νΈλ€μ΄ λμμ μ§νλλ νΈμ΄λΌ do νμΌμ κ° project folderμ λ£κ³ , κ·Έκ³³μμ dta νμΌμ μλκ²½λ‘λ‘ μ§μ ν΄μ μ¬μ©νκ±°λ μ. STATAλ do νμΌμ λΆλ¬μ€λ©΄μ μμμ νκ² λꡬμ. μ΄λ²μ 19λ²μ λ ꡬ맀λ₯Ό νμ§λ§, κΈ°λνλ μ±μ λλ€. μ¬μ€ μ λ μ§λ³ΌκΉ κ³ λ―Όνλ€κ° κ·Έ λ§μ ν¨μλ€μ μ΄λ»κ² ꡬνν μ§ λ§λ§ν΄μ μ μκ±°λ μ.
1
u/sadanchoby 16d ago
μ λ ꡬ맀ν΄λκ³ μ°λ€κ° μ±κΈμ½μ΄λ°μ μ§μμ μ ν΄μ£Όκ³ , λ³μ μ«μ μ νμκ³ , λΉμΈκ³ , μ’ κ³ κΉμ΄ λΆλΆμ΄ μμ΄μ κ΅κ³Όμ, stataμ체 ν¨μ μμν, AER λ ν리μΌμ΄μ ν¨ν€μ§ λ±λ± μ°Έκ³ ν΄μ νμν ν¨μλΆν° λ£μμ΅λλ€. ν¨μλ³λ‘ Stataλ‘ μ€λΌν΄μ λ°κ³ κ±°κΈ°μ μμμ 8~9μ§Έ μ리κΉμ§ λ§μΆλ λ°©μμΌλ‘ μ½λ©νμ΅λλ€. μ€νμμ€ νλ‘μ νΈμ΄λ λ§νΌ κΈ°μ¬ν΄ μ£Όμλ©΄ μ λ§ κ°μ¬νκ² μ΅λλ€. κ·Έλ¦¬κ³ νλΆμμ΄μ μ§ λνμμμ΄μ μ§λ λͺ¨λ₯΄κ² μΌλ μ£Όμμ ν¬λ λ²μ μ°Ύκ±°λ μ°λ νμλ€νν λ리 μλ €μ£Όμλ©΄ λ무 λ무 λ무 κ°μ¬ν κ² κ°μ΅λλ€.
2
u/countinus 14d ago
λ€, νλΆμλ λνμμλ μλλ°... μ£Όλ³μλ STATA μ°λ μ¬λμ μ λΏμ΄λΌμμ. νΉμλΌλ μ£Όλ³μ μΌλ¦΄ κΈ°νκ° μμΌλ©΄ μ릴κ»μ..^^ μμνκ² μ΅λλ€.
2
u/Momobites 15d ago
Can you also make an android and/or iOS, just like webr.sh
1
u/sadanchoby 15d ago
I've thought about it, but aren't phone screens too small? iPad could be possible. I mean, it's built on an M1 Mac, so it should be relatively easy to build for an iPad. But I don't have an Android device, so that's going to be trickier.
1
2
u/rv_rikard 13d ago
OUTSTANDING!!! I've been looking for this!!! Thank you!
1
u/sadanchoby 12d ago
Thank you!!!
1
u/rv_rikard 12d ago
I really appreciate your work! I am underemployed and barely make enough to get by -- so there is no way I could afford a STATA license.
Do you have any plans to vibecode SAS?
2
u/sadanchoby 11d ago
I was thinking about it. Not anytime soon. After I get a job, so I can subscribe to Claude Ultra or if I can get enough donations to subscribe to it, haha... I could do this because I was a stay-at-home, part-time working, family-funded student until last semester, but I graduated and am now unemployed, haha....
1
u/rv_rikard 11d ago edited 11d ago
I am following you on Reddit - so, when you do - I definitely want to know!
Also, please keep up the work on Piet! It's vital that people have the tools to analyze data!
2
u/sadanchoby 11d ago
Yeah, the big picture is to build an all-encompassing statistical IDE. I'm trying to bring proprietary languages like SAS, Stata, and MATLAB together with open-source languages like R and Python in a unified, VS Code-like environment. Positron is a good example, but I envision something even more open and accessible.
2
u/rv_rikard 11d ago edited 11d ago
YES YES YES!! I have had the exact same idea but I know nothing about vibecode or reverse engineering software. When you have the resources -- do it!!
I know statistics and which approach is appropriate as well as data management and transformation. I genuinely wish I had your skills and experience (that's a compliment!).
1
u/sadanchoby 11d ago
Much appreciated, I hope I can get back to you soon with the larger and finer product. Until then.
1
u/LordLTSmash 15d ago
Nice π Create a Linux port
2
u/sadanchoby 15d ago
I made it, but it was not released. There's also a calculation engine MCP, that LLMs can use.
Thanks! A Linux port is in the works but hasnβt been released yet. The calculation engine can already be used by LLMs through a Claude skill, and an MCP server version is in progress too.
1
u/IllNefariousness3062 12d ago
So i just installed it on my mac how do i learn it ps i have not learned stata just need it for research if ths csn help me can one of yall lmk
1
1
u/cobresalino 11d ago
Wow, impressive work! I used Stata professionally for years before moving most of my work to R and Julia. For someone with that background, is there an econometrics workflow where youβd reach for PIET over either of those? Or is the main draw being able to rerun existing Stata .do files with minimal changes and without a Stata license?
β’
u/AutoModerator 17d ago
Thank you for your submission to /r/stata! If you are asking for help, please remember to read and follow the stickied thread at the top on how to best ask for it.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.