Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: storing part of variable names in a list


From   Mahbubeh Parsaeian <mahbobehparsaeian@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: storing part of variable names in a list
Date   Sat, 1 Dec 2012 02:34:32 -0800 (PST)

Hi statistician
I have a dataset with these variables 
k1          k21        k35        k41        k57        k69        p1          p21        p35        p41              p57        p69
I know, If I want to store these variable names and use these names in a
loop I can use unab
But I need a function that store just the numbers not all the name and
then I can write a loop for these numbers.
Would you please help me to find a suitable answer?    

________________________________
From: Nick Cox <njcoxstata@gmail.com>
To: statalist@hsphsun2.harvard.edu 
Sent: Saturday, 1 December 2012, 12:54
Subject: Re: st: sjlog

This was asked a few weeks ago. See thread starting

<http://www.stata.com/statalist/archive/2012-10/msg00497.html>

The short answer appears to be no.

Nick

On Sat, Dec 1, 2012 at 7:40 AM, Airey, David C
<david.airey@vanderbilt.edu> wrote:
> Dear Statalisters,
>
> I'm using sjlog from the sjlatex package to reproduce Stata results in a LaTeX document. However, my Stata results tables from an estimation command are wrapping in the Stata sjlog file and consequently are not very readable.
>
> Is there anyway to control sjlog linesize? I've tried setting linesize and making my window larger but the wrapping in sjlog is still there.
*
*   For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/faqs/resources/statalist-faq/http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index