[R] RMySQL dbConnect issues

2012-08-09 Thread Anthony Dick
Hello, I have access to my database via command line and through workbench, and have access on the grant tables: mysql SELECT host,user,password,select_priv,insert_priv FROM user; +--+---+---+-+-+ | host | user |

[R] robust polr

2012-07-20 Thread Anthony Dick
Hello, I am wondering if there is a robust estimation version of polr(), similar to the lm() - rlm(). If not, can anyone suggest a way to do robust estimation with polr()? Thanks, Anthony -- Anthony Steven Dick, Ph.D. Assistant Professor Director, Developmental Science Program Department

[R] parallel bootstrap linear model on multicore mac (re-post)

2011-03-02 Thread Anthony Dick
Hello all, I am re-posting my previous question with a simpler, more transparent, commented code. I have been ramming my head against this problem, and I wondered if anyone could lend a hand. I want to make parallel a bootstrap of a linear mixed model on my 8-core mac. Below is the process that

[R] parallel bootstrap linear model on multicore mac (re-post)

2011-02-24 Thread Anthony Dick
Hello all, I am re-posting my previous question with a simpler, more transparent, commented code. I have been ramming my head against this problem, and I wondered if anyone could lend a hand. I want to make parallel a bootstrap of a linear mixed model on my 8-core mac. Below is the process

[R] parallel bootstrap linear model on multicore mac

2011-02-23 Thread Anthony Dick
People of R(th), I have been ramming my head against this problem, and I wondered if anyone could lend a hand. I want to parallelize a bootstrap of a linear model on my 8-core mac. Below is the process that I want to parallelize (namely, the m2.ph.rlm.boot-boot(m2.ph,m2.ph.fun, R = nboot)

[R] SEM interaction

2010-05-25 Thread Anthony Dick
Hello all, This is a general stats question--I realize it is an R help list, so tell me to go away if it is inappropriate. I have a 2 X 2 design, and I have specified four identical path models (one for each level of each factor). I want to test for an interaction at each path--essentially

Re: [R] sem package and AMOS

2009-02-03 Thread Anthony Dick
, John On Mon, 02 Feb 2009 14:50:26 -0600 Anthony Dick ad...@uchicago.edu wrote: Hello- I am using R to build my initial models, but need to use AMOS to compare the models of two groups (adults vs. kids). The problem is I am getting different results with R and AMOS for the initial models

[R] sem package and AMOS

2009-02-02 Thread Anthony Dick
Hello- I am using R to build my initial models, but need to use AMOS to compare the models of two groups (adults vs. kids). The problem is I am getting different results with R and AMOS for the initial models of the separate groups (and the R results make more sense). The parameter

[R] sem package: start values

2009-01-25 Thread Anthony Dick
Hello- If I input a variance-covariance matrix and specify NA for start values, how does sem determine the start value? Is there a default? Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S.

Re: [R] sem package: start values

2009-01-25 Thread Anthony Dick
, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Anthony Dick Sent: January-25-09 9:15 PM To: r-help@r-project.org Subject: [R] sem package: start values Hello- If I input

[R] remove columns containing all zeros (or other value)

2009-01-14 Thread Anthony Dick
Hello- I would like to remove the columns of a matrix that contain all zeros. For example, from x-matrix(c(1,5,3,2,1,4,0,0,0), ncol=3,nrow=3) I would like to remove the third column. However, because this is in a loop I need a way to first determine which columns are all zeros, and only

[R] RMySQL CREATE TABLE error

2009-01-09 Thread Anthony Dick
Hi all- I am stumped. The code in A. returns errors at lines 14 and 15 and fails to load series1 and series2. However, in B., if temp1 and temp2 are called again (which returns a Table exists error; see lines 14-17 in B.) series1 and series2 load correctly. Any ideas? Also-I am open to any

[R] R SEM package

2009-01-06 Thread Anthony Dick
Does anyone know if the sem package in R can implement a stacked model comparison, for example as in LISREL or AMOS? Thanks, Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S. Maryland Ave. MC-2030