Re: By statement

From: Boldman, Keith <KEITH.BOLDMAN_at_PIONEER.COM>
Date: Wed, 19 Aug 2009 16:16:46 -0500


Similar to a "By" statement, you can use a !CYCLE and !FILTER qualifiers in ASReml:

!CYCLE ID1 ID2 ID3 ... ID1000 # IDn is the particular level of the variable ID which is the, e.g., 2nd variable in the data

data.dat !SKIP 1 !FILTER 2 !SELECT $I # $I is assigned values ID1, ID2, ID3, ...., ID1000 so the data are filtered by 2nd variable ID

This code will result in i = 1 to 1000 runs, each run w/ a subset of the entire data set containing only those records with ID = IDi. The !CYCLE and !FILTER qualifiers are documented in the ASReml User Guide.



Is there any option in ASReml-W similar to the "By" statement in proc mixed of SAS? I would want to fit a few models to a simulated data set in which
each of say 1000 simulated data is coded with id number under variable name "ID". I do not want to make 1000 seperate data sets and run the models 1000 times manually. if there's no such options available, I would like to be
advised how to go around for this type of simulation study done with ASReml. Also how to convert outputs from 1000 runs into excel or sas data table less manually.



This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.

Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean

Received on Thu Aug 19 2009 - 16:16:46 EST

This webpage is part of the ASReml-l discussion list archives 2004-2010. More information on ASReml can be found at the VSN website. This discussion list is now deprecated - please use the VSN forum for discussion on ASReml. (These online archives were generated using the hypermail package.)