Dear All,
I hope I will find someone who could help me with my question. I am having problems with my Monte Carlo Simulation. I am doing an event analysis and I am using the Monte Carlo Simulation as an additional t statistics. The program should draw 9 random dates (from the list of non event trading days) and calculate the mean of the 9 random days. It should repeat this process 1000 times.
I already have a .dta file consistent of the non event trading days information but I have had trouble programming the code to preform the analysis.
I would like to thank you in advance for your help.
Best regards,
A
Related Posts with Monte Carlo Simulation
Issues with inaccurate generate of a new variableHi there, I have recently used a very simple comand to generate a new variable. gen MFN_zero = Imp…
How to export the freqs of multiple variables from stata to excelHello , I have been using tabout to output summaries for 2 X 2 tables quite well. Now a new need ha…
invalid syntax when referencing to variable labels in loopsI'm trying to refer to the labels of variables (to include these in graph titles) when looping on a …
putting multiple graphs for quantitative vs categorical variables in one graphHi, I have 7 variables, which are actually for one survey question that asks respondents to rank th…
resetxt locks on small data setWhen I run: Code: resetxt esg totmktval, id(id) it(date) model(xtbe) I get: Code: ===============…
Subscribe to:
Post Comments (Atom)
0 Response to Monte Carlo Simulation
Post a Comment