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
Merging datasetsI have two datasets that I want to merg- One from the screening registry and the other one from a ho…
from stata to latex descriptive stat and ttestHi everyone! I'm working on same descriptive statistics and ttest tables on Stata and I want to exp…
Regression with only the last 80 linesHello, i´m not sure if it possible or how i programm it. Here is my problem: The dataset includes 20…
Value labels: re-coding, assigning multiple labels to one value and differentiation in variablesHi all, I want to recode two of my value labels, which are used for multiple variables. The first …
TtestDear all, I hope you are all doing great. I am trying to calculate the ttest of x (total dollar's …
Subscribe to:
Post Comments (Atom)
0 Response to Saving error message
Post a Comment