## Search found 39 matches

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

### Re: How to run a multilevel model using fractional polynomia

I still have this message

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

end of do-file

r(498);

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

### 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%.
Maybe the new release include other corrections that work with this section of the macro.
Tue Sep 16, 2014 4:35 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 22015

### 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'" ~= "" { ...
Tue Sep 16, 2014 12:06 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 22015

### 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
Tue Sep 16, 2014 9:03 am
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 22015

### Re: How to run a multilevel model using fractional polynomia

Hi!

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

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

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

### 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...
Mon Sep 15, 2014 3:14 pm
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 22015

### 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...
Mon Sep 15, 2014 8:53 am
Forum: runmlwin user forum
Topic: How to run a multilevel model using fractional polynomial
Replies: 25
Views: 22015

### 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.