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

*To*: asreml@chiswick.anprod.csiro.au*Subject*: DF's with nested effects*From*: Kim Bunter <kbunter@metz.une.edu.au>*Date*: Thu, 27 Jan 2000 14:19:19 +1100*Sender*: asreml-owner@lamb.chiswick.anprod.csiro.au

Hi all, I am having trouble coming up with the right DFs (and apparently labels in the solution file) for nested effects. For example, I have 8 years of data and a treatment (2 levels) has been applied in year 7 only. I have tried fitting this as: trait ~ mu year at(year,7).(treat) which gives me 7DF for year and still 2DF for treatment. The problem seems to arise due to missing values for treatment - even though these only occur in the years where this effect is not fit, and there are no missing values in the year where this factor is fit. I can (apparently?) fix it by making sure the factor levels are zero rather than missing. Well, at least the DF for the treatment become 1 which is what I expected. Previously defining the treatment seems to have no impact. It is not an option to delete the records with missing treatments unless I want to throw out an entire years data (which I don't). However, I am not sure that making factor levels not missing (but all zeros) is actually the correct solution. For both the above cases in the solution file the label seems to show that treatment is fit within year 1 (which can't be right as all factors in year 1=0). at(myear,7).csupp 1.0001 0.000 0.000 at(myear,7).csupp 1.0002 7.248 4.146 As the data is ordered from 1 to 8, I don't think the confusion is arising for year. Why does the label not state that the appropriate year is 7? What am I missing here? Cheers Kim Kim Bunter (M.Rur.Sc) PhD Student Animal Genetics and Breeding Unit University of New England Armidale, NSW, 2351 AUSTRALIA Ph: (02) 6773 3788 Fax: (02) 6773 3266 email: kbunter@metz.une.edu.au -- Asreml mailinglist archive: http://www.chiswick.anprod.csiro.au/lists/asreml

- Prev by Date:
**Re: Bivariate binomial + normal** - Next by Date:
**Re: Bivariate binomial + normal** - Prev by thread:
**Re: Bivariate binomial + normal** - Next by thread:
**Re: DF's with nested effects** - Index(es):