converting string into numeric in runmlwin
Posted: Thu Sep 11, 2014 7:25 am
Hello,
I am running two level model in runmlwin:
For quick scanning of data i have converted the two identifiers(jik &jik2) into numeric type using destring command
error is coming
"jik is held to more precision than MLwiN can handle, to reduce the precision use recast float jik, force"
after recasting jik (individual identifier), it is not uniquely identifying the observations
"variable jik does not uniquely identify the observations"
Any help regarding this will be helpful.Hoping for quick response.
I am running two level model in runmlwin:
Code: Select all
. runmlwin censor cons, ///
level2(jik2: cons) ///
level1(jik:) ///
discrete(distribution(binomial) link(logit)denominator(cons) pql2) ///
nogroup maxiterations(1000) mlwinsettings(optimat)
error is coming
"jik is held to more precision than MLwiN can handle, to reduce the precision use recast float jik, force"
after recasting jik (individual identifier), it is not uniquely identifying the observations
Code: Select all
. isid jik
Any help regarding this will be helpful.Hoping for quick response.