Dear Statalist:
I'm working on a national survey data. I could use mi command to impute the data, and use jackknife replicate to weight, separately. But I couldn't use the mi svyset command to combine the imputation and weighting together. Here's what I did:
The first try: I svyset the data; use mi svyset flong command to declare; then it prompts error "data not mi set".

The second try: I directly impute the data first; then I use "mi svyset [pw = person_finwt0], jkrw(person_finwt1-person_finwt50, multiplier(.98))" to do the survey set; then it prompts "options not allowed"; then, I delete the "mi" premix, and try "svyset [pw = person_finwt0], jkrw(person_finwt1-person_finwt50, multiplier(.98))", it prompts "no; data are mi set, ......"

Is it because of the Jackknife replication, or did I do something wrong in the above procedure? I'm so confused...
Thanks!!!
I'm working on a national survey data. I could use mi command to impute the data, and use jackknife replicate to weight, separately. But I couldn't use the mi svyset command to combine the imputation and weighting together. Here's what I did:
The first try: I svyset the data; use mi svyset flong command to declare; then it prompts error "data not mi set".
The second try: I directly impute the data first; then I use "mi svyset [pw = person_finwt0], jkrw(person_finwt1-person_finwt50, multiplier(.98))" to do the survey set; then it prompts "options not allowed"; then, I delete the "mi" premix, and try "svyset [pw = person_finwt0], jkrw(person_finwt1-person_finwt50, multiplier(.98))", it prompts "no; data are mi set, ......"
Is it because of the Jackknife replication, or did I do something wrong in the above procedure? I'm so confused...
Thanks!!!
Comment