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
Dummy variables for table values for percentileHey guys, I want to create one dummy variable which assigns a value of 1 for values above 90 percen…
Loop with spaces and quotesHello, I have a list of terms that have spaces and quotes that I want to loop over. I have been abl…
create a variable for the second lowest valueI have a list of values (bids). I already have generated the minimum value via: Code: egen minbid…
Logit with CI chartIs there a Code: lfitci or Code: qfitci type command to chart a logistic regression with confi…
SAS date to Statahi, i am working with a SAS data set and birthday variable reads as , list BIRTHY in 1/10 +------…
Subscribe to:
Post Comments (Atom)
0 Response to Saving error message
Post a Comment