Search found 63 matches

by adeldaoud
Tue Oct 18, 2016 12:20 pm
Forum: R2MLwiN user forum
Topic: Error: evaluation nested too deeply:
Replies: 0
Views: 4861

Error: evaluation nested too deeply:

Hi I am getting the following error wehn I try to print the following object result.l_imf.lpm (a list of R2mlwin objects). > result.l_imf.lpm [[1]] Error: evaluation nested too deeply: infinite recursion / options(expressions=)? Error during wrapup: evaluation nested too deeply: infinite recursion /...
by adeldaoud
Tue Oct 18, 2016 12:17 pm
Forum: R2MLwiN user forum
Topic: drop data that is stored in the r2mlwin object?
Replies: 5
Views: 6122

Re: drop data that is stored in the r2mlwin object?

Thanks, Chris, for the input. Your for-loop works fine. Just for the sake of details, how would you write a function that removes the data, chains, etc and only keeps the absolute minimum to show the results with the print function? Experimented a bit, but I am still left with a rather large object....
by adeldaoud
Fri Sep 30, 2016 8:58 am
Forum: R2MLwiN user forum
Topic: drop data that is stored in the r2mlwin object?
Replies: 5
Views: 6122

Re: drop data that is stored in the r2mlwin object?

Thanks, Chris. Two follow-up questions: 1) removing the data reduced the object size by ~15 %. Could you advice about what else I could remove to save space? Checked through the s4 object but it is difficult to know what one can through away if one only wants to keep the model output. 2) If I want t...
by adeldaoud
Thu Sep 29, 2016 4:05 pm
Forum: R2MLwiN user forum
Topic: looping through a list of independent variables
Replies: 2
Views: 5208

Re: looping through a list of independent variables

Sorry for the late reply. This works perfectly.

Thanks Chris
by adeldaoud
Thu Sep 29, 2016 3:38 pm
Forum: R2MLwiN user forum
Topic: drop data that is stored in the r2mlwin object?
Replies: 5
Views: 6122

drop data that is stored in the r2mlwin object?

Hi

I wonder if it is possible to drop the data that is stored in the r2mlwin object? As I am estimating many models, these objects get very large (~4gb each), and start eating my ram very quickly.

Thanks in advance
by adeldaoud
Mon Aug 29, 2016 12:09 pm
Forum: R2MLwiN user forum
Topic: looping through a list of independent variables
Replies: 2
Views: 5208

looping through a list of independent variables

Hi Has anyone figured out how to loop/iterate through a list of independent variables (and dependent variables)? Preferably with the doParrallel package, as Chris suggested here https://www.cmm.bristol.ac.uk/forum/viewtopic.php?f=7&t=1213&sid=303ac6cf55c2133ea2bcd243d352de0c Suppose I want t...
by adeldaoud
Thu Aug 25, 2016 2:18 pm
Forum: R2MLwiN user forum
Topic: model.matrix() and terms() for R2mlwin objects
Replies: 4
Views: 6588

Re: model.matrix() and terms() for R2mlwin objects

(A) Thanks, Chris. Good idea, re bypassing the VGAM package entirely. It does not seem that predict() is sensitive about having variables in the data passed to it, that are not used in the model. Right? (B) Another issue. I replicated the module in both lme4 and R2mlwin, but I am getting quite diffe...
by adeldaoud
Thu Aug 25, 2016 9:29 am
Forum: R2MLwiN user forum
Topic: model.matrix() and terms() for R2mlwin objects
Replies: 4
Views: 6588

Re: model.matrix() and terms() for R2mlwin objects

Chris, do you happen to have any input on this question?

Many thanks in advance
Adel
by adeldaoud
Wed Aug 24, 2016 3:00 pm
Forum: R2MLwiN user forum
Topic: Relative risk ratios in R2MLwiN
Replies: 5
Views: 7590

Re: Relative risk ratios in R2MLwiN

Thanks for the clarification, George.

Sounds that the language that STATA is using is a bit confusing/misleading compared to what the statistics community tend to use.

Nevertheless, is it possible to obtain relative risk from an ordinary logistic regression from Mlwin?

Best,
Adel
by adeldaoud
Tue Aug 23, 2016 5:17 pm
Forum: R2MLwiN user forum
Topic: Error in tutorial 09
Replies: 2
Views: 4277

Re: Error in tutorial 09

Thanks, Chris. I will have a look.