Hello, in asimulation loop I want o to save results for instance confidence intervals for each run in separate file. Hos to do this is rather easy in eg.g. lavaan buit I have trouibles as newbie to find out how to specify the matrix cells for the parameter values i want to save. An example from Jaks book on Meta SEM:
pathmodel= mxModel(title,obs,matrixB,matrixP,matrixI, Ind_pos,Ind_neg,conf,algebraS,exp,fit) pathmodelOut = mxRun(pathmodel, intervals = TRUE) # retrieve the output summary(pathmodelOut)
results in (among other output) this;
confidence intervals: lbound estimate ubound note b31 0.39939069 0.64232806 0.88527142 b32 -0.50352850 -0.30476191 -0.10599531 b43 0.12624700 0.29585799 0.46546898
How can I specify these estimates as e.g. matric cells and save in a separate file?