search for: ran2

Displaying 4 results from an estimated 4 matches for "ran2".

Did you mean: ran
2005 Feb 23
1
How to conctruct an inner grouping for nlme random statement?
.... Im hoping someone can help with a grouping question related to the "random=" statement within the nlme function. How do you specify that some grouping levels are inner to others? I tried several things, given below. Lets say I have a data frame with five variables, resp, cov1, ran1, ran2, group1, and group 2. The formula is resp~cov1 + ran1 + ran2, where the ran are random variables. The data is of length 80, and there are 4 unique factors in group1 and 20 unique factors in group2. These are factors related to ran1 and ran2, respectively. The difficult part is that I want to...
2012 Mar 22
2
Randomly select elements based on criteria
Hi, I want to randomly pick 2 fish born the same day but I need those individuals to be from different families. My table includes 1787 fish distributed in 948 families. An example of a subset of fish born in one specific day would look like: >fish fam born spawn 25 46 43 25 46 56 26 46 50 43 46 43 131 46 43 133 46 64 136 46 43 136 46 42 136 46 50 136 46 85 137 46 64 142 46 85 144 46 56
2008 Jan 08
2
plotting help needed
Dear all, i need some help with plotting. the specific problem is the following: #FYI a=100 b=95 d=94.5 e=70 all=c(a,b) all2=c(d,e) plot(all,type="b",col="blue",xlim=c(1,4),ylim=c(20,150)) lines(all2,type="o",col="yellow") this does work so far, but ... i´d like to have 4 intersects, just named by characters.. no scale please. the second problem is,
2000 Apr 07
1
lme questions (was difference between splus and R)
...the models somehow > > > different? Another possibility is that one is using ordinary likelihood > > > and the other is using REML. I see from the R documentation that REML > > > is indeed used here and I thought the same was true of Splus. > > > (The fits for ran2 give the same statistics, so look both to be REML.) > > You should not be using anova on lme models fitted with REML. Although in > > this case they are using the same fixed-effects model and so are on > > comparable data, the supporting theory is for ML fits only, AFAIK. > &...