Search found 1279 matches

by ChrisCharlton
Fri May 21, 2010 1:08 pm
Forum: MLwiN user forum
Topic: CPU Time
Replies: 2
Views: 4425

Re: CPU Time

If you are running from macros you can also use the TIME command.

To start the timer use the command:
TIME 1

To report the elapsed time use:
TIME 0

or

TIME 0 <b>

if you want to store the time into a box.

An advantage of this command is that it does provide fractions of seconds.
by ChrisCharlton
Wed May 05, 2010 2:44 pm
Forum: MLwiN user forum
Topic: Opening STATA .dta as worksheet MLwiN 2.18
Replies: 2
Views: 4651

Re: Opening STATA .dta as worksheet MLwiN 2.18

There is unfortunately a bug in version 2.18 which means that it does not correctly import columns defined as text (this affects Stata, SPSS and pasted ASCII text). This will be fixed in the next release. Possible workarounds are to convert the column into numbers with labels before importing, to us...
by ChrisCharlton
Fri Feb 19, 2010 11:17 am
Forum: MLwiN user forum
Topic: MLwiN download not working
Replies: 4
Views: 6802

Re: MLwiN download not working

Could you please provide some addition information, for example: Did you install MLwiN before or after upgrading to Windows 7? If before then does uninstalling and reinstalling MLwiN work any better? Did you install MLwiN with administrative privileges? Could you give some information about what hap...
by ChrisCharlton
Fri Jan 29, 2010 2:35 pm
Forum: MLwiN user forum
Topic: negative binomial error message
Replies: 2
Views: 5580

Re: negative binomial error message

Could you please try the following?: Open the file C:\Program Files\MLwiN\v2.16\discrete\bvar in a text editor change the line: case 2 : negative binomial - constrain first var in group to case 2 : note negative binomial - constrain first var in group save the file and see if your model now gets any...
by ChrisCharlton
Thu Dec 10, 2009 1:54 pm
Forum: MLwiN user forum
Topic: Adding a new variable in an existing dataset of MLwin
Replies: 5
Views: 11952

Re: Adding a new variable in an existing dataset of MLwin

The command being generated by the "sort" window is being more verbose than is necessary in your case as it is writing out each column name involved in the sort separately. Because you are sorting most of your data you can specify a range of columns instead, preventing you from exceeding t...
by ChrisCharlton
Wed Dec 09, 2009 11:33 am
Forum: MLwiN user forum
Topic: Adding a new variable in an existing dataset of MLwin
Replies: 5
Views: 11952

Re: Adding a new variable in an existing dataset of MLwin

I think that you should be able to use MLwiN sort functionality (Data Manipulation->Sort, or the SORT command) to reorder your data so it is ordered by identification number. Once you have both sets of data in the same order then you should be able to copy variables from one to another. Of course yo...
by ChrisCharlton
Tue Dec 08, 2009 3:50 pm
Forum: MLwiN user forum
Topic: Adding a new variable in an existing dataset of MLwin
Replies: 5
Views: 11952

Re: Adding a new variable in an existing dataset of MLwin

If you have the data in a text file then you can use the ASCII text input commands to add these variables to an existing worksheet. The easiest way of doing this is via the File->ASCII text file input menu. Alternatively you can use the "paste" button in the "names" window add va...
by ChrisCharlton
Thu Nov 12, 2009 10:26 am
Forum: MLwiN user forum
Topic: Model output
Replies: 3
Views: 6610

Re: Model output

There is currently no way to change the number display format via a command. This option will exist in the next release (2.16).
by ChrisCharlton
Thu Nov 05, 2009 11:32 am
Forum: MLwiN user forum
Topic: Model output
Replies: 3
Views: 6610

Re: Model output

There is currently no way to change the formatting of numbers output by these commands. You might want to try using the new model saving/comparison functionality as this displays numbers based on your current MLwiN settings (Options->Numbers). For more information on using this see the MLwiN manual ...