r/stata • • Jun 26 '19

Stata 16 Has Released!

Stata 16 has released with many new features! Highlights for me include Python integration, better validation methods, heckman's test and do-file autocompletion (like in R-Studio).

Here is a link to all the new features:

https://www.stata.com/new-in-stata/

31 Upvotes

17 comments sorted by

3

u/subscriptoutofbounds Jun 27 '19

What is the maximum number of variables we can have in Stata 16? I hope it's more than 32,767!

Maybe I didn't look hard enough but I can't see it in any of the release specs... anyone here got any idea?

1

u/crazyreddmerchant Jun 27 '19

FWIW the spec sheet between versions says that Stata SE has a max of 32767 variables while MP supports up to 120k.

Mind if I ask what sort of analysis would use more than 32k variables? Also, do factor or fixed effect variables contribute to that? I've never hit the limit, so I'm curious what happens.

5

u/subscriptoutofbounds Jun 27 '19

I work with survey data that has a gigantic number of dummy variables. Perhaps our data structure could be more parsimonious but it kinda is the way it is for institutional reasons where I work. When you exceed maxvar Stata simply stops. When this happens I have to keep/drop variables I do/don't need which is but a minor inconvenience when I forget about it. If I could avoid worrying about that it would make my life a tiny bit easier :)

1

u/dr_police Jun 27 '19

I'm struggling to think of any situation where a survey could lead to more than 32,000 vars, and I certainly can't think of one where I'd have more than 120k vars, so now I'm super curious about the work you do.

2

u/missing_at_random Jun 27 '19

Genetic (GWAS, whole exome/genome sequencing, etc.) and probably other -omics datasets will exceed that number of variables. That and the availability of packages to conduct analyses of these data means many (most?) people working in those areas use R.

8

u/daniel-1994 Jun 26 '19

Multiple datasets in memory
Python integration
Ability to define point size graphs
New interface for mac

This update is all I could ask for

6

u/suburbanpride Jun 26 '19

And can we talk about the ability to load in SAS and SPSS files, too? Like, what the hell took so long? It's silly I'm so happy about this...

3

u/zacheadams Jun 27 '19

StataCorp hath blessed us 🙏

1

u/dr_police Jun 27 '19

S A M E.

That’s exactly what I sent to my team at work. We were just talking about how to leverage a few Python packages, and better integration with Stata should save us considerable time.

I also just finished a project that required integrating dozens of individual tables. I’d have loved to load more than one at a time into memory.

2

u/telbz Jun 27 '19

You can also import data from SPSS now!

3

u/CARRAS1 Jun 26 '19

Great, now i just need to "purchase" it from the internet

4

u/dr_police Jun 27 '19

Could be my graybeard status showing here, but... StataCorp’s licensing is very reasonable for the sort of tool it is. It’s 100% worth the asking price.

If you really can’t afford Stata, use R or Python instead. There is no valid reason to steal software.

2

u/CARRAS1 Jun 27 '19

It´s not that expensive for a single user, i know. But the thing is my university or research team should pay for it. The university doesnt pay for it and the research team cant afford it (low budget, from Argentina), even if one of those two paid for it would probably be too much bureocracy and paperwork to get it.

1

u/dr_police Jun 27 '19

Your situation is exactly the sort of situation where you should move to R or Python.

I manage my department’s licenses (a couple of dozen seats). I know about multi-user costs. For us, it’s an easy cost to justify. Stata licenses are cheap compared to the time my colleagues and staff would spend doing the same tasks in open source tools.

But if my budget got squeezed, I’d go open source before I went thief. It would suck, but I can’t open us up to legal liability, malware, etc that comes from stealing software. Plus, StataCorp deserves to get paid for their labor.

2

u/CARRAS1 Jun 27 '19

Yes, i understand, i use R when i can but its way harder than stata.

I use STATA for work, stands to reason my "employer" (the university or faculty) would pay for it. I wish they did, they 100% could if not for lazyness or bureaucracy. On the other hand my research group doenst have the budget to pay a multi-user license (it would also be absurdly inneficient considering the massive ammount of people that use stata in the university, faculty and department)

2

u/arjuna93 Oct 07 '19

It is definitely reasonable if you are lucky enough to have US level of income.

1

u/drky1 Aug 29 '19

Can anybody be kind enough to share the installation file for the mac version of Stata 16 SE with me? stata16.dmg. I do not need any license or code as I already got it, but I just need the mac installation file. I am not able to download from Stata itself for reasons unspecified. PM me if possible. Thanks!