Displaying 2 results from an estimated 2 matches for "wermuth".
2003 Aug 27
1
how to calculate Rsquare
...sday, August 27, 2003 10:04 AM
To: R-Help
Subject: Re: [R] how to calculate Rsquare
Can anybody send these articles for me?
> NagelKerke, N. J. D. (1991) "A note on a general definition of the
> coefficient of determination", Biometrika 78: 691-2.
>
> Cox, D. R. and Wermuth, N. (1992) "A comment on the coefficient of
> determination for binary responses", The American Statistician 46:
> 1-4.
>
Thanks
Ronaldo
--
Of ______course it's the murder weapon. Who would frame someone with a
fake?
--
|> // | \\ [******************************...
2003 Jul 21
1
how to calculate Rsquare
Hi,
I have something like this:
> x <- 1:10
> y2 <- 30+5*x+rnorm(x,sd=3)
> y <- c(y1,y2)
> x <- c(x,x)
> plot(x,y)
> x <- 1:10
> y1 <- 1+5*x+rnorm(x,sd=2)
> y2 <- 30+5*x+rnorm(x,sd=5)
> y <- c(y1,y2)
> x <- c(x,x)
> f <- factor(rep(c("a","b"),c(10,10)))
> m <- lm(y~x+f)
> anova(m)
Analysis of Variance