I would like to use Stata and get results from analyses into R (as a data frame in R, for manipulation there). Stata can return various results for postestimations and manipulations (-return list-), but what would be the easiest way to get a matrix from Stata into R?
This is an old question, as shown by this thread on StackOverflow: https://stackoverflow.com/questions/...on-result-to-r, but I believe so far with no good answer.
Does anyone have any recent experience with such a procedure, and maybe a recommendation? I assume one option might be to use -putexcel-, and then read those excel data into R. But maybe there's a better solution out there.
(-Rcall- would not solve my problem. I need to run code from R or at the very least import results from Stata into R as a dataframe. I run all analyses and documentation from within R/RStudio, using the knitr package. Stata is currently used for initial data management only, but I'd like to add the option to let Stata do some analyses.)
Related Posts with Exporting Stata results to R
Expanding backwardsHello, Im working on a dataset and want to expand my dataset backwards for 2 months extra. The data…
How to do an analysis of transition frequencies in a placebo controlled study?Hi everyone, I want to do an analysis of transition frequencies in a placebo controlled sleep study…
unsuccessful mergeHello everyone! I am trying to merge two data files from different sources using the command merge …
Exporting/displaying boottest resultsHi everyone, I am running a difference in differences regression with Panel data on Stata version 1…
npregress and Bandwidth selection with Bootstrap CIDear all, I have a question that is both technical (Stata) and theoretical. Based on the help file f…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting Stata results to R
Post a Comment