Array Array Hello all, I am currently carrying out an analysis on repeated cross sectional data. I combined 10 waves of data (with 10 different time points) into one large datafile and made the dummy variable "wave" to take into account time.
When I run a logistic regression (dependent variable= anxiety) without inputing the "svy" command I am able to see all 10 waves in the output (see figure "log reg normal"), but when I add "svy", it only shows one line and the _cons (see figure "logistic reg survey"). I'd like to compare wave 2-10 with baseline wave 1 but using the svy command- please help!
I'm probably doing something silly - so apologies if this is a simple question, just a bit stuck!
Thanks for your help!
Kind regards,
MarsDown
Related Posts with Survey Data - Logistic regression with numerical variable
Problem with predicting survival probabilities from stpm2 model with TVC in external dataI have built a prognostic model using stpm2 which includes a tvc (all covariates in model are center…
Calculation of frequency and ratiosHi Everyone, Bellow in the -dataex- example, I have a zipcode, date (month_year) and name of an ins…
Using r() with recodeI am trying to recode a variable using the values from the return list but from the error message I …
Obtaining relative excess risk due to interaction (RERI) with weighted dataHi all, I am familiar with using the ic command in STATA to obtain RERI. However, I need to obtain …
Creating variable out of conditional values in another one (GDELT)Hello everyone. Let me first describe my data and purpose of analysis for the sake of context. I hav…
Subscribe to:
Post Comments (Atom)
0 Response to Survey Data - Logistic regression with numerical variable
Post a Comment