Asalamualaykum warahmatulahi. jazakallah, I have a great idea. I have one question: I have tried to perform svy: melogit the following message appeared. ." svy:melogit Fertility_desire||v021: (running melogit on estimation sample) survey final weights not allowed with multilevel models; a final weight variable was svyset using the [pw=exp] syntax, but multilevel models require that each stage-level weight variable is svyset using the stage's corresponding weight() option an error occurred when svy executed melogit" What is the problem and how can solve this issue?
Hi, I really appreciate your effort and presentation. However, it would be great if you could explain a bit more about why we need to use a particular function/command, then jump into the demonstration. Thanks😊😊
Hello Mr. Ahshanul. I want to perform a multivariate regression to evaluate the associations for an outcome with some selected covariates. I did simple logistic regression for individual country, and then conduct a fixed/random effect meta analysis. Do I need to consider sampling weight for this analysis?
dear sir, could you please teach us how to run an example instrumental variable regression in stata and what is the logic behind the use of ivreg and the steps in conducting the 2SLS and OLS. thank you so much in advance
To determine weighting in the survey: 1. You have to know the types of sampling techniques of the data collection. Cluster, stratified.... 2. Know the population district size, total district, and average population in the districts... 3. Perfore, these: eg if it is a cluster A/ generate fpc I=selected district/total district B/ generate fpc II=total No. of sampled population within a district/average population size in the district C/ generate weight_cluster=( fpcI * fpcII)^-1 D/ Declar the data as a survey ..........................................Chirs!...................................
Asalamualaykum warahmatulahi. jazakallah, I have a great idea. I have one question: I have tried to perform svy: melogit the following message appeared. ." svy:melogit Fertility_desire||v021:
(running melogit on estimation sample)
survey final weights not allowed with multilevel models;
a final weight variable was svyset using the [pw=exp] syntax, but multilevel models require that each
stage-level weight variable is svyset using the stage's corresponding weight() option
an error occurred when svy executed melogit" What is the problem and how can solve this issue?
Hi, I really appreciate your effort and presentation. However, it would be great if you could explain a bit more about why we need to use a particular function/command, then jump into the demonstration. Thanks😊😊
assalamoalaikum it was v helpful, do you have videos on stata usage in english
Hello Mr. Ahshanul. I want to perform a multivariate regression to evaluate the associations for an outcome with some selected covariates. I did simple logistic regression for individual country, and then conduct a fixed/random effect meta analysis. Do I need to consider sampling weight for this analysis?
Thank you.
If it's a nationally representative database, we should adjust swt
dear sir, could you please teach us how to run an example instrumental variable regression in stata and what is the logic behind the use of ivreg and the steps in conducting the 2SLS and OLS. thank you so much in advance
How did you generate the sampling weights (v005) in the first place?
Thank you. In DHS database, sampling weight was created. Just we have to place the decimal point [gen swt=v005/1000000)
How can I perform weighting in survey data
To determine weighting in the survey:
1. You have to know the types of sampling techniques of the data collection. Cluster, stratified....
2. Know the population district size, total district, and average population in the districts...
3. Perfore, these: eg if it is a cluster
A/ generate fpc I=selected district/total district
B/ generate fpc II=total No. of sampled population within a district/average population size in the district
C/ generate weight_cluster=( fpcI * fpcII)^-1
D/ Declar the data as a survey
..........................................Chirs!...................................
Why you divided by 100000? plz explain in details.
Thank you. Please see the variable label.
It will be 6 decimal place