Depending on conditions: a tutorial on the cond() function
David Kantor,Nicholas J. Cox +1 more
TL;DR: This is a tutorial on the cond() function, giving explanations and examples and assessing its advantages and limitations.
read more
Abstract: This is a tutorial on the cond() function, giving explanations and examples and assessing its advantages and limitations.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Speaking Stata: Identifying spells
TL;DR: In this paper, the authors present a technique for working with spells in Stata, marking the start of each spell with indicator variables and tagging them with integer codes, and suggest a convention for handling gaps before, between, and after.
Speaking Stata: Fun and fluency with functions
TL;DR: This column is a tour of functions that might easily be missed or underestimated in Stata, with a potpourri of tips, tricks, and examples for a wide range of basic problems.
12
Stata tip 48: Discrete uses for uniform()
TL;DR: In this paper, the Cond() function is used to generate random draws from a uniform distribution between zero and one functions, where each possible value has a known probability of being drawn.
References
Speaking Stata: Graphs for all seasons
TL;DR: Although this work introduces here two new Stata commands, cycleplot and sliceplot, it emphasizes exploiting standard functions, data management commands, and graph options to get the graphs desired.
9