Hi,
So I have browsed the forum, but could not find any solution to my problem so I hope that you guys can help me(:
I need to append two datasets and use the command append using... But i get the error message that "variable startdate is str19 in master but double in using data". Startdate is the variable that makes the problems
In the main data-file the variable startdate is string; type: str19, format: %19s
in the file i want to append to my main file startdate is; type: double, format: %tcdd-Mon-CCYY_HH:MM:SS
In my main file the variable startdate is string and is structured the following way when looking in the data editor
2019-10-08 15:17:16
2019-12-09 18:02:42
2019-10-01 09:19:40
2019-10-01 08:46:35
2019-10-01 14:43:02
2019-10-01 15:18:03
2019-10-07 08:03:57
2019-10-07 15:58:58
2019-10-08 08:30:31
2019-10-08 08:33:16
2019-10-08 09:13:11
2019-10-08 10:38:38
I have tried in a various of ways to make one varyable string or the other double, but cannot get it right.
Any help is highly appreciated,
Thanks!
Related Posts with Help with appending files with same variable in two formats (tostring/destring)
Store significant variables in Logistic RegressionHi, I am running a logistic regression with about 30 variables, most of which are categorical varia…
Misleading median?Hi everyone! I'm doing research on how real estate values impact corporate savings. I have computed…
How to Mark the Demoted Students Out in Long Format Data in Stata?Hello, Folks, I have a small dataset like this, clear input byte (id year gr kg5 k68 k912) 1 1 0 0 0…
How to collate multiple, individual regression outputsLooking for some help on the following: I want to tabulate the univariate association of 8 variable…
First difference of a squared termDear all, I am working with a panel dataset and am trying to run a non-linear (quadratic) regressio…
Subscribe to:
Post Comments (Atom)
0 Response to Help with appending files with same variable in two formats (tostring/destring)
Post a Comment