How do i create a new variable based on known frequencies.
Fx i have been send a list on frequencies in my control group having tissue type 1,2,3,4,5,6,7. Now i want to create a variabel in stata that has 300 with type 1, 55 with type 2, 234 with type 3 and so on. so that i can make chi squared and many other tests afterwards.
Hope someone can help!
- Caroline
Related Posts with gen var basen on frequencies?
Number of groups not matched in conditional fixed effect model OutputI am trying to fit conditional fixed effect model for my panel data set (Unbalanced). My data set co…
Editing GraphsHi all! I am in the midst of creating hundreds of twoway line graphs. I have been using the graph e…
Weights in panel dataHi, I am working with a set of panel data where I am looking at students' school results in differen…
cmclogit + margins + interactionsHello! I'm trying to use a McFadden's choice model using cmclogit with case- and alternative-specif…
Help please! Meta-analysis on prevalenceI am currently working on a meta-analysis looking at the pooled prevalence of a gastrointestinal con…
Subscribe to:
Post Comments (Atom)
0 Response to gen var basen on frequencies?
Post a Comment