Hi all,
I am using a plug-in called traj from https://www.andrew.cmu.edu/user/bjones/strtxmpl2.htm. It is a group based trajectory model, an example of a finite mixture model, using maximum likelihood estimation to estimate the model parameters. I am at the moment running loops to establish the correct number of trajectories and their polynomial order. Basically it runs thousands of combinations and based on different criterias (BIC, AIC entropy) which I will use to decide on the appropriate number of trajectories (groups) and polynomials. I am saving all combinations in a matrix for later evaluation.
However.
Some of the combinations does not converge and others are to sparse (to few members in one cluster/trajectory). When this happens I get a warning message in red text in the Results window (for example "Warning: variance matrix is nonsymmetric or highly singular"). This is important information for me, since this indicates that the specific groupsize - polynomial combination might not be appropiate to use in the final model.
But is there a way to save the warning message in to a matrix? It is not reported in e() according to the help file...
All the best,
/Jesper
Related Posts with Saving error message
Creating new variable for each id from old variable in panel data settingHi: I have a dataset that looks like this: Code: * Example generated by -dataex-. For more info, …
Convert a dataset from wide to longHello, I have a dataset (survey longitudinal data) with several variables that I want to convert fr…
Creating new variable from old variable for each unit in panel data settingHi: I have a dataset that looks like this: Code: * Example generated by -dataex-. For more info, …
Switching regression model and Heckman procedureHello! I have a big confusion about the use of Switching regression model with endogenous switching…
How can I display the top five observations (by frequency) in a table?Hello, I am trying to look at the top five recorded diagnoses (numerically coded) in a very large da…
Subscribe to:
Post Comments (Atom)
0 Response to Saving error message
Post a Comment