Search found 39 matches

by likestatistic
Tue Sep 16, 2014 5:27 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

I still have this message :oops:

e(sample) changed across estimation runs
r(498);

end of do-file

r(498);

and the programme didn't fit until 10% again
by likestatistic
Tue Sep 16, 2014 5:08 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Hi ChrisCharlton,

I have tried to correct the section step by step to see what happen. I still have an abortion of the system after 10%. :oops:
Maybe the new release include other corrections that work with this section of the macro.
by likestatistic
Tue Sep 16, 2014 4:35 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Should the section look like this after correction :?: if _caller() >= 11 { local 0 `.`o'.eq indepvars `e'' syntax varlist(fv) fvexpand `varlist' local fpname`e' `r(varlist)' fvrevar `r(varlist)' local fp`e' `r(varlist)' local newvars :list fp`e' - varlist if "`newvars'" ~= "" { ...
by likestatistic
Tue Sep 16, 2014 12:06 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Does the system abort because the option “fp <var>” allowing it to generate the different powers of var is not included on the runmlwin macro? :?

Thanks
by likestatistic
Tue Sep 16, 2014 9:03 am
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Hi!

Oh Thanks :D
It run without the nopause option but abort with the same message :(

e(sample) changed across estimation runs
r(498);

:?:
by likestatistic
Mon Sep 15, 2014 5:49 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Hi, When I apply it to the data I provided: fp <nmatpre>: noisily runmlwin normexam cons <nmatpre> level2(schoolid: cons) level1(childid: cons) nopause nogroup I get the following error: option level1() required fp: ran the command . noisily runmlwin normexam cons nmatpre level2(schoolid: cons) leve...
by likestatistic
Mon Sep 15, 2014 3:14 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Hi GeorgeLeckie Here an example: It is not a good example because the test scores have been normalised, but I could't find a stata example with multilevel data non-normalised. nmatpre had missing values, these values have been imputed on REALCOM and imported on stata giving the following file . insh...
by likestatistic
Mon Sep 15, 2014 8:53 am
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

Re: How to run a multilevel model using fractional polynomia

Hi,

I am not sure I could combine a fractional polynomial command (fp) with a runmlwin command.
Stata consider the "cmdok noisily: runmlwin" as a "fp" option and the program doesn't run.

Thanks for your help

Likestatistic
by likestatistic
Fri Sep 12, 2014 4:32 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 21838

How to run a multilevel model using fractional polynomial

Hi All, Need help to run a multilevel model using fractional polynomial and imputed data with runmlwin. :oops: I imputed missing data on Realcom and tried this (below), but it doesn’t work. fp <imputed var mean>, cmdok noisily: runmlwin outcome cons <imputed var mean> level2(area: cons) level1(indiv...