[R] p values for a GEE model

2006-04-10 Thread Tarca, Adi
Hi all, I have a dataset in which the output Y is observed on two groups of patients (treatment factor T with 2 levels). Every subject in each group is observed three times (not time points but just technical replication). I am interested in estimating the treatment effect and take into account

[R] passing arguments from nnet to optim

2005-08-26 Thread Tarca, Adi
Hi everyone, According to R reference manual, the nnet function uses the BFGS method of optim to optimize the neural network parameters. I would like, when calling the function nnet to tell the optim function not to produce the tracing information on the progress of the optimization, or at least t

[R] nnet classification using unbalanced classes

2005-04-06 Thread Tarca Adi Laurentiu
Hi everybody, I want to obtain a classification model using the nnet function for a simple two class problem. My problem is that number of samples in the first class (n1) is about twice higher than the one in class two (n2). I would like to use the weights argument in the nnet function to equali

[R] building R libraries (windows) - R CMD check problems

2004-06-15 Thread Tarca Adi Laurentiu
Hi everyone, I am trying to build a R library called nnNorm but I have some troubles checking and installing it. Here is the setup: If I don't use a inst\doc directory(with the vignettes files) in my source, the install step is working fine: C:\test>RCMD INSTALL nnNorm -- Making packa

[R] nnet function

2004-05-04 Thread Tarca Adi Laurentiu
Hi I got two questions about the nnet function in R. I would be thankful to have an answer. 1) Does the function intrinsically normalize the X and Y matrices before the training, or normalization should be done by the user. 2) I need to understand the $wts matrix. I do imagine that it is a sin