Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73262

Frequency tables

$
0
0
This seems far too simple to be giving me problems, but here we are.

I have the following variables:
- State
- Year
- Deaths
- etc.

Each observation represents a single car crash, and the Deaths variable represents the number of deaths occurring in that crash. What I want to do is create a table that provides the number of crashes (i.e., observations) by state and year. When I try this:
Code:
tab state year
I get "too many values." I've tried a number of variations, but have been unable to get the data into one table.

Is there a way to do this?
Thanks in advance!

Viewing all articles
Browse latest Browse all 73262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>