Re: [R] Polychoric and tetrachoric correlation

2008-09-03 Thread Andy Fugard
ze is sufficiently large and the correlation isn't too close to 0 or 1, but it is probably not in general terribly trustworthy. I hope this helps, John Original message: Andy Fugard a.fugard at ed.ac.uk Mon Sep 1 19:25:54 CEST 2008 Hi there, Am I correct to be

[R] Polychoric and tetrachoric correlation

2008-09-01 Thread Andy Fugard
true, how can one estimate 95% confidence intervals for the correlations? My guess would be mat = hetcor(dataframe) mat$correlation - (1.96 * mat$std.errors) mat$correlation + (1.96 * mat$std.errors) Thanks, Andy -- Andy Fugard, Postgraduate Research Student Psychology (Room S6), The

Re: [R] String concatenation

2008-06-28 Thread Andy Fugard
idual arguments. But the collapse argument does the trick - ta. A regards . On 2008-6-28, at 下午7:44, Andy Fugard wrote: Hi, Is the following function built in somewhere? concat = function(v) { res = "" for (i in 1:length(v)) res = paste(res,v[i],sep="") res }

[R] String concatenation

2008-06-28 Thread Andy Fugard
Hi, Is the following function built in somewhere? concat = function(v) { res = "" for (i in 1:length(v)) res = paste(res,v[i],sep="") res } e.g. > concat(c("12","3","45")) [1] "12345" Cheers, Andy -- Andy

[R] Residuals for binomial lmer fits

2007-10-08 Thread Andy Fugard
Dear all, I would like to use the residuals in a general linear mixed effect model to diagnose model fit. I know that the resid function has been implemented for linear mixed models but not yet for general linear mixed effects. Is there a way to get them out of lmer fit objects? I tried sear

Re: [R] Repeated measures logistic regression

2007-09-17 Thread Andy Fugard
progress. Best wishes, Andy On 25 Feb 2007, at 19:58, Andy Fugard wrote: > Dear all, > > I'm struggling to find the best (set of?) function(s) to do repeated > measures logistic regression on some data from a psychology > experiment. > > An artificial version