I am trying to generate frequencies for a variable in Stata conditional on categories of another variable.

This other categorical variable has about 790,000 observations for the category I am interested in.

Stata's 12,000 rows and 1,200 rows limit for one-way and two-way tables respectively makes this impossible.

Every time I run `tab x if y==<category of interest>` I get the following error:

```
too many values
r(134);

```

I installed the `bigtab` package and though it gives me tables it cannot be used with `by` or run statistical tests.

Is there a work around for this?

It seems silly that Stata should have this arbitrary limit when SAS and even SPSS can run the exact same operation without trouble.