Importing R datasets in Stata
April 09, 2020In this post we look at how you would import a R dataset into Stata. In particular we will export the happy dataset which is in the…
Written by Johan Osterberg who lives and works in Gothenburg, Sweden as a developer specialized in e-commerce. Connect with me on Linkedin
In this post we look at how you would import a R dataset into Stata. In particular we will export the happy dataset which is in the…
It can be frustrating when your computer has shut down in the middle of some sql-session and you've seemingly lost your work. SSMS keeps…
Doing analysis of variance (often refered to as ANOVA) in Stata is easy. Let's begin by finding a suitable dependent variable which should…
On this blog i frequently feature examples from Stata, but also from SPSS, Microsoft Excel and R Studio. They are all are popular software…
Let's look at an alternate way of performing a chi-square test in Stata, this time using the tabi command. First, let's load up the auto…
In this example again we'll look at some order data: Here we see a table of orders, grand total for each order and two as of yet empty…
For this post let's look at simple linear regression in Stata. As discussed previously, simple regression basically involves one independent…
For this tutorial I have imported data consisting of e-commerce orders from an Excel file into Stata and then saved it as a dataset. So we…
One way to visualize a simple regression model is to use a scatter plot. For this example we're gonna use the nlsw88 dataset and…
In the previous post we looked at regression in Stata by exploring two commands, correlate and pwcorr. In this brief post we'll explore…