[R] Disable weight re-scaling in GLMNET

2017-05-29 Thread Maggie Makar
Hi all, Wondering if there is a way to disable observation weight re-scaling (such that it adds to N of observations) in glmnet without having to delve into the fortran code/ minimal edits to fortran code? Thanks Maggie [[alternative HTML version deleted

[R] Random forest proximity measure

2014-05-22 Thread Maggie Makar
Hi all, I've been using the randomForest package on a dataset (described later) and my problem is: even though I specify proximity= TRUE in the call I get a NULL proximity matrix. Any thoughts on why that may happen? Unfortunately I can't post my dataset, which is particularly problematic here si

[R] ? ~ ADONIS

2014-03-25 Thread Maggie Wisniewska
would appreciate any input as to how to continue (and am happy to elaborate if more info would be of help). Thank you for readign. Maggie [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] cforest sampling methods

2014-03-19 Thread Maggie Makar
Hi all, I've been using the randomForest package and I'm trying to make the switch over to party. My problem is that I have an extremely unbalanced outcome (only 1% of the data has a positive outcome) which makes resampling methods necessary. randomForest has a very useful argument that is sampsi

[R] lmer (multinomial response variable ~ fixed + (1|random), family='"multinomial" ???)

2013-05-29 Thread Maggie Wisniewska
iable*? OConnell.glmm1<-lmer(DIST~AGE+LOC+MOT+(1|ID),data=OConnell,family=binomial(link = "logit") Thank you for reading. Maggie [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-h

[R] Linear Mixed Model set-up

2012-01-30 Thread Maggie Neff
Hello, I have some data covering contaminant concentrations in fish over a time period of ~35 years. Each year, multiple samples of fish were taken (with varying sample sizes each year). Ultimately, I want an estimation of the variance between years, and the variance within years + random effect

[R] Problem about plotting the correlation coefficients

2011-10-24 Thread Maggie Wong
efficients. What can I do? Thank you. Maggie [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html a

[R] Problem about step and stepAIC

2011-04-26 Thread Maggie Wong
Hello, I am now running a multiple linear regression program, but I do not know the difference between the command step and stepAIC. Thanks. Maggie [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Stretch the x-axis for better alignment comparison

2009-09-23 Thread Maggie
I have the following code that aligns the two graphs. Problem is that in .pdf it gives me it x-axis (0-100) is broken down into 0-20, 20-40..and so on. I wonder if there is for it to display the x-axis (and y-axis) in more detail than that. I'd appreciate your input -- pdf(file="VECTOR & ICA ALIGN

[R] Correlate two time series

2009-09-22 Thread Maggie
I was wondering how to correlate two time series in R? I have to plotted waver files I need to correlate to one another to see how well they align.. Any guidance would be very much appreciated! __ R-help@r-project.org mailing list https://stat.ethz.ch/m

[R] Superimposing (aligning) two graphs

2009-09-22 Thread Maggie
Hello, I need to superimpose two graphs (plotted representations of waver files) so I can see how much they align. Is there a quick and dirty way to do it in R? thanks so much for your help! __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] Extreme AIC in glm(), perfect separation, svm() tuning

2009-03-26 Thread Maggie Wang
sorry for such a long mail! And for my limited knowledge too! Would you please advise if there is any better way of tuning svm()? or what should i do to obtain a reasonable co-efficients for case (2)? Thank you so much!! Best Regards, Maggie --- Haitian Wang P

Re: [R] Extreme AIC or BIC values in glm(), logistic regression

2009-03-20 Thread Maggie Wang
7;ll check the model more and get back to you. Thanks a lot! Best Regards, Maggie -- Haitian Wang PhD Student in Statistics ISOM Department, HKUST, Hong Kong On Fri, Mar 20, 2009 at 4:44 PM, Gavin Simpson wrote: > On Fri, 2009-03-20 at 12:39 +1100, Gad

Re: [R] Extreme AIC or BIC values in glm(), logistic regression

2009-03-19 Thread Maggie Wang
ot;g3106","g4373","g4583") fo <- as.formula(g0 ~ g761 * g2809 * g3106 * g4373 * g4583) lr <- glm(fo, family=binomial(link=logit), data=matrix) if look into: summary(lr) you'll see my problem. Thanks a lot! Best Regards, Maggie On Wed, Mar 18, 2009 at 3:30 P

Re: [R] Extreme AIC or BIC values in glm(), logistic regression

2009-03-18 Thread Maggie Wang
Dear Thomas, Thank you very much for the answering! Yet why the situation happens only on some model, not all models? - that is, why for other model it can drop some variables but for this one it can't? Thanks!! Best regards, Maggie On Wed, Mar 18, 2009 at 3:38 PM, Thomas Lumley

[R] Extreme AIC or BIC values in glm(), logistic regression

2009-03-17 Thread Maggie Wang
1) Null deviance: 120.32 on 86 degrees of freedom Residual deviance: 1009.22 on 55 degrees of freedom AIC: 1073.2 Number of Fisher Scoring iterations: 25 Could anyone suggest what does this mean? How can I perform a reliable logistic regression? Thank you so much for the help! Bes

Re: [R] (package e1071) SVM tune for best parameters: why they are different everytime i run?

2007-12-27 Thread Maggie Wang
Thank you so much! I will have a try!! ~ maggie On Dec 27, 2007 6:43 PM, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > Maggie Wang wrote: > > Hi, Uwe, > > > > Thanks for the reply!! I have 87 observations in total. If this amount > > causes the different

Re: [R] (package e1071) SVM tune for best parameters: why they are different everytime i run?

2007-12-27 Thread Maggie Wang
Hi, Uwe, Thanks for the reply!! I have 87 observations in total. If this amount causes the different best.parameters, is there a better way than cross validation to tune them? Thank you so much for the help! Best Regards, Maggie On Dec 27, 2007 6:17 PM, Uwe Ligges <[EMAIL PROTECTED]>

[R] (package e1071) SVM tune for best parameters: why they are different everytime i run?

2007-12-27 Thread Maggie Wang
cost gamma 0.25 4.00 The result is so unstable, if it varies so much, why do we need to tune? Do you know if this behavior is normal? Can we trust the best.parameters for prediction? Thank you so much to help out!! Best Regards, Maggie [[alternative HTM