Difference between revisions of "Output files"

From Linear Mixed Models Toolbox
Jump to navigation Jump to search
Line 8: Line 8:
====results.csv====
====results.csv====
The file contains the solutions for the mixed model equation system. The file has four columns:
The file contains the solutions for the mixed model equation system. The file has four columns:
* "factor name",
*factor name,
* "sub-factor name",
*sub-factor name,
* "factor level id", and
*factor level id, and
* "solution".
*solution.


Note that "factor name"s are derived according to the lmt factor naming convention, and "sub-factor name"s are user-defined and are extracted from the equation system. Further, the "factor level id" is the original as provided by the data, pedigree, etc. For variables undergoing polynomial expansions, e.g. sub-factor {{cc|c}} in
Note that {{cc|factor name}}s are derived according to the lmt factor naming convention, and {{cc|sub-factor name}}s are user-defined and are extracted from the equation system. Further, the {{cc|factor level id}} is the original as provided by the data, pedigree, etc. For variables undergoing polynomial expansions, e.g. sub-factor {{cc|c}} in


   y=x*b+age(t(co(p(1,2))))*c+id*u(v(my_var(1)))
   y=x*b+age(t(co(p(1,2))))*c+id*u(v(my_var(1)))


the sub-factor name will be expanded as well by {{cc|_id}}, where "id" is the polynomial id. For the above example {{cc|c}} would be expanded to {{cc|c_1}} and {{cc|c_2}}.  
the sub-factor name will be expanded as well to {{cc|sub-factor name_id}}, where "id" is the polynomial id. For the above example {{cc|c}} would be expanded to {{cc|c_1}} and {{cc|c_2}}.  


The file has as many records the system has equations. Fixed factor levels which have been omitted due to rank deficiencies are not printed.
The file has as many records the system has equations. Fixed factor levels which have been omitted due to rank deficiencies are not printed.
====PCG solver output files====
====PCG solver output files====
=====so_conv.csv=====
=====so_conv.csv=====
Contains the iteration statistics
Contains the iteration statistics with columns
*iteration number
*alpha
*beta
*$$||r_i M r_i||$$, where $$M$$ is the preconditioner matrix and $$r_i=Cx_i-b$$ for a system $$Cx=b$$
*convergence criterion CD
*convergence criterion CR
*

Revision as of 04:48, 4 March 2022

lmt generates various output files. The files described below are those maybe relevant to the user. Other output files can be safely deleted after the run.

General output files

lmt.log

General log file always generated. Provides information of the current state of operation.

Operation dependent output files

Solving the mixed model equation system

results.csv

The file contains the solutions for the mixed model equation system. The file has four columns:

  • factor name,
  • sub-factor name,
  • factor level id, and
  • solution.

Note that factor name s are derived according to the lmt factor naming convention, and sub-factor name s are user-defined and are extracted from the equation system. Further, the factor level id is the original as provided by the data, pedigree, etc. For variables undergoing polynomial expansions, e.g. sub-factor c in

 y=x*b+age(t(co(p(1,2))))*c+id*u(v(my_var(1)))

the sub-factor name will be expanded as well to sub-factor name_id , where "id" is the polynomial id. For the above example c would be expanded to c_1 and c_2 .

The file has as many records the system has equations. Fixed factor levels which have been omitted due to rank deficiencies are not printed.

PCG solver output files

so_conv.csv

Contains the iteration statistics with columns

  • iteration number
  • alpha
  • beta
  • $$||r_i M r_i||$$, where $$M$$ is the preconditioner matrix and $$r_i=Cx_i-b$$ for a system $$Cx=b$$
  • convergence criterion CD
  • convergence criterion CR