Hi George,
I just manage to get s.e. just by copying or replacing original vars with a set of vars_1 and vars_2 which the stata recognises. The commands are like these (response 0: reference; response 1: oc; response 2: ic):
predict ocxb, outcome(FP1) xb
predict ocse, outcome(FP1) stdp
predict ...
Search found 8 matches
- Thu Nov 29, 2018 3:02 pm
- Forum: runmlwin user forum
- Topic: predict probability and CI
- Replies: 3
- Views: 8114
- Thu Nov 29, 2018 12:44 pm
- Forum: runmlwin user forum
- Topic: predict probability and CI
- Replies: 3
- Views: 8114
Re: predict probability and CI
Hi George,
Thank you for your kind reply. I have calculated the probabilities for each response of the multinominal model by hand. But I need 95% CI of prediction, and hence have to calculate standard error of prediction by hand as well (I am not sure the stata command predict se, stdp can work in ...
Thank you for your kind reply. I have calculated the probabilities for each response of the multinominal model by hand. But I need 95% CI of prediction, and hence have to calculate standard error of prediction by hand as well (I am not sure the stata command predict se, stdp can work in ...
- Wed Nov 28, 2018 6:19 pm
- Forum: runmlwin user forum
- Topic: predict probability and CI
- Replies: 3
- Views: 8114
predict probability and CI
Hi,
I find runmlwin is not compatible with command "margins".
So, I fit a multinominal model and then calculate probabilities by hand using the expression like:
"Pr(y = 1) = " exp([FP1]cons_1)/ ///
(1 + exp([FP1]cons_1) + exp([FP2]cons_2) + exp([FP3]cons_3))"
But I am not sure the correct way to ...
I find runmlwin is not compatible with command "margins".
So, I fit a multinominal model and then calculate probabilities by hand using the expression like:
"Pr(y = 1) = " exp([FP1]cons_1)/ ///
(1 + exp([FP1]cons_1) + exp([FP2]cons_2) + exp([FP3]cons_3))"
But I am not sure the correct way to ...
- Thu Nov 22, 2018 1:19 pm
- Forum: runmlwin user forum
- Topic: p value in mcmc model
- Replies: 2
- Views: 7021
Re: p value in mcmc model
Thank you, George. Your reply is very helpful!
best wishes,
Rodrigo
best wishes,
Rodrigo
- Wed Nov 21, 2018 6:03 pm
- Forum: runmlwin user forum
- Topic: p value in mcmc model
- Replies: 2
- Views: 7021
p value in mcmc model
Hi,
I fit multilevel nominal models using mcmc by running runmlwin in Stata. In their results tables, I found a pattern that the p values of coefficients tend to be smaller than expected. For example, there is one coefficient like this:
Mean S.D. EES P 95% cred. Interval
-.2965969 .1812569 548 0 ...
I fit multilevel nominal models using mcmc by running runmlwin in Stata. In their results tables, I found a pattern that the p values of coefficients tend to be smaller than expected. For example, there is one coefficient like this:
Mean S.D. EES P 95% cred. Interval
-.2965969 .1812569 548 0 ...
- Thu Mar 23, 2017 6:36 pm
- Forum: runmlwin user forum
- Topic: stata imputed data in mlwin
- Replies: 4
- Views: 9067
Re: stata imputed data in mlwin
Dear George,
Thank you very much for your help. I will look through these iterations as you suggested.
Best wishes,
Rodrigo
Thank you very much for your help. I will look through these iterations as you suggested.
Best wishes,
Rodrigo
- Tue Mar 21, 2017 3:46 pm
- Forum: runmlwin user forum
- Topic: stata imputed data in mlwin
- Replies: 4
- Views: 9067
Re: stata imputed data in mlwin
Hi Chris,
Thank you very much for your reply.
I can confirm that there is no such problem if I use melogit command in Stata. The problem of Stata is the low-efficient maximum likelihood estimation, which can take dozens of days to estimate random slopes. MCMC in MLwin would be faster than ML. I ...
Thank you very much for your reply.
I can confirm that there is no such problem if I use melogit command in Stata. The problem of Stata is the low-efficient maximum likelihood estimation, which can take dozens of days to estimate random slopes. MCMC in MLwin would be faster than ML. I ...
- Wed Mar 15, 2017 5:13 pm
- Forum: runmlwin user forum
- Topic: stata imputed data in mlwin
- Replies: 4
- Views: 9067
stata imputed data in mlwin
Hi folks,
I met some problem when I used runmlwin with multiply imputed data (done by stata mi command).
My command is like this, a very simple one:
sort commid idind2 wave
mi est, cmdok noi sav(mlw, replace): runmlwin phi cons, level3(commid: cons) level2(idind2: cons) level1(wave) discrete ...
I met some problem when I used runmlwin with multiply imputed data (done by stata mi command).
My command is like this, a very simple one:
sort commid idind2 wave
mi est, cmdok noi sav(mlw, replace): runmlwin phi cons, level3(commid: cons) level2(idind2: cons) level1(wave) discrete ...