Search found 7 matches
- Tue Apr 08, 2025 7:58 pm
- Forum: runmlwin user forum
- Topic: Error while running multinomial multilevel regression
- Replies: 4
- Views: 5479
- Tue Apr 08, 2025 3:59 am
- Forum: runmlwin user forum
- Topic: Error while running multinomial multilevel regression
- Replies: 4
- Views: 5479
Re: Error while running multinomial multilevel regression
This is an example data. Please confirm if this is right. If this is my data structure and I want to run 3-level classification, I had to adjust my data.
ID fac time
A 1 2020
B 3 2020
C 5 2020
A 1 2021
B 3 2021
C 5 2021
A 2 2020
B 4 2020
C 6 2020
A 2 2021
B 4 2021
C 6 2021
This is how I adjusted ...
ID fac time
A 1 2020
B 3 2020
C 5 2020
A 1 2021
B 3 2021
C 5 2021
A 2 2020
B 4 2020
C 6 2020
A 2 2021
B 4 2021
C 6 2021
This is how I adjusted ...
- Mon Apr 07, 2025 3:52 pm
- Forum: runmlwin user forum
- Topic: Categorical variable as a predictor
- Replies: 4
- Views: 4458
Re: Categorical variable as a predictor
Thanks for the response. I am aware lc1, lc2....are dummy variables. Industry can be coded as dummy variables since it is a categorial data. My question is: if I have a categorical data such as the industry example, do I have to generate a dummy variable like the one in this code example?
Is this ...
Is this ...
- Mon Apr 07, 2025 3:44 pm
- Forum: runmlwin user forum
- Topic: Time as a predictor
- Replies: 4
- Views: 4266
Re: Time as a predictor
The best way to put this is that my data is a longitudinal data. So I am dealing with firms. Therefore, I am looking at the firms operating in 2015, 2016, 2017, 2018, 2019, 2020..... I have 10 time periods. I am controlling for the time. In stata's gsem, I realised that whether I contorlloed for the ...
- Sun Apr 06, 2025 8:07 pm
- Forum: runmlwin user forum
- Topic: Categorical variable as a predictor
- Replies: 4
- Views: 4458
Categorical variable as a predictor
Please take the table below as an example: industry is a predictor variable that the firm belongs to. In looking at the example codes the mlwin manual provides, it looks likes predictor variables entered differently. e.g. runmlwin use4 cons (age lc1 lc2 lc3plus urban, contrast(1/3)), ///
> level2 ...
> level2 ...
- Sun Apr 06, 2025 7:39 pm
- Forum: runmlwin user forum
- Topic: Time as a predictor
- Replies: 4
- Views: 4266
Time as a predictor
Hello,
In all my stata analyses, time serves as a control variable. Now that I am using runmlwin, and after going through the courses in LEMMA I am confused whether to use time as a level 2 classification. Thus, my level 1 is facility, level 2 time, level 3 ParentFirm.
or should I add time as a ...
In all my stata analyses, time serves as a control variable. Now that I am using runmlwin, and after going through the courses in LEMMA I am confused whether to use time as a level 2 classification. Thus, my level 1 is facility, level 2 time, level 3 ParentFirm.
or should I add time as a ...
- Sun Apr 06, 2025 7:24 pm
- Forum: runmlwin user forum
- Topic: Error while running multinomial multilevel regression
- Replies: 4
- Views: 5479
Error while running multinomial multilevel regression
Hello,
This is my first time using runmlwin. I am facing so much errors. Below are the various errors I am encountering. Is there any explanation for this?
runmlwin greenwash cons breadth , level2(gvkey: cons) level1(obsid) discrete(distribution(multinomial) link(mlogit) denom(cons) basecategory(0 ...
This is my first time using runmlwin. I am facing so much errors. Below are the various errors I am encountering. Is there any explanation for this?
runmlwin greenwash cons breadth , level2(gvkey: cons) level1(obsid) discrete(distribution(multinomial) link(mlogit) denom(cons) basecategory(0 ...