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
ds vs display loopHello, Can anyone help me identify why: Code: foreach var of varlist `contvarlist' { …
survival analysis accounting for survey weightsHi all, I'm interested in all-cause mortality and cancer-specific mortality using survey data. I'd …
Question on analyzing multiple answers questionI have a data set of 987 respondents. I asked them on there most common sources of treatment and the…
nwcommands question: nwhierarchyI'm using nwhierarchy as part of Thomas Grund's nwcommands package. I am using something like this c…
RIF- Regression Unconditional Quantile Regression (Counterfactual Decomposition)Dear STATA Seniors and Pros, I seek your guidance in regard to a few confusions that I am currently…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy
Post a Comment