Dear All,
I am a new user to STATA and I was requested to make a regression model for using the average of some variables over 4 years, so when I calculated the average for each company I got the average 4 times corresponding to each year of the company's data which led to the multiplication of my observations by 4 and hence it's affecting the results of my regression model.
How I can avoid that and have only 1 average for each company instead of 4?
Your help will be so appreciated.
Regards,
Mohammed Khaled
Related Posts with Avoiding Duplicated variables because of calculating Mean
egen total Addition error in 15.1Dear Statalist Members, I am running into a peculiar issue with Stata 15.1 with the following [i bel…
Asdoc QueryHey I have two small questions 1) How to end a nested table and start a new one? 2) How to export A…
Geodist datasets into a panelDear all, I have 3 sets of data - the first is 565,000 gridpoint observations of rainfall, with lat…
defining group numbersDear All, I found this question here (https://bbs.pinggu.org/thread-7407152-1-1.html). The data is …
Panel data set with spaced time periodsHello Statalist, I am currently analyzing a panel data set of 45 firms across 3 years. However, the…
Subscribe to:
Post Comments (Atom)
0 Response to Avoiding Duplicated variables because of calculating Mean
Post a Comment