Dr Gilmour,
Thanks for sending the correct syntax.Is it easier to code this in
ASREMl-R?
Best Regards,
-Subash
314-694-6364
-----Original Message-----
From: ASReml users discussion group [mailto:ASREML-L_at_DPI.NSW.GOV.AU] On
Behalf Of Arthur Gilmour
Sent: Saturday, August 22, 2009 3:38 AM
To: ASREML-L_at_DPI.NSW.GOV.AU
Subject: Re: Heterogeneous variance model in ASREML
Dear Subash,
Assuming I have interpreted the SAS model correctly,
The corresponding ASReml code is
fruit_set_mean ~ mu pedigree location pedigree.location !r rep.location
3 1
<n1>
<n2>
<n3>
ASReml requires the data be sorted on location and that you have
counted the numbers of records in each location
[which you could do with
tabulate fruit_set_mean ~ location !COUNT
given as a command line before the model line,
or by using the !SUMMARY qualifier on the data line.]
In this code, 3 is the number of separate locations; equivalently
written as
location 1
<n1> is the number of plots in location 1
<n2> is the number of plots in location 2
<n3> is the number of plots in location 3
--------------
An alternate specification is
fruit_set_mean ~ mu pedigree location pedigree.location ,
!r rep.location uni(location,1) !GU uni(location,2) !GU
wherein the uni(location,1) model term picks up the difference in
residual variance between loc 1 and loc 3; uni(location,2) picks up the
difference in residual variance between loc 2 and loc 3; and the
reported residual variance will be the variance for location 3.
On Fri, 2009-08-21 at 14:38 -0500, KRISHNAMURTHY, SUBASH [AG/1000]
wrote:
> All,
>
>
>
> I would like to fit a heterogeneous variance model for a data from an
> across location Randomized Complete Block design, equivalent to SA
> PROC MIXED statement as shown below along with the output from SAS. I
> will appreciate if anyone can provide the appropriate syntax in ASREML
> for the R matrix.
>
>
>
> proc mixed data = temp;
>
> class rep location pedigree;
>
> model fruit_set_mean = pedigree location pedigree*location /
> ddfm=satterth;
>
> random rep(location);
>
> repeated / group = location r rcorr;
>
> run;
>
>
>
> Covariance Parameter Estimates
>
>
>
>
> Cov Parm Group Estimate
>
>
>
>
> Rep(Location)
> 0.002700
>
> Residual Location L1
> 0.01740
>
> Residual Location L2
> 0.005008
>
> Residual Location L3 0.004578
>
>
>
> Thanks.
>
> -Subash
>
>
> This e-mail message may contain privileged and/or confidential
> information, and is intended to be received only by persons entitled
> to receive such information. If you have received this e-mail in
> error, please notify the sender immediately. Please delete it and all
> attachments from any servers, hard drives or any other media. Other
> use of this e-mail by you is strictly prohibited.
>
> All e-mails and attachments sent and received are subject to
> monitoring, reading and archival by Monsanto, including its
> subsidiaries. The recipient of this e-mail is solely responsible for
> checking for the presence of "Viruses" or other "Malware". Monsanto,
> along with its subsidiaries, accepts no liability for any damage
> caused by any such code transmitted by or accompanying this e-mail or
> any attachment.
>
>
>
>
>
>
> This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. Views expressed in this message are
those of the individual sender, and are not necessarily the views of
their organisation.
-- Best Wishes, Arthur Gilmour Adjunct Professor School of Computing and Mathematics Charles Sturt University Jesus went to the synagogue in every town in Galilee to preach and drive out demons. A leper came, knelt down and said, "If you will, you can make me clean". Jesus was moved. He reached out and touched him and said "I am willing. Be clean." He was cleansed immediately. Mobile Number +61 427 227 468 Home phone +61 2 6364 3288 Skype: Arthur.Gilmour http://www.CargoVale.com.au/asreml Travel: Mumbai Aug 16-17 ASReml workshop CIFE Adelaide AAABG 27Sept to 2 Oct Brisbane Probe 29Nov to 6 Dec Bangladesh Prosihhkon 31Dec - 31 Jan This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation. --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. ---------------------------------------------------------------------------------------------------------Received on Tue Aug 24 2009 - 08:11:22 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.)