Import Stata 15 output into Latex
up vote
0
down vote
favorite
I know you may have seen this question dozens of times, but I still didn't find a helpful answer. I have to display some stata tables (descriptives, regressions, ...) in my uni research, but I don't know if there is a general way to do this. I do not have any command I can show you since I really don't know where to start from. I checked the estout
command, but I should display the output exactly as it is in stata. I don't really want to do a screenshot of the output and import it in latex with includegraphics
.
I have a .dta stata file and I wrote the necessary codes in my .do file. I wonder if there is a package I can use to let latex read the stata codes. I read that I have to define the .dta file in latex and then type the .do file codes in latex to let him generate the appropriate output. Does anyone know how to do this?
Again, sorry for not providing any code.
tables output
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
0
down vote
favorite
I know you may have seen this question dozens of times, but I still didn't find a helpful answer. I have to display some stata tables (descriptives, regressions, ...) in my uni research, but I don't know if there is a general way to do this. I do not have any command I can show you since I really don't know where to start from. I checked the estout
command, but I should display the output exactly as it is in stata. I don't really want to do a screenshot of the output and import it in latex with includegraphics
.
I have a .dta stata file and I wrote the necessary codes in my .do file. I wonder if there is a package I can use to let latex read the stata codes. I read that I have to define the .dta file in latex and then type the .do file codes in latex to let him generate the appropriate output. Does anyone know how to do this?
Again, sorry for not providing any code.
tables output
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file likeregress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2
– rjkvc
Apr 10 at 17:26
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I know you may have seen this question dozens of times, but I still didn't find a helpful answer. I have to display some stata tables (descriptives, regressions, ...) in my uni research, but I don't know if there is a general way to do this. I do not have any command I can show you since I really don't know where to start from. I checked the estout
command, but I should display the output exactly as it is in stata. I don't really want to do a screenshot of the output and import it in latex with includegraphics
.
I have a .dta stata file and I wrote the necessary codes in my .do file. I wonder if there is a package I can use to let latex read the stata codes. I read that I have to define the .dta file in latex and then type the .do file codes in latex to let him generate the appropriate output. Does anyone know how to do this?
Again, sorry for not providing any code.
tables output
I know you may have seen this question dozens of times, but I still didn't find a helpful answer. I have to display some stata tables (descriptives, regressions, ...) in my uni research, but I don't know if there is a general way to do this. I do not have any command I can show you since I really don't know where to start from. I checked the estout
command, but I should display the output exactly as it is in stata. I don't really want to do a screenshot of the output and import it in latex with includegraphics
.
I have a .dta stata file and I wrote the necessary codes in my .do file. I wonder if there is a package I can use to let latex read the stata codes. I read that I have to define the .dta file in latex and then type the .do file codes in latex to let him generate the appropriate output. Does anyone know how to do this?
Again, sorry for not providing any code.
tables output
tables output
asked Apr 10 at 17:14
rjkvc
446
446
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file likeregress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2
– rjkvc
Apr 10 at 17:26
add a comment |
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file likeregress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2
– rjkvc
Apr 10 at 17:26
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file like
regress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2– rjkvc
Apr 10 at 17:26
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file like
regress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2– rjkvc
Apr 10 at 17:26
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Since STATA seems to be able to provide text output, use the minted
or listings
packages to display the content of the STATA file in your document, as it could be done for source code.
More specifically, with the listings
package, do something like
documentclass{article}
usepackage{listings}
begin{document}
lstinputlisting{yourstatafile.extension}
end{document}
See this website for more information
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Since STATA seems to be able to provide text output, use the minted
or listings
packages to display the content of the STATA file in your document, as it could be done for source code.
More specifically, with the listings
package, do something like
documentclass{article}
usepackage{listings}
begin{document}
lstinputlisting{yourstatafile.extension}
end{document}
See this website for more information
add a comment |
up vote
0
down vote
Since STATA seems to be able to provide text output, use the minted
or listings
packages to display the content of the STATA file in your document, as it could be done for source code.
More specifically, with the listings
package, do something like
documentclass{article}
usepackage{listings}
begin{document}
lstinputlisting{yourstatafile.extension}
end{document}
See this website for more information
add a comment |
up vote
0
down vote
up vote
0
down vote
Since STATA seems to be able to provide text output, use the minted
or listings
packages to display the content of the STATA file in your document, as it could be done for source code.
More specifically, with the listings
package, do something like
documentclass{article}
usepackage{listings}
begin{document}
lstinputlisting{yourstatafile.extension}
end{document}
See this website for more information
Since STATA seems to be able to provide text output, use the minted
or listings
packages to display the content of the STATA file in your document, as it could be done for source code.
More specifically, with the listings
package, do something like
documentclass{article}
usepackage{listings}
begin{document}
lstinputlisting{yourstatafile.extension}
end{document}
See this website for more information
answered Apr 10 at 18:10
BambOo
3,0011526
3,0011526
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f425828%2fimport-stata-15-output-into-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
since most of us won't have seen a stata data file you might at least show a small example file and describe what you want the typeset output to be (I assume it's some kind of text format, not binary data?)
– David Carlisle
Apr 10 at 17:19
the following link shows how data in Stata are organized: stata.com/features/overview/data-editor . Typing command in the To do file like
regress mathsc6 treated dadedr4 momedr4 relig famsize
, which is the multiple regression code. It then displays the following output in the .dta file: stats.idre.ucla.edu/stata/output/regression-analysis-2– rjkvc
Apr 10 at 17:26