I've got a couple more updates.
- I transited to a simpler template, "2LevelImpute" and realized that all categorical variables (ordered/unordered) should be coded from "0". Some of my variables were coded from "1". This was indicated when using "2LevelImpute" but not in "NLevelImpute."
- Then ...
Search found 43 matches
- Thu Aug 17, 2017 3:11 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
- Thu Aug 17, 2017 2:22 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
After completing the second point in the Step 3 (http://www.bristol.ac.uk/cmm/software/statjr/order-statjr/),
I did the same procedure in Stat-JR as follows:
1. Template => "NLevelImpute"
2. Number of higher level classifications => 3
Higher level classification A: region (highest)
Higher level ...
I did the same procedure in Stat-JR as follows:
1. Template => "NLevelImpute"
2. Number of higher level classifications => 3
Higher level classification A: region (highest)
Higher level ...
- Thu Aug 17, 2017 2:16 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Hi Chris,
Re your advice on MinGW, I've done the second point of the Step 3 (http://www.bristol.ac.uk/cmm/software/s ... er-statjr/).
Just in case, the first point didn't work (maybe my MinGW is already up-do-dated?) I am attaching the related command output just in case!
Best,
Yongjoo
Re your advice on MinGW, I've done the second point of the Step 3 (http://www.bristol.ac.uk/cmm/software/s ... er-statjr/).
Just in case, the first point didn't work (maybe my MinGW is already up-do-dated?) I am attaching the related command output just in case!
Best,
Yongjoo
- Thu Aug 17, 2017 1:20 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Got it! Will do that and get it back to you, Chris! Thank you again!
Best,
Yongjoo
Best,
Yongjoo
- Wed Aug 16, 2017 6:07 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Instead of "2LevelImpute" template (which I encountered issues posted above), I've tried to use NLevelImpute with following options:
1. Number of higher level classifications => 3
Higher level classification A: region (highest)
Higher level classification B: psun (second highest)
Higher level ...
1. Number of higher level classifications => 3
Higher level classification A: region (highest)
Higher level classification B: psun (second highest)
Higher level ...
- Wed Aug 16, 2017 4:32 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Re my issue posted just now, I tried to re-specify imputation models with "age" as the only explanatory variable for all imputation model responses.
However, still, I've encountered the same issue "KeyError: model" with the "ready" sign turned "idle."
Would appreciate your help!
Best,
Yongjoo
However, still, I've encountered the same issue "KeyError: model" with the "ready" sign turned "idle."
Would appreciate your help!
Best,
Yongjoo
- Wed Aug 16, 2017 4:24 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Hi again!
Today, I've tried it again based on your advice yesterday as follows:
1) recoded all variables without "_" (i.e., smk3cat, drnkhigh, edu3cat)
2) chose simpler template (i.e., 2LevelImpute)
3) specified both MOI and imputation models. For imputation models, I've included explanatory ...
Today, I've tried it again based on your advice yesterday as follows:
1) recoded all variables without "_" (i.e., smk3cat, drnkhigh, edu3cat)
2) chose simpler template (i.e., 2LevelImpute)
3) specified both MOI and imputation models. For imputation models, I've included explanatory ...
- Tue Aug 15, 2017 11:43 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Oh I think you got the point! Actually I often create categorical variables with "_cat" (i.e., smk_3cat, drnk_high, edu_3cat, marri_3cat...), which are included as the response variables for imputation models. Also, some variables (i.e., hlth_5cat) are also included as explanatory variables for ...
- Tue Aug 15, 2017 8:33 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
This is really helpful and thank you very much! It is clear that it did not work well as it stopped running only after a few seconds with the attached command produced. By the way, as you suggested, I would try to run it by using a simpler template (i.e., 2LevelImpute.py) and get it back to you ...
- Tue Aug 15, 2017 8:09 pm
- Forum: Stat-JR user forum
- Topic: imputation model specification
- Replies: 23
- Views: 441884
Re: imputation model specification
Thank you for letting me know about them all! Based on your guideline, I copied and pasted the sub-templates to the Stat-JR template folder in my window system. Now the status is as follows:
1. template: NLevelImpute.py
2. classifications: 3
3. MOI: specified
4. imputation models: specified for ...
1. template: NLevelImpute.py
2. classifications: 3
3. MOI: specified
4. imputation models: specified for ...