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
How to create a variable for maximum number of periods an individual can participate in a panelHello everyone, thank you for the helpful advice in my previous posts. I would like to create a vari…
How to swap components of variable name?Hi - I have about 1200 variables that are in the format monYY_[indicator] which means they look some…
Selecting lags for Pesarans unit root tests which controls for cross-sectional dependenceI am trying to run a panel unit root test using the PESCADF command in Stata. However I am confused …
How to create robust standard errors, clustered by firm IDHi guys, I am currently using a data panel set and want to do a simple pooled OLS regression. I hav…
Can Positive IV Probit Coefficients imply Negative Marginal Effects?Dear list members, I am sorry to ask about this again, as my other post was presumably phrased to t…
Subscribe to:
Post Comments (Atom)
0 Response to table
Post a Comment