Hello Stata members,
I am analysing dataset in which pid is stored in double format. Since I want to merge different datasets (using pid) to create a single dataset, I need to know the "real numbers" in pid. I used recast command but it is of no help. Using "force" option also did not help as it convert values of pid into missing.
pid looks like below:
list pid in 1/10
pid
1. 1.0e+00
2. 2.0e+00
3. 1.0e+00
4. 1.0e+00
5. 1.0e+00
6. 1.0e+00
7. 2.0e+00
8. 2.0e+00
9. 1.0e+00
10. 1.0e+00
Can anyone help please?
Many thanks
Related Posts with Id variable stored in double format
GLM - Offset termHi, I am running a GLM - Poisson Family Identity Link model to show the impact of various predictor …
egen command related to count based on a conditionDear All Code: input str1 firm float(sales) int year "a" . 2010 "a" . 2011 "a" 5 2012 "b" 6 2010 "b…
Factor calculation based on dual variable namesHi, I am trying to calculate a currency value factor based on currency spot and lagged exchange rat…
UPDATES error_3499: coefficient table function not foundHello, I am using Stata 16.1 and encountered the following error message when running even simple r…
Industry fixed effect in an ols regressionDear Statlist, I am conducting an event study for a sample of 153 companies announcing layoffs betw…
Subscribe to:
Post Comments (Atom)
0 Response to Id variable stored in double format
Post a Comment