Hello Dears,
Please, I have one question related to dummy variable with logistic regression model.
I have created my dependent variables a dummy by this command:
generate X = 0
replace X = 1 if Y == 1
in this case, when I will use logistic regression , Stata already know that 1 equal to yes and 0 otherwise ,or there is another command that should to use to identify the variable? Thanks in advance
Related Posts with Dummy
spmap - how to create dot mapsHi again, I am attempting to plot a dot map using spmap, where the map is meant to show Kenya with …
Sorting by one variable seems to affect other variables in my data sheetHi there, I'm trying to flip my datasheet to that the top answer is the bottom answer. The datashee…
Loops in STATADear STATA users, I have been trying to write a STATA code as described in the statement below but f…
Multilevel mediation sem question (really need help)I am doing multilevel mediation analysis for clustering data (hierarchical) the mediation variable …
Looping over different lags in a regressionHello everyone, I got a question about the following piece of code: forvalues k = 3 (3) 12 { newey…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy
Post a Comment