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 ...
Search found 4 matches
- Thu Mar 20, 2014 9:31 am
- Forum: R2MLwiN user forum
- Topic: Possible bug in R2MLwiN
- Replies: 2
- Views: 7162
- Wed Jan 29, 2014 1:54 pm
- Forum: R2MLwiN user forum
- Topic: R2MLwiN: issues specifying formula for a categorical var
- Replies: 4
- Views: 10439
Re: R2MLwiN: issues specifying formula for a categorical var
I believe it does, thank you.
- Sat Jan 18, 2014 3:55 pm
- Forum: R2MLwiN user forum
- Topic: R2MLwiN: issues specifying formula for a categorical var
- Replies: 4
- Views: 10439
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 ...
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 ...
- Fri Jan 17, 2014 9:19 am
- Forum: R2MLwiN user forum
- Topic: R2MLwiN: issues specifying formula for a categorical var
- Replies: 4
- Views: 10439
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 ...
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 ...