Search found 4 matches

by autarkie
Thu Mar 20, 2014 9:31 am
Forum: R2MLwiN user forum
Topic: Possible bug in R2MLwiN
Replies: 2
Views: 3192

Possible bug in R2MLwiN

Comparing the output for my model in MLwiN and R, I have found serious discrepancies. In R, estimates were printed as belonging to different variables, even though the numbers themselves were identical. Here is a re-run of my model with `debugmode=TRUE`. The R version is as follows: -*-*-*-*-*-*-*-*...
by autarkie
Sat Jan 18, 2014 3:55 pm
Forum: R2MLwiN user forum
Topic: R2MLwiN: issues specifying formula for a categorical var
Replies: 4
Views: 4704

Re: R2MLwiN: issues specifying formula for a categorical var

Addendum: This is the MLwiN output related to the error: error while obeying batch file C:/Users/path/macrofile_2bf8134e3937.txt at line number 28: SETV 2 'categ' Undefined explanatory variable referenced When I try to do something with that variable (without changing anything else): ->AVERage 1 'ca...
by autarkie
Fri Jan 17, 2014 9:19 am
Forum: R2MLwiN user forum
Topic: R2MLwiN: issues specifying formula for a categorical var
Replies: 4
Views: 4704

R2MLwiN: issues specifying formula for a categorical var

Dear all, I am modeling a continuous dependent variable with a set of predictors, one of which is categorical. In R, that categorical predictor is a factor with two levels. My baseline model runs fine with the following formula: dependent ~ (0|cons + cont1 + cont2 + categ) + (1|cons) + (2|cons) Now,...