I'm having problems applying weights to my models, and it seems this has been caused by recent updates (old models, that used to run fine, produce errors with the latest version(s)). For example, the following model...

Code: Select all

```
runmlwin affect cons, ///
level3(country: cons) level2(wave: cons) level1(pid: , ) ///
discrete(distribution(binomial) link(logit) denominator(cons) pql2) ///
nopause
```

Code: Select all

```
runmlwin affect cons, ///
level3(country: cons) level2(wave: cons) level1(pid: , weightvar(weight)) ///
discrete(distribution(binomial) link(logit) denominator(cons) pql2) ///
nopause
```

r(198);

This is strange because I'm getting this error even when running old models/data (that ran perfectly several months ago).

- Is there something obvious I'm missing? (in the above syntax, for example?)
- Did anything change in recent versions of MLwiN/runmlwin with regard to how weights are handled?
- Any other ideas?

Ewan

--