Is it appropriate? If I don’t expand the weights, my sample size remains 1000.ģ.) What is the correct method to determine p values of trends in the categorical variables in the survey sample (for example- % of males who were admitted with myocardial infarction in last 10 years) and continuous variables (length of stay over the years). The way I did it- expanded the sample using weights and then ran the command “sum variable, d” on 5000 patients. So what’s the alternative for measuring non-parametric continuous variables in such samples. They both make sense and I have tried using both but they have slightly different results in terms of p values.Ģ.) I can’t calculate “median(IQR)” using “svy” commands. Here the number of observations are 5000. If I do this, the number of observations remain 1000 and population is 5000.ī.) Expanding the dataset using “expand weight” command and then running “logit dep(var) indep(var), or” on the expanded sample. While performing a logistic regression analysis, I was told that I can do it 2 ways:Ī.) Using “svy: logit dep(var) indep(var), or” command. Recommendations are to use “svy” commands while working on survey data. My unweighted study sample is about 1000 and weighted is about 5000. I am doing an analysis using National Inpatient Sample which uses a complex survey design and provides weights to project national estimates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |