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
Fuzzy RDD with possible BootstrapDear all, I have a question and I would like to ask for advice. I am trying to evaluate the impact …
Managing workflow with the global macroHello Stata users, I am trying to use the global macro to switch between subfolders. For instance, …
Keep last 4 digits of a numeric variableHi everyone, I would like to ask you how can I keep the last 4 digits of the variable date. It is a …
OLS regression where one independent variable is a rare eventHello all, I am performance ols regression, something like: regress y i.x1##i.x2 x3 x4 x5, cluster…
SchemesI have just upgraded from 15 to 16. Is there any way to import my schemes from 15 without having to …
Subscribe to:
Post Comments (Atom)
0 Response to Maximum likelihood estimation with by(sort) command
Post a Comment