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
Problem with "asdoc" and the order of the categoriesHi, I have a problem with asdoc, I hope you can guide me. The correct tab (with sum) is as follows: …
IR and PR (Prevalence ratio) same for Modified Poisson Regression with Robust Error VarianceHello glm y i.x1 i.x2 i.x3 i., link(log) family(poisson) eform Using the above command, I have fo…
Generating dummy variable based on lagged quartile dataHi everyone, I am trying to generate a dummy variable that is conditional on whether the variable o…
Linear regression with year as predictor variableHi all, I am new to Stata and a somewhat of statistics novice. I am working on a project where I am…
Panel Data Regression on Gravity ModelHi everyone, I am doing an gravity model analysis on panel data of 10 countries for 30 years. This …
Subscribe to:
Post Comments (Atom)
0 Response to Store a value
Post a Comment