Re: [R] Simulations study not working entirely...

2019-10-22 Thread varin sacha via R-help
Dear David, Dear Jiefei, Many thanks for your comments. I got it now. It works. Best, Sacha Le lundi 21 octobre 2019 à 22:00:39 UTC+2, David Winsemius a écrit : On 10/21/19 9:40 AM, varin sacha via R-help wrote: > Dear R-Experts, > > Here below my reproducible example working but no

Re: [R] Simulations study not working entirely...

2019-10-21 Thread David Winsemius
On 10/21/19 9:40 AM, varin sacha via R-help wrote: Dear R-Experts, Here below my reproducible example working but not entirely (working). What I understand is that there is a problem of libraries library(hbrfit) and ... ? How can I make it work entirely, many thanks for your precious help.

Re: [R] Simulations study not working entirely...

2019-10-21 Thread Wang Jiefei
What problem you have encountered? I still do not know your question. Please elaborate on your question and post the error message or something else that prevents you from running the code. Thanks, Jiefei On Mon, Oct 21, 2019 at 3:13 PM varin sacha wrote: > Dear Wang, > > Really appreciated bu

Re: [R] Simulations study not working entirely...

2019-10-21 Thread varin sacha via R-help
Dear Wang, Really appreciated but I have tried dependencies=TRUE and it still does not work. Is it because my R version is 3.6.1 ? sessionInfo() at the end of the message install.packages( "robustbase",dependencies=TRUE ) install.packages( "MASS" ,dependencies=TRUE ) install.packages( "quantr

Re: [R] Simulations study not working entirely...

2019-10-21 Thread Wang Jiefei
Hi, After I install all dependencies your example seems fine ``` > MSE_fastMM [1] 2.629064e-05 > > MSE_Huber [1] 1.826184e-05 > > MSE_Tukey [1] 2.622499e-05 > > MSE_L1 [1] 1.044155e-05 > > MSE_fastTau [1] NaN > > MSE_HBR [1] 1.60821e-05 > > MSE_DCML [1] 9.519007e-06 > > sessionInfo() R version 3.

Re: [R] Simulations study not working entirely...

2019-10-21 Thread Wang Jiefei
Hi Varin, I did not look inside your code yet but I have a few suggestions. First I think your problem should be described in more detail, just saying you have a problem is not enough for us to diagnose. Second Your example depends on too many other packages and I'm not sure if you need all of the

[R] Simulations study not working entirely...

2019-10-21 Thread varin sacha via R-help
Dear R-Experts, Here below my reproducible example working but not entirely (working). What I understand is that there is a problem of libraries library(hbrfit) and ... ? How can I make it work entirely, many thanks for your precious help. SIMULATION STUDY 3 variables with 10% outliers