LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 7 Oct 2009 07:55:52 -0700
Reply-To:     oslo <>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         oslo <hokut1@YAHOO.COM>
Subject:      Re: pedigree simulation
Comments: To: Michael Raithel <michaelraithel@WESTAT.COM>
In-Reply-To:  <>
Content-Type: text/plain; charset=iso-8859-1

Dear Michael; Thanks. I will not use these simulated data for any research. I will use the real data which did not come yet. I needed to simulate a data set and make my software ready before real data come. So this simulation kind of will be preliminary work before real. I am familiar with PROC INBREED very well but I could not simulate the pedigree structure as I posted to LISTSERV. Once again thank for writing and humor, Oslo ________________________________ From: Michael Raithel <michaelraithel@WESTAT.COM> To: SAS-L@LISTSERV.UGA.EDU Sent: Wed, October 7, 2009 6:38:35 AM Subject: Re: pedigree simulation Dear SAS-L-ers, Oslo posted the following: > Dear All; > > Assume that I have a base population from two nuclear families > > data a; > input generation gender id sire dam; > cards; > 1 f 1 .  . > 1 f 2 .  . > 1 m 3 .  . > 1 m 4 .  . > 1 f 5 . . > 1 f 6 . . > 1 m 7 . . > 1 m 8 . . > > I would like execute random mating for these nuclear family members to > generate the 2nd generation such that each family has only two members > (one female and one male). Than randomly mate family memebers of 2nd > generation to produce the 3rd generation. In addition I have to try > with two options 1) replace (1 sire can mate with more than one dam), > and 2) unreplacment (each sire can mate only with one dam) > > Any help  would be greatly apprecited > Oslo, nuclear families; random mating?!?!?!  What the hey; this is a G-rated, or maybe even a PG-13-rated Listserv; not an R-rated one! All kidding aside, this looks similar to a question that Mak had back on October 30th, concerning the dubiously named PROC INBREED.  You can get more information on that particular procedure in the SAS Online documentation.  Here is at least one link: get you started. Man, oh man; I sure hope that I haven't just helped to enable some bizarre government research project--you know, like some sort of doomsday Noah's Ark or something! Oslo, best of luck in all of your SAS endeavors! I hope that this suggestion proves helpful now, and in the future! Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael A. Raithel "The man who wrote the book on performance" E-mail: Author: Tuning SAS Applications in the MVS Environment Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition Author: The Complete Guide to SAS Indexes +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I would not rule out the chance to preserve a nucleus of human specimens. It would be quite easy... heh, heh... at the bottom of ah...some of our deeper mineshafts. - Dr. Strangelove +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Back to: Top of message | Previous page | Main SAS-L page