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:
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!
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
Is there a way to do this?
Thanks in advance!