Hi everyone! I am doing a simple event study with the command eventstudy. The results of the regression should be saved on a file (i tried to use both excel and .dta formats). I am sure about the synthax of my command and also of the correct data type. However, the regression cannot be calculated because i get the message
file d:\temp\before_event_1.txt could not be opened
r(603);
It looks as a line of code that stata needs to read while executing the command, but it cannot open it. This is my own pc and nobody is using the file specified in the error line above at the same time as stata does it.
1) I dont know how to check where the file is. I dont have any drive called "d" which stores temporary data, the working directory is simply a folder on my desktop and all temporary files are saved on another driver.
2) how can i direct stata to run that piece of text file on another directory and how can this text file on another directory where stata can read it?
Any help is greatly appreciated... I solved a lot of issues already with this command but I am stuck with this and honestly I don't have a clue.
Thank you for your help...and merry christmas!
Gabriele
file d:\temp\before_event_1.txt could not be opened
r(603);
It looks as a line of code that stata needs to read while executing the command, but it cannot open it. This is my own pc and nobody is using the file specified in the error line above at the same time as stata does it.
1) I dont know how to check where the file is. I dont have any drive called "d" which stores temporary data, the working directory is simply a folder on my desktop and all temporary files are saved on another driver.
2) how can i direct stata to run that piece of text file on another directory and how can this text file on another directory where stata can read it?
Any help is greatly appreciated... I solved a lot of issues already with this command but I am stuck with this and honestly I don't have a clue.
Thank you for your help...and merry christmas!
Gabriele
Comment