Hi all,
I have been struggling with this for a few days now, would really appreciate any help. I am quite new to stata but i have studied the help commands and dr google alot and i have not made much progress would really be very grateful for any tips
i have a dataset with about 95 variables for my clinical study about prostate cancer and outcome at prostate biopsy, looking at specifically the association between cancer and a geentic score so i have incorporated those into my model and was looking at the marginal analyses results. no issues there. i cannot seem to be able to export anything using the outreg2 command, i have a lot of output i wish to include in my thesis and i have had to so far cope and paste it all into excel tables and reformat them then copy and paste back to my word doc, it is literally taking me hours and hours
i created a word doc called 'statastuff' and closed it. i then type the below command,
outreg2 using "C:\Users\hraghallaigh\Documents\statastuff.do cx", word replace
C:\Users\hraghallaigh\Documents\statastuff.docx
dir : seeout
when i type the above command, i click on the doc link it generates which leads me to word, which says again and again it wont open the file as it is corrupted. i then try to go via the seeout route and same thing. i deleted the file and did it again, same thing. did the same with an excel file, ie make one called 'test' ran the command and same issue. does anyone know of any way I cn address this or another way i can export my results to a word doc?
Related Posts with help exporting regression/margins results using outreg2 function
combine multiple lines of codes into one command!Hey Statalist, I want to find a way in which I can combine multiple lines of codes into one single …
Looping a regression command sequentially by observation and storing each model.Hi all, Apologies if this is very simple or has been asked before. I have searched through many top…
Herfindahl-Hirschman Index for banksHello, I have a problem creating Herfindahl-Hirschman Index for my data I tried scc install hhi but…
Importing csvHi, I have an easy problem, but unfortunately I could not solve it. When I want to import data fro…
removing text from string variable with date formatHello, I have a string variable that looks like this: 13-03-2014(Late visited). How can I remove som…
Subscribe to:
Post Comments (Atom)
0 Response to help exporting regression/margins results using outreg2 function
Post a Comment