Hello,
let's say I have a variable x with data from 1 to 10. How can Stata save the maximum of x (10) as placeholder, which can be used in an if loop or forval i=1/.....
Thank you!
Related Posts with Store a value
Multiple missing characteristics - Using egen to count number of members in householdI wish to count the number of members in a household for the given survey data. hh_id memgndr_1 m…
Multiple imputation and multi-level data questionHello, I am looking for help with multiple imputation and multi-level data. At level 2 I only have …
Past Stata "platform names" for "package files" (help usersite)In Stata 16, the output of help usersite tells us about the "g" lines in the package file. g sp…
Nonlinear decomposition with interaction effectHi all, I am studying the effect of child health on educational outcomes. My IV is the likelihood of…
How to estimate the risk difference with margins after meprobitDear Statalist, Happy new year! Here is my question: Code: clear set seed 2020 set obs 400 set …
Subscribe to:
Post Comments (Atom)
0 Response to Store a value
Post a Comment