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
Likely a very simple question: what is the syntax for adjusting the y axis position offset?Greetings, I'm running Stata 15 on OSX. I'm struggling to figure out how to adjust the position of …
local and conditionalsDear all, I am having troubles with some macros. My peace of code is Code: foreach ETC in $ETC{ …
Importing Several Excel Ranges from different Excel files onto Stata (for Appending)Hello Stata gurus, This is my first post on Statlist and I am currently attempting to import excel …
Saving the country graphs by their names (in a loop)Hi... I have created a code that titles the graphs by their "id". I want to title the graphs by thei…
Importing Excel Files into stataHi I am using these commands to import the excel files and save them into stata. but I am getting t…
Subscribe to:
Post Comments (Atom)
0 Response to Avoiding Duplicated variables because of calculating Mean
Post a Comment