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]

Re: st: Stata chi-squared ptrendi command


From   Steven Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata chi-squared ptrendi command
Date   Fri, 22 Apr 2011 13:12:24 -0400

Huu,

Note that your second syntax is illegal. Only -ptrendi- is an "immediate" command. -ptrend- works on variables in an existing data set.  See the -help- for -ptrend-.

Steve


Because it's a user-contributed command and you need to install it:

Type "ssc install ptrend" at the command line.

Steve
sjsamuels@gmail.com



On Apr 22, 2011, at 12:32 PM, Twaha Daudi wrote:

Hello all,
Good day,
I am to stata and trying to  learn using  stata 11. When I try to
apply the ptrendi stata command getting the following error:

ptrendi 12 34 1\ 34 56 2\ 43 54 3
unrecognized command:  ptrendi
r(199);

ptrend 12 34 1\ 34 56 2\ 43 54 3
unrecognized command:  ptrend
r(199);

What could be the problem?

Huu
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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