Search found 1366 matches

by ChrisCharlton
Thu Jun 20, 2013 6:36 pm
Forum: runmlwin user forum
Topic: Three-level growth using Instrumental Variable
Replies: 14
Views: 30996

Re: Three-level growth using Instrumental Variable

The variables after the iv are either the original predictors, or the corresponding instrument (and correspond to the IVSET column that you used in the MLwiN macro), so for you example you would want something like:

iv cons diffdist: runmlwin resp cons diffsch, level1(l1id: cons) ...
If you run ...
by ChrisCharlton
Thu Jun 20, 2013 9:28 am
Forum: MLwiN user forum
Topic: Can I toggle the error term in a lower level equation?
Replies: 3
Views: 9409

Re: Can I toggle the error term in a lower level equation?

These shouldn't have a u error term unless you have added it by clicking on the variable and ticking the box for the second level, so to remove it you need to click on the again and remove the tick.
by ChrisCharlton
Thu Jun 20, 2013 9:22 am
Forum: MLwiN user forum
Topic: Interaction with Instrumented Variable
Replies: 1
Views: 7422

Re: Interaction with Instrumented Variable

MLwiN does not have any special knowledge about what these macros are doing, so it won't do anything extra automatically for you.
by ChrisCharlton
Wed Jun 19, 2013 9:45 pm
Forum: MLwiN user forum
Topic: fixed regressor and instrument sets different sizes
Replies: 6
Views: 14910

Re: fixed regressor and instrument sets different sizes

FIXVARS and IVSET are new columns added to your data by the macros. The number in each row in FIXVARS corresponds to the column number of the corresponding variable in your model (for column numbers see the Data Manipulation->Names window). Initially the IVSET column is set to be the same as the ...
by ChrisCharlton
Wed Jun 19, 2013 8:04 pm
Forum: MLwiN user forum
Topic: fixed regressor and instrument sets different sizes
Replies: 6
Views: 14910

Re: fixed regressor and instrument sets different sizes

When you use the command PRINT 'FIXVARS' 'IVSET' it should just write the contents of these columns to the output window. To edit these you will instead have to do the following:

Data Manipulation->View or edit data
Click the "view" button
From the dropdown highlight FIXVARS and IVSET.
Click the ...
by ChrisCharlton
Wed Jun 19, 2013 6:37 pm
Forum: MLwiN user forum
Topic: Take advantage of ivmlwin macro using runmlwin in Stata
Replies: 1
Views: 8193

Re: Take advantage of ivmlwin macro using runmlwin in Stata

There is currently no way to specify alternative PRE and POST files when using runmlwin, so you won't be able to use these macros directly. I have however written a Stata wrapper that should do the equivalent of these particular macros (see http://www.cmm.bristol.ac.uk/forum/viewtopic.php?f=3&t=752 ...
by ChrisCharlton
Wed Jun 19, 2013 6:35 pm
Forum: MLwiN user forum
Topic: fixed regressor and instrument sets different sizes
Replies: 6
Views: 14910

Re: fixed regressor and instrument sets different sizes

If I understand the macro correctly the IVSET column that it creates has to have the same number of rows as there are fixed part parameters in the model. This message is telling you that this isn't the case for your model. When this happens the macro replaces the contents of IVSET with a row for ...
by ChrisCharlton
Wed Jun 19, 2013 5:54 pm
Forum: MLwiN user forum
Topic: ivmlwin macro problem with "obey vmake.iv"
Replies: 4
Views: 11296

Re: ivmlwin macro problem with "obey vmake.iv"

This column overwriting is the result of the bug in MLwiN v2.27 that I referenced here: http://www.cmm.bristol.ac.uk/forum/view ... =752#p1726. To use these macros you will either have to use a previous version (e.g. v2.26) or wait for the next update.
by ChrisCharlton
Wed Jun 19, 2013 12:08 pm
Forum: MLwiN user forum
Topic: Can I toggle the error term in a lower level equation?
Replies: 3
Views: 9409

Re: Can I toggle the error term in a lower level equation?

Would it be possible to provide a screenshot showing the issue, as I don't really understand the question?
by ChrisCharlton
Wed Jun 19, 2013 8:57 am
Forum: MLwiN user forum
Topic: Multiple membership in a 3-level repeated measures setup
Replies: 2
Views: 8079

Re: Multiple membership in a 3-level repeated measures setup

Looking at chapter 19 it looks like the data does need to be in wide format, however it appears that multiple membership in IGLS also involves setting constraints. These would interfere with the constraints set by the ivmlwin macro, so unfortunately I don't think that you can use both of these at ...