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?
0 Response to help exporting regression/margins results using outreg2 function
Post a Comment