I am dropping observations based on various if statements written in a do file. I have all the code in the do file highlighted and run it. All I do is "clear" and "log close" in the command window, and hit run again without touching the highlighted code or even reselecting the code. I've run the code 10 times in a row this way, and sometimes I get n=1620 and sometimes I get n=1621. No code has changed between each time I run it, so I am positive that Stata is producing different results when given the exact same input. Why is this happening?
Related Posts with Getting different results from running same exact code - why?
Number of IDs per groupHi all, I have panel data with an identifier(permno) and a time variable(mofd, monthly). Based on a…
Finding if a variable or string has overlapping charactersLet's say we have variable/string 'alex' 'luth' 'tex' , 'mav' is there a command in stata which let…
Creating tablesHi all, I have this regression line, and I would like to export this table from STATA to word. Cod…
Question on Analysis using Panel Data Methodology.My study is the study of Bilateral trade relations: A Gravity Model analysis using Panel Data method…
How to access the dissimilarity (tau) parameters generated by nlogit via code?Hello I have been trying to access the dissimilarity (tau) parameters generated by nlogit, with no …
Subscribe to:
Post Comments (Atom)
0 Response to Getting different results from running same exact code - why?
Post a Comment