[R] R^2 for multilevel models

2007-08-13 Thread Andy Fugard
Hi there, In multiple regression one way to view R^2 is as (the square of) the correlation between original y's and the estimated y's. Suppose you fit a multilevel model with random intercept for each cluster. Would it be valid to compute an R^2 by using fixed effects plus the group

[R] New mailing list: R for psychology research

2007-05-14 Thread Andy Fugard
the archives from that page. Best wishes, Andy -- Andy Fugard, Postgraduate Research Student Psychology (Room F15), The University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK Mobile: +44 (0)78 123 87190 http://www.possibly.me.uk __ R-help

Re: [R] Estimating parameters of 2 phase Coxian using optim

2007-03-06 Thread Andy Fugard
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Andy Fugard, Postgraduate Research Student Psychology (Room F15

Re: [R] Random Integers

2007-02-25 Thread Andy Fugard
) library(random) ?random randomNumbers(10,1,6,1) V1 1 5 2 3 3 6 4 3 5 3 6 1 7 6 8 4 9 5 10 3 Andy -- Andy Fugard, Postgraduate Research Student Psychology (Room F15), The University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK Mobile: +44 (0)78 123 87190 http

Re: [R] Combining Dataframes

2007-02-25 Thread Andy Fugard
://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Andy Fugard, Postgraduate Research Student Psychology (Room F15), The University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK Mobile: +44 (0)78 123 87190 http

[R] Repeated measures logistic regression

2007-02-25 Thread Andy Fugard
a p-value for goodness of fit? Many thanks for any help, Andy -- Andy Fugard, Postgraduate Research Student Psychology (Room F15), The University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK Mobile: +44 (0)78 123 87190 http://www.possibly.me.uk