Dear,
I hope you are all in good health. I'm estimating the amount of sorting across schools by estimating student characteristics on teacher evaluations. I am comparing different estimations. First estimate for the entire population and afterwards I want to do the regression for each district. Using the by command for maximum likelihood results in the following error: ml may not be combined with by. I read online that you can add the specification group to the model, but I don't really know how to do this.
Should I best specify a new model to use ML per district? Or is there a more easy way to do so? I will attach a screenshot of my code. (I'm sorry I realize this is not the perfect formatting, but I'm a bit in a time pickle and I think it would take me some time to figure out how to correctly post code)
Array
Thank you for your help!
All the best,
Lilli
Related Posts with Maximum likelihood estimation with by(sort) command
Stata do-editor settingsDear All, is there any way to preserve the option to show whitespace in the Stata's do-editor? (the…
Sample may not include multiple panels error after trying to perform Breusch Godfrey test forDear Everyone, I am using panel data and I want to test for autocorrelation in my dataset. The data…
Working with data frame: executing commands on all framesHi, I am pretty new in using data frames. I intend to execute commands on all frames after creating…
Delete all values for 1 company if some observations are missing.Hi everyone, Do you know the code to delete the entire board if 1 value is missing? For example, th…
Creating a new variable which are label values of other variableDear Statalist , I have a data of food item that people eat. The data stored as numeric and labelle…
Subscribe to:
Post Comments (Atom)
0 Response to Maximum likelihood estimation with by(sort) command
Post a Comment