hi my data goes like this:
var1 var2
10000 a
10000 b
10000 c
10001 a
10001 b
i want my data to look like this:
var1 a b c
10000 1 1 1
10001 0 1 0
please help
Related Posts with existing variable values as new variables
How to find the key variables in a given dataset?Hi there, Like the title of the topic mentioned, I met a problem when I'm analyzing a dataset. The …
How to specify Study ID using metaprop command in meta-analysis output table?Hello I am struggling to specify study ID variable in the metaprop command below: metaprop num deno…
FiltersHow do I filter out respondents which have missing values in more than 50% of the variables I want t…
double quotation marks or single quotation marksWhether it is using double quotation marks or single quotation marks, an error will be reported. Wha…
The use of p-values has been criticized by the American Statistical Association.Hi everyone, My research area is economic and I use panel data of listed firms in the USA from 2000…
Subscribe to:
Post Comments (Atom)
0 Response to existing variable values as new variables
Post a Comment