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
survey data - 90% CIs for a proportion - tabulate or proportion?HI all, I'm analyzing survey data. I have a series of proportions and would like to produce standard…
Finding lags in panel dataDear members, I would like to know if there is a Stata program to help me find the most appropriate…
Cointegration between predictor vaiablesI am estimating a logit model. Several of the predictors are time series. Rather than differencing t…
Sorting string variables- a couple of questionsDear Statalist, I've just ran a small pilot study, which is a 2*2 factorial survey conducted via the…
Inference with mixed and melogit with few units at highest levelDear Statalisters, I am seeking guidance on how to approach inference with multilevel mixed-effects…
Subscribe to:
Post Comments (Atom)
0 Response to Saving error message
Post a Comment