I have gathered cross country time-series data and culculated averages for all variables in Excel. For all the variables there are arithmetic averages and for GNIpcGrowth, DNPpcGrowth - geometric averages. For my regression I wanted to compute averages in Stata but I couldn't... Stata notifies about mismatch (r109) mistake. I tried different ways and failed. I thought that probably something wrong with the presentation of my data...
Would you please look at the data and tell me whether everything is ok with it? It is only beginning of the work I will Need the data for cross-section regressions, POLSand FE. In my excell spreadscheet there are averages in the the lowest row for each country (which I computed in Excel), should I remove them or place in the coloumn?
I have tried to use the commands
gen mean
gen cummean
collapse
egen
And the second question. Is it possible to compute geometric averages for growth in Stata? I have negative values there, so I will probably need an intermediate calculation as I performed in Excel (for GNIpcChange and GNPpcChange)
Would you please look at the data and tell me whether everything is ok with it? It is only beginning of the work I will Need the data for cross-section regressions, POLSand FE. In my excell spreadscheet there are averages in the the lowest row for each country (which I computed in Excel), should I remove them or place in the coloumn?
I have tried to use the commands
gen mean
gen cummean
collapse
egen
And the second question. Is it possible to compute geometric averages for growth in Stata? I have negative values there, so I will probably need an intermediate calculation as I performed in Excel (for GNIpcChange and GNPpcChange)
Comment