Re: [R] Help with using the huxreg() function

2022-03-22 Thread Bert Gunter
" I don't know if this is the right way to ask for help, but at least I thought I could give it a try." It isn't. Read the posting guide linked below to learn what is expected here. In particular, please note that it explicitly says: "Basic statistics and classroom homework: R-help is not intended

[R] Help with using the huxreg() function

2022-03-22 Thread Linda Stefansson
Hello, I am currently studying Econometrics at my university in Sweden, and we use RStudio. We are now doing our last assignment and I need a little bit of help with it. I have made a regression table using the huxreg() function for 4 different models. The task is to make the table only display t

Re: [R] How important is set.seed

2022-03-22 Thread Ebert,Timothy Aaron
I would also disagree with your rephrasing. What is the point in characterizing if there is no understanding? What one wants is to understand the variability in outcome caused by including a random element in the model if the focus is on the random numbers. It may also be that one wants to under

Re: [R] How important is set.seed

2022-03-22 Thread Ebert,Timothy Aaron
Not wrong, just mostly different words. 1) I think of reproducible code as something for teaching or sharing. It can be useful in debugging if I want help (one reason for sharing). In solo debugging my code, I have not used set.seed() -- at least not yet. However, my programs are all small, most

Re: [R] How important is set.seed

2022-03-22 Thread Ebert,Timothy Aaron
That approach would start the trainControl method at set.seed(123) and it would start ran_search at set.seed(123). I am not sure it would be good or not – especially in this context. I am not clear on how the results are being compared, but I could get some differences if one method had a few ex

Re: [R] How important is set.seed

2022-03-22 Thread Jorgen Harmse via R-help
Jeff Newmiller makes an interesting point about distributed processing, but I don�t know how to use the usual pseudo-random processes to obtain deterministic results when I don�t know how the data will be sharded. You might have to replace pseudo-random sampling with deterministic sampling using

Re: [R] How important is set.seed

2022-03-22 Thread Neha gupta
Thank you all. Actually I need set.seed because I have to evaluate the consistency of features selection generated by different models, so I think for this, it's recommended to use the seed. Warm regards On Tuesday, March 22, 2022, Ebert,Timothy Aaron wrote: > If you are using the program for