search for: fugard

Displaying 10 results from an estimated 10 matches for "fugard".

2008 Jun 28
2
String concatenation
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 Fugard, Postgraduate Research Student Psychology (Room F3), The University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK Mobile: +44 (0)78 123 87190 http://www.possibly.me.uk The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
2008 Sep 01
1
Polychoric and tetrachoric correlation
...ld a matrix of correlations for binary variables? If this is 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 University of Edinburgh, 7 George Square, Edinburgh EH8 9JZ, UK +44 (0)78 123 87190 http://figuraleffect.googlepages.com/ The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
2007 May 14
1
New mailing list: R for psychology research
...ogy who are learning and using R. New users of R are especially welcome. To join, venture to http://www.jiscmail.ac.uk/archives/psych-r.html and click "Join or leave the list (or change settings)" You can also peruse 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
2010 May 18
1
BIC() in "stats" {was [R-sig-ME] how to extract the BIC value}
...do not cross-post" for once, and am hereby diverting this thread to R-devel Martin MM> -- MM> Martin Maechler, ETH Zurich GaGr> On Mon, May 17, 2010 at 9:29 AM, Douglas Bates <bates at stat.wisc.edu> wrote: >>> On Mon, May 17, 2010 at 5:54 AM, Andy Fugard (Work) >>> <andy.fugard at sbg.ac.at> wrote: >>>> Greetings, >>>> >>>> Assuming you're using lmer, here's an example which does what you need: >>>> >>>>> (fm1 ? ?<- lmer(Reaction ~ Day...
2007 Feb 25
1
Repeated measures logistic regression
...s the best way to discover and report the relative contribution of each predictor? I'm after an analogue of standardized betas (though I recently learned that they're thoroughly evil). 6. Is there anyway to get 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
2007 Feb 25
3
Random Integers
Hi all, Is there an R function to generate random integers? Thanks in advance. Sincerely Anup --------------------------------- Now that's room service! Choose from over 150,000 hotels [[alternative HTML version deleted]]
2007 Mar 06
2
Estimating parameters of 2 phase Coxian using optim
Hi, My name is Laura. I'm a PhD student at Queen's University Belfast and have just started learning R. I was wondering if somebody could help me to see where I am going wrong in my code for estimating the parameters [mu1, mu2, lambda1] of a 2-phase Coxian Distribution. cox2.lik<-function(theta, y){ mu1<-theta[1] mu2<-theta[2] lambda1<-theta[3]
2007 Aug 13
0
R^2 for multilevel models
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 intercepts to reduce the residuals? I suspect this has been done and, given its absence from the lmer
2007 Oct 08
0
Residuals for binomial lmer fits
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 searching the r-help archive and found nothing. I tried and failed to replicate what (I guessed would be
2012 May 08
0
Mental Health Informatician
The CAMHS EBPU is a research and training unit that is part of University College London (UCL) and the Anna Freud Centre (a registered charity dedicated to excellence in child and adolescent mental health). Within the unit sits the central team for the CAMHS Outcome Research Consortium (CORC) ? a national collaboration between child and adolescent mental health services (CAMHS) across the UK who