# How to do Cross Tabs?

**URL:** https://discourse.julialang.org/t/how-to-do-cross-tabs/36533
**Category:** Statistics
**Created:** [March 26, 2020, 2:40am UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533 "2020-03-26T02:40:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)
#### Post date: [March 26, 2020, 2:40am UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533/1 "2020-03-26T02:40:14Z")

</div>

Is there a package to do Cross Tabulation? I have HypothesisTests and StatsBase, but can’t find anything about Cross Tabulation in the documentation for each.

---

<div class="post-metadata">

### Author: ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)
#### Post date: [March 26, 2020, 9:25am UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533/2 "2020-03-26T09:25:59Z")

</div>

A cross tabulation is the same as a frequency table, which you asked on a different thread. Maybe you can explain what you are trying to do in more detail?

---

<div class="post-metadata">

### Author: ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)
#### Post date: [March 26, 2020, 4:03pm UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533/3 "2020-03-26T16:03:44Z")

</div>

Ok thanks, I think I’ll try doing a frequency table for a smaller set of variables. I might also look at how to do it manually, since it seems that freqency tables don’t work with the amount of RAM I have.

---

<div class="post-metadata">

### Author: ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)
#### Post date: [March 26, 2020, 4:07pm UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533/4 "2020-03-26T16:07:14Z")

</div>

I think you want a Julia program to automate making frequency tables.  
If so, @nalimilan has a nice pkg that does exactly this: [https://github.com/nalimilan/FreqTables.jl](https://github.com/nalimilan/FreqTables.jl)

However, it would be a valuable learning experience for you to do it manually, imho…

---

<div class="post-metadata">

### Author: ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)
#### Post date: [March 26, 2020, 10:11pm UTC](https://discourse.julialang.org/t/how-to-do-cross-tabs/36533/5 "2020-03-26T22:11:19Z")

</div>

I have done that, but I’m having trouble exporting the output to excel, and Atom only shows a sample of the frequency tables.

Is there a way to get it to show all the frequency tables, formated, so I can cut and paste to Word?
