search for: sozpsy

Displaying 11 results from an estimated 11 matches for "sozpsy".

2009 Dec 22
3
vector indexing problem in multilevel data: assigning a specific value to all group members
...te) df <- as.data.frame(df) df rm(personId, groupId, groupLeader, someAttribute, leaderAttribute, df) -- Dr. Bertolt Meyer Senior research and teaching associate Social Psychology, Institute of Psychology, University of Zurich Binzmuehlestrasse 14, Box 15 CH-8050 Zurich Switzerland bmeyer at sozpsy.uzh.ch tel: +41446357282 fax: +41446357279
2008 Aug 01
3
Newbie question: How to use tapply() on several vectors simultaneously
...oking for something that gives me groupID V2 V3 1 1 -0.5915639 -0.6012890 2 2 -0.7404875 0.3733494 Any ideas? Thank you very much, Bertolt -- Bertolt Meyer Oberassistent Sozialpsychologie, Psychologisches Institut der Universit?t Z?rich Binzm?hlestr. 14, Box 15 CH-8050 Z?rich bmeyer at sozpsy.uzh.ch tel: +41446357282 fax: +41446357279 mob: +41788966111
2010 Aug 23
2
lmer() causes segfault
...Can someone tell me what I am doing wrong? Any help is greatly appreciated. With best regards, Bertolt -- Dr. Bertolt Meyer Senior research and teaching associate Social Psychology, Institute of Psychology, University of Zurich Binzmuehlestrasse 14, Box 15 CH-8050 Zurich Switzerland bmeyer at sozpsy.uzh.ch
2008 Aug 28
4
Help with shading a polygon below a segment of a curve (normal distribution)
...this is not what I want; some area above the line gets shaded, but not below. Can someone tell me what I am missing? Thank you very much, Bertolt -- Bertolt Meyer Oberassistent Sozialpsychologie, Psychologisches Institut der Universit?t Z?rich Binzm?hlestr. 14, Box 15 CH-8050 Z?rich bmeyer at sozpsy.uzh.ch tel: +41446357282 fax: +41446357279 mob: +41788966111
2008 May 25
1
marginality principle / selecting the right type of SS for an interaction hypothesis
...n where the standard way of calculating eta-square for a factor by dividing its SS by the total SS cannot be applied? Regards, Bertolt -- Bertolt Meyer Senior Assistant Psychological Institute, University of Zurich Social Psychology Binzmuehlestr. 14, Box 15 CH-8050 Zurich Switzerland bmeyer at sozpsy.uzh.ch tel: +41446357282 fax: +41446357279
2005 Jun 07
6
transform large matrix into list
Dear List I need to transform a large matrix M with many NAs into a list L with one row for each non missing cell. Every row should contain the cell value in the first column, and its coordinates of the matrix in column 2 and 3. M: x1 x2 y1 1 2 y2 4 5 y3 7 8 L: v x y 1 1 1 4 1 2 7 1 2 2 2 1 5 2 2 8 2 3 I'm trying to do this with a loop, but since my matrix is quite large (around
2005 Jun 02
3
merge large matrices
Dear List I have two large matrices A and B. Both have the same dimensions, let's say 20k x 30k. About half the cells of B are missing. Now I'm looking for an efficient way to merge them, so that the missing values in B are replaced by the corresponding values of A. Matrix A [,1] [,2] [,3] [1,] 1 2 3 [2,] 4 5 6 merged with Matrix B [,1] [,2] [,3] [1,] 10 NA NA [2,] NA 50 60
2010 Apr 03
0
Multilevel model with lme(): Weird degrees of freedom (group level df > # of groups)
...ere and would appreciate it if someone could explain this to me... What am I missing? Regards, Bertolt -- Dr. Bertolt Meyer Senior research and teaching associate Social Psychology, Institute of Psychology, University of Zurich Binzmuehlestrasse 14, Box 15 CH-8050 Zurich Switzerland bmeyer at sozpsy.uzh.ch tel: +41446357282 fax: +41446357279 mob: +41788966111
2011 Feb 03
2
how to read the "Sum Sq" - column from summary.aov()
...in a variable for later use? Like this: >some.magic.command() [1] 0.215 92.523 Thank you, Bertolt -- Dr. Bertolt Meyer Senior research and teaching associate Social Psychology, Institute of Psychology, University of Zurich Binzmuehlestrasse 14, Box 15 CH-8050 Zurich Switzerland bmeyer at sozpsy.uzh.ch
2010 Aug 24
0
mlm for within subject design
...d uninstalling and re-installing Tinn-R to no avail. I compared settings with a co-worker who is having no problems, and my settings are the same. -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? --Forwarded Message Attachment-- From: bmeyer at sozpsy.uzh.ch To: r-help at r-project.org Date: Mon, 23 Aug 2010 18:15:00 +0200 Subject: [R] lmer() causes segfault Hello lmer() - users, A call to the lmer() function causes my installation of R (2.11.1 on Mac OS X 10.5.8) to crash and I am trying to figure out the problem. I have a data set with lon...
2005 Jun 16
1
regressing each column of a matrix on all other columns
DeaR list I would like to predict the values of each column of a matrix A by regressing it on all other columns of the same matrix A. I do this with a for loop: A <- B <- matrix(round(runif(10*3,1,10),0),10) A for (i in 1:length(A[1,])) B[,i] <- as.matrix(predict(lm( A[,i] ~ A[,-i] ))) B It works fine, but I need it to be faster. I've looked at *apply but just can't