Example data "not available in teaching version"

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
melzhang
Posts: 2
Joined: Fri Jan 05, 2018 3:09 pm

Example data "not available in teaching version"

Post by melzhang »

Hi!

I installed MLwiN on my school device and run -runmlwin- command with the example data as a test. But an error box pop up saying the "data imported is not available in teaching version". The code went OK when I ran it on my laptop, and the install file is the same one. My Stata version is StataSE 15.0 with the license of my uni.

The Stata code I used is as below (after installation)

Code: Select all

* Set full path of MLwiN
global MLwiN_path "C:\Program Files\MLwiN teaching version\mlwin.exe" 		

* TEST using CMM default example
* Setup
use http://www.bristol.ac.uk/cmm/media/runmlwin/bang, clear
generate lc1 = (lc==1)
generate lc2 = (lc==2)
generate lc3plus = (lc>=3)

* 2-Lv RI (fitted using IGLS MQL1, RI:district)
 runmlwin use cons lc1 lc2 lc3plus age, ///
	level2(district: cons) ///
    level1(woman) ///
	discrete(distribution(binomial)	link(logit) denominator(cons)) nopause
* 2-Lv RS (IGLS PQl2, RI:district, RS:hindu)
 runmlwin use cons lc1 lc2 lc3plus age, ///
	level2(district: cons hindu) ///
    level1(woman) ///
	discrete(distribution(binomial) link(logit) denominator(cons) pql2) ///
	nopause

* Unordered MNL, 2-Lv RS (RI:district, RS:hindu)
 runmlwin use4 cons lc1 lc2 lc3plus, ///
	level2(district: cons hindu) ///
	level1(woman) ///
	discrete(distribution(multinomial) link(mlogit) denom(cons) basecategory(4)) 

Would appreciated if anyone can help with that!

KR

Melanie
Attachments
error.png
error.png (862.63 KiB) Viewed 4421 times
ChrisCharlton
Posts: 1354
Joined: Mon Oct 19, 2009 10:34 am

Re: Example data "not available in teaching version"

Post by ChrisCharlton »

The teaching version of MLwiN (available from http://www.bristol.ac.uk/cmm/software/mlwin/download/) is only able to load specially marked worksheets (such as those provided with the LEMMA course - https://www.cmm.bris.ac.uk/lemma/), which -runmlwin- is not able to produce. To be able to use this command you will either need to install the 30-day trial version (available from the same location) or use the full version of MLwiN. If you are a UK academic (with a .ac.uk email address) then you can request a free version by completing the form at https://www.cmm.bristol.ac.uk/clients/reqform/, otherwise you would need to order a copy via http://www.bristol.ac.uk/cmm/software/mlwin/ordering/.
melzhang
Posts: 2
Joined: Fri Jan 05, 2018 3:09 pm

Re: Example data "not available in teaching version"

Post by melzhang »

Hi Chris!

Thanks a lot for the explanation. I am a PhD student in University of Reading, so I guess I should be eligible for the free version?
When I previously requested the file and installed on my laptop, it shows as "normal version" and all the codes work. I used the same installation file for my school device (as my school device got StataSE) and set it up, it turns out to be a "teaching version". The only different I can think about is, I asked IT support to install it for me as I do not have the authority to install programme -- would MLwiN automatically change into teaching version under certain condition?
Anyway, if my setup file turn out to be the wrong one, can I request for a "correct" copy, either free or with payment?

KR

Melanie
ChrisCharlton
Posts: 1354
Joined: Mon Oct 19, 2009 10:34 am

Re: Example data "not available in teaching version"

Post by ChrisCharlton »

Yes, you should be eligible to apply for the free version. The full and teaching versions have different installation files so the software cannot change from one version to another, perhaps your IT support downloaded the teaching version as this is available without entering any user details? As long as you are previously registered you can request the full version by completing the form at https://www.cmm.bristol.ac.uk/clients/softwaredownload/.
Post Reply