Displaying 2 results from an estimated 2 matches for "abservations".
Did you mean:
observations
2010 Jul 16
1
threshold in plot
Hi
I want to draw a plot from observed and predicted data and also shows threshold and data before threshold are identified with different color from data after threshold.
Suppose:
abserved data are 0 or 1
predicted data= 0 to 1
threshold=0.5
Thanks alot
[[alternative HTML version deleted]]
2007 Jan 06
1
help with gls
...on=corAR1(form=~1|aa),method="ML")
mu<-summary(fit.a)$coefficient
With the toy data I made to test, the estimate of mu is exactly equal to
the overall mean of y which can not be true.
But, if I make a toy data with y more than two replicates (for each level
of aa we have more than 2 abservations, for example N=4), the estimates of
mu will not be as the same as the overall mean of y.
Would you please tell me why this happens?
The following is my testing code.
Thanks.
James
require(mvtnorm)
rho=-0.5
N=2
sigma.a=2
Rho.a<-matrix(c(1,rho^(1:(N-1)))[outer(X=1:N,Y=1:N,function(x,y)
1+abs(...