I'm stumped on this one. I want to be able to automate the creation of a results table that does not contain t-ratios or pvalues (or be able to suppress the t-ratio and pvalues in modprint). 

varname(xlist) produces a string with commas separating the names, but the rownames command wants spaces instead of commas. So far I haven't been able to get a proper string to use with rownames using loops.  

open broiler
list xlist = const 2 3 4 5
matrix X = { xlist }
vn = varname(xlist)

This produces the string that contains commas:


But what I need is something of the form, 

rownames(coeffs, "Y PCHICK PBEEF PCOR")

which does not contain commas. 

Any hints?  


Lee Adkins
Professor of Economics