Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: Stata 12 and HLM Software
From
Richard Williams <[email protected]>
To
[email protected], "[email protected]" <[email protected]>
Subject
RE: st: Stata 12 and HLM Software
Date
Mon, 09 Apr 2012 18:08:42 -0500
At 04:16 PM 4/9/2012, James Stark wrote:
Sure.
I run these commands:
sort zip
hlm mkmdm using J:\Data\Test, id2(zip) l1(cid female age25_44
age45_64 age_65) l2(zippoverty ziphispanic) replace
Running these commands results in these Stata statements:
file J:\Data \Test.dta saved
file HLM2MDM.STS not found
and HLM momentarily opens to say it does not recognize this version of Stata.
Note, the associated .mdmt file (created by HLM during this process)
is created in my directory.
I know HLM works with Stata because I can run HLM using Stata 12
provided the MDM file and STS file have already been created.
As for my older version of Stata 11, that has been uninstalled.
I tried saving the Stata file using saveold but it doesn't seem to
make a difference. I have to open that file in Stata 12 in order to
sort the data so maybe saving as an older version doesn't matter?
Thanks
The FAQ for hlm 6 says "Will now read files from SPSS and Stata, up
to SPSS version 16 and Stata version 10." I'm not sure why you didn't
have problems with Stata 11 though.
I notice that some of the programs that come with hlm.ado, e.g.
hlmmkmdm2.ado, include -save- commands. Maybe changing them to
-saveold- would do the trick. -set trace on- might help you to
pinpoint exactly where the problem is occurring.
This is apparently another example of where version control doesn't
save you, because Stata still saves in the most current file format.
Never uninstall an old version of Stata if you don't have to -- it
may come in handy some day.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/