i am doing bootstrapping for SE in indirect effect, but It gets stuck at some point (don't move), how can i make it fast
here is the code
program med1, rclass
gsem (Attitude -> A622A, family(ordinal) link(logit)) (Attitude -> A622B, family(ordinal) link(logit)) (Attitude -> A622C, family(ordinal) link(logit)) (Attitude -> A622D, family(ordinal) link(logit)) (Attitude -> A622E, family(ordinal) link(logit)) (Attitude -> A623, family(ordinal) link(logit)) (Attitude -> A625_CAT3,family(bernoulli) link(logit)) (M1[AGOVERN] -> A622A, family(ordinal) link(logit)) (M1[AGOVERN] -> A622B, family(ordinal) link(logit)) (M1[AGOVERN] -> A622C, family(ordinal) link(logit)) (M1[AGOVERN] -> A622D, family(ordinal) link(logit)) (M1[AGOVERN] -> A622E, family(ordinal) link(logit)) (M1[AGOVERN] -> A623, family(ordinal) link(logit)) (0.V149_c -> Attitude, ) (0.V149_c -> A625_CAT3, family(bernoulli) link(logit)) (1.V149_c -> Attitude, ) (1.V149_c -> A625_CAT3, family(bernoulli) link(logit)) (2.V149_c -> Attitude, ) (2.V149_c -> A625_CAT3, family(bernoulli) link(logit)) (3b.V149_c -> Attitude, ) (3b.V149_c -> A625_CAT3, family(bernoulli) link(logit)) (M2[AGOVERN] -> A625_CAT3, family(bernoulli) link(logit)), covstruct(_lexogenous, diagonal) latent(Attitude M1 M2 ) nocapslatent
return scalar ME1= _b[A625_CAT3:Attitude]*_b[Attitude :0.V149_c]
return scalar ME2= _b[A625_CAT3:Attitude]*_b[Attitude :1.V149_c]
return scalar ME3= _b[A625_CAT3:Attitude]*_b[Attitude :2.V149_c]
end
bootstrap r(ME1) r(ME2) r(ME3), reps(25) cluster(AGOVERN) : med1
Related Posts with how can i make the bootstrapping fast?
when I used the command copy ,I encounted "Java installation not found".I am currently intereted in using stata to do webcrawler.When I want to copy the content in https://…
Factor Analysis for Customer SegmentationI have done FA and identified the number of segments. However, I am unable to assign each respondent…
Importing SPSS data file into STATA by usespss command, but the date variable did not as expected.Dear statalists, I imported the SPSS data file into STATA by using "usespss" command. But the date …
haw to make tp fp fn tn on left of accuracy forest plot ?hello , I am a new one for stata ,and i was doing a accuracy analysis ,after my code running ,I got …
Matching 2 datasets based on multiple criteriaDear all, I am using Stata 13.1 and trying to match two datasets in the following logic: The first…
Subscribe to:
Post Comments (Atom)
0 Response to how can i make the bootstrapping fast?
Post a Comment