QROWNAME: Stata module to extract lists of quoted row and column names from a matrix
Roger Newson
Abstract
Roger Newson
Abstract
qrowname returns lists of double-quoted row equations, row names and row full names for a matrix specified by matrix_name. qcolname returns lists of double-quoted column equations, column names and column full names for a matrix specified by matrix_name. The lists are stored in the saved results r(eq), r(name) and r(fullname), containing lists of quoted row/column equation names, quoted row/column names and quoted row/column full names, respectively. The two commands work similarly to the macro extended functions roweq, coleq, rownames, colnames, rowfullnames and colfullnames, but, unlike the macro extended functions, they return each name in double quotes. This is useful when row and column equations contain spaces or even single quotes, as sometimes happens with equation names for matrix estimation results generated by mlogit when the multinomial outcome variable has value labels. The returned lists can then be assigned to other matrices using the matrix roweq, matrix coleq, matrix rownames and matrix colnames commands.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
qrowname returns lists of double-quoted row equations, row names and row full names for a matrix specified by matrix_name. qcolname returns lists of double-quoted column equations, column names and column full names for a matrix specified by matrix_name. The lists are stored in the saved results r(eq), r(name) and r(fullname), containing lists of quoted row/column equation names, quoted row/column names and quoted row/column full names, respectively. The two commands work similarly to the macro extended functions roweq, coleq, rownames, colnames, rowfullnames and colfullnames, but, unlike the macro extended functions, they return each name in double quotes. This is useful when row and column equations contain spaces or even single quotes, as sometimes happens with equation names for matrix estimation results generated by mlogit when the multinomial outcome variable has value labels. The returned lists can then be assigned to other matrices using the matrix roweq, matrix coleq, matrix rownames and matrix colnames commands.
Key concepts: Column (typography), Matrix (chemical analysis), Row and column spaces, Mathematics, Arithmetic, Multinomial distribution, Combinatorics, Elementary matrix