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
metacumbounds using STATA and RI am applying metacumbounds command for Trial sequential analysis using STATA. The command required …
random effects probit with offset and flexible varianceDear all, I'm looking to carry out a random-effects probit (as in xtprobit), where I want to constra…
How to show the first step of ivpoisson estimation?Greetings all, I wonder if it is possible to get the estimation of the first step conducted by the …
Counting with _nHello Statalist, Question here about counting with _n in large datasets. I am attempting to create …
Help on choosing the right regressionHello! I am a real beginner with Stata and would like to know if I am doing the right things, I am …
Subscribe to:
Post Comments (Atom)
0 Response to Avoiding Duplicated variables because of calculating Mean
Post a Comment