Search found 6 matches

by IgnacioA
Tue Sep 13, 2016 9:44 am
Forum: runmlwin user forum
Topic: Multilevel piecewise logistic regression
Replies: 3
Views: 5496

Re: Multilevel piecewise logistic regression

I would like to do something like this:

runmlwin noini_1 week1 week2 week3 cons1 cons2 cons3, ///
level3(idc: ?) ///
level2(idm: ?) ///
level1(idpr:) ///
discrete(distribution(binomial) link(logit) denom(cons) pql2) ///
mlwinsettings(optimat) ///
nopause

In this model, when week1 is ...
by IgnacioA
Tue Sep 13, 2016 9:00 am
Forum: runmlwin user forum
Topic: Multilevel piecewise logistic regression
Replies: 3
Views: 5496

Multilevel piecewise logistic regression

Hi,

I am trying to perform a multilevel piecewise logistic regression. In this analysis I must specify the constant term in each time period, however the commmand runmlwing asks to create a constant term for all the model which is not what I would like to do.
Is there any way to suppress this term ...
by IgnacioA
Thu Jun 16, 2016 1:41 pm
Forum: runmlwin user forum
Topic: ==: operator invalid
Replies: 6
Views: 9076

Re: ==: operator invalid

Thanks a lot! It works perfectly
by IgnacioA
Thu Jun 16, 2016 12:35 pm
Forum: runmlwin user forum
Topic: ==: operator invalid
Replies: 6
Views: 9076

Re: ==: operator invalid

Please, find below the command and the output generated before executing it:

runmlwin costetotal_p cons noini_1 costetotal_ajt, ///
> level3 (idc: cons) ///
> level2 (idm: cons) ///
> level1 (id:) ///
> discrete(distribution(normal) link(id) pql2) ///
> mlwinsettings(optimat) ///
> nopause ...
by IgnacioA
Thu Jun 16, 2016 11:17 am
Forum: runmlwin user forum
Topic: ==: operator invalid
Replies: 6
Views: 9076

Re: ==: operator invalid

Thank you Chirs,

I have ran the commands you advice me and the results are the following:

. ereturn list

scalars:
e(numlevels) = 3
e(k_f) = 3
e(k_r) = 2
e(k) = 5
e(size) = 203827
e(maxlevels) = 4
e(columns) = 1500
e(variables) = 4
e(tempmat) = 0
e(extrabinomial) = 0
e(iterations) = 5 ...
by IgnacioA
Wed Jun 15, 2016 3:43 pm
Forum: runmlwin user forum
Topic: ==: operator invalid
Replies: 6
Views: 9076

==: operator invalid

Hi there!

I'm trying to run the following model:

runmlwin costetotal_p cons noini_1 costetotal_ajt, ///
level3 (idc: cons) ///
level2 (idm: cons) ///
level1 (idpr:) ///
discrete(distribution(normal) link(id) pql2) ///
mlwinsettings(optimat) ///
nopause

After 20 minutes STATA gives me the ...