[R] Stepwise procedure with force.in command

2012-04-09 Thread Hien Nguyen
Dear R-helpers, I am trying to do a stepwise procedure in which I want to force some variables in the model. I have searched around and it seems that only leaps package allows to force the variable in the stepwise procedure. I use the leaps package and use the regsubsets(lm1, force.in = 1, dat

[R] Error when running coeftest in plm

2012-04-07 Thread Hien Nguyen
message. In one of the COEFTEST, the error message is: Error in solve.default(crossprod(demX)) : system is computationally singular: reciprocal condition number = 1.404e-017 What should I do to fix it and get the PCSEs? Thanks a lot, Hien Nguyen

Re: [R] Error when running Conditional Logit Model

2009-12-19 Thread Hien Nguyen
On 12/18/09 22:24, Charles C. Berry wrote: > On Fri, 18 Dec 2009, Hien Nguyen wrote: > >> Thanks a lot for answering my questions. >> >> I have tried to run the clogit for only 64 observations and 4 >> independent variables and the results are solved instantly. H

Re: [R] Error when running Conditional Logit Model

2009-12-18 Thread Hien Nguyen
f 1, 4000 values of 2 and so on). Does it sound right? Thanks a lot Hien tlum...@u.washington.edu wrote: On Fri, 18 Dec 2009, Hien Nguyen wrote: Dear Drs Winsemius and Berry, Thanks a lot for your comment and suggestions on running my model. I am not just new to R but new to CLM a

Re: [R] Error when running Conditional Logit Model

2009-12-18 Thread Hien Nguyen
9, at 5:49 PM, Hien Nguyen wrote: Dear Dr. Winsemius, Thank you very much for your reply. I have tried many possible combinations (even with the model of only 2 predictors) but it produces the same message. With more than 4000 observations, I think 14 predictors might not be too many. It is

Re: [R] Error when running Conditional Logit Model

2009-12-04 Thread Hien Nguyen
not discrete (it ranges from 0 to 1), I do not think it will create problems to the estimation but I'm not sure I have checked the collinearity among predictors and they are all < 0.5 (which I think is OK). Do you know what else could make this errors? Thanks a lot Hien Nguye

[R] Error when running Conditional Logit Model

2009-12-04 Thread Hien Nguyen
t it says and what should I do to solve it. Thanks a lot for your help Hien Nguyen __ 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 and prov

[R] Error when running Conditional Logit Model

2009-12-01 Thread Hien Nguyen
what it says and what should I do to solve it. Thanks a lot for your help Hien Nguyen __ 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 and prov