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 on April 23, and its replacement, is already up and running.

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

st: error in forval?

From   helen bian <>
Subject   st: error in forval?
Date   Wed, 20 Oct 2010 12:29:15 +0100

Dear all,

Could any one point to me what the problem is in the following for loop, please?

forvalues i=1(1)6{
  forvalues j= `i'+1 /7{
  prtest FLAG_ChoseBestHosp1 if ( BG_Condition_recode==`i'|
BG_Condition_recode==`j'), by( BG_Condition_recode)

Many thanks for all the hep.

Best wishes,
*   For searches and help try:

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