2002RePEc: Research Papers in EconomicsRequires access

QROWNAME: Stata module to extract lists of quoted row and column names from a matrix

Roger Newson

Open publisher page 0 citations

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.

About this research paper

What this paper is about

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.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available 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.

Key concepts: Column (typography), Matrix (chemical analysis), Row and column spaces, Mathematics, Arithmetic, Multinomial distribution, Combinatorics, Elementary matrix

Related papers

Back to paper searchBrowse research topicsOriginal source
QROWNAME: Stata module to extract lists of quoted row and column names from a matrix — Research Paper | ScholarLens