Hello,
I am very new to STATA and am trying to learn by myself. However, I am stuck at this point:
How can I split a numeric variable 'marstat'. It's label is current marital status - It's components are never married, widowed, etc. and I want to generate a new variable that only consists of 'never married'. Any help or guidance is appreciated.
Thank you in advance.
Related Posts with New to STATA: separating numeric value variable
Generate variable of ratios of consecutive observations, by subgroupHello. I am working with a panel dataset as characterized below. Code: * Example generated by -da…
low Cronbach's alphaHi, I am currently in the initial stage of my research and don't have much experience in statistica…
How to place coefficient at a certain value in “coefplot”Dear All, I come across an error when using the 'coefplot' command. I want to plot the coefficient o…
xtivreg2 warning that covariance matrix is not of full rank. Detecting singletons?Dear all, I am running the following code: . xtset id year . xi: xtivreg2 `t' (`z'=instrument_p) …
Date format issueHi Is there a way to convert dates that have a format such as September 13 2005 to a date variable …
Subscribe to:
Post Comments (Atom)
0 Response to New to STATA: separating numeric value variable
Post a Comment