I'm trying to format my date but I keep getting a type mismatch error. My dates are labeled as "MM/DD/YYYY".
What I did was type "gen date2 = date(date1, "MDY")"
How do I get it to recognize my date and solve this mismatch error?
Related Posts with Formatting date from MM/DD/YYYY.
ebmeans with imputed data?Is there a way to calculate ebmeans with mi data? Trying to get a "mean" of a latent variable that I…
xtgraphI am trying to use -xtgraph- to plot cross-sectional mean and sd of a variable in a panel dataset. H…
Cpoisson LSDVMy outcome is counts left-censored at y<1000. I have panel data and want to run a model with fixe…
Combining groups of percentiles in collapseHi guys, I'm trying to collapse a large dataset by year, gender, and economic sector but instead of…
Generate a new binary variable from different variables in a datasetHello everyone, I have a dataset with many “employment status” variables, such as full-time job is c…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting date from MM/DD/YYYY.
Post a Comment