Hi,
I want to make a table.
I have a dataset containing sum of sales on different locations in different points of time.
The table i want to make is a table that shows the percentage sales of total sales in that given year on each location.
what i have tried to do is to devide my "sum of sales in each location in that given year" on "sum of sales on all locations" and then write
table location year (and then the variable i was telling you about above here)
what i then get is a table with a lot of 1 values and the percentages on the top of the table. i want it to show the locations to the left side of the table, year at the top and then in the table show the percentages that i know is in my dataset from the variables i have created.
do someone know how i can make this work?
Related Posts with table
Using (nested) loops to conditionally sumHello, thank you in advance for any advice you are able to provide me with. I am a rather novice whe…
area specific linear time trendI have 2012-2018(Aug) monthly data, there are 80 (6*12+8) time periods. 52 areas in the data set I …
how to investigate whether the values of a variable in a group are the sameI have an unbalanced panel data about mutual funds. The variables are listed below: yrm: the date va…
-xtdpdml-, -xtabond- or -cmp-?Hi All: I want to investigate the causality relationship between work and health. My model is like …
How to use OLS to estimate a rough ATE (Average Treatment Effect)?Hi, I am using traditional NSW(National Supported Work Demonstration) dataset to do couple of match…
Subscribe to:
Post Comments (Atom)
0 Response to table
Post a Comment