In Julia, one can generate random numbers that follow a Gamma distribution by using the Distribution package. Thereby one can use the
rand() function that draws random numbers and specify the Gamma distribution by using the
Gamma(a,b) command. The parameters a and b define the shape parameters of the Gamma distribution. This article provides a more generic overview of how to generate random numbers in Julia.
Continue reading Generate Gamma Distributed Numbers in Julia
How can one save objects in Julia? One easy way to do so it to use the
JLD package. The following examples demonstrates how to save data objects in Julia and how to load the once they are saved. Continue reading How to save Objects/Data in Julia?
In Julia, you can set a seed to the random number generator using the
srand() function. The code example below sets the seed to 1234. Generating a random variable with
rand(1) after setting the seed to 1234 will always generate the same number, i.e. it will always return 0.5908446386657102. Continue reading How to set a Seed in Julia?
In this post I am going to explain how to upgrade Debian 8 to Debian 9. You can enter the following eight steps in your terminal: Continue reading Upgrade Debian 8 to 9
In STATA one can estimate a linear regression using the command
regress. In this post I will present how to use the STATA function
regress to run OLS on the following model
Continue reading Linear Regression in STATA
In a previous post, we discussed how to obtain clustered standard errors in R. While the previous post described how one can easily calculate cluster robust standard errors in R, this post shows how one can include cluster robust standard errors in stargazer and create nice tables including clustered standard errors.
Continue reading Cluster Robust Standard Errors in Stargazer
In a previous post, we discussed how to obtain robust standard errors in R. While the previous post described how one can easily calculate robust standard errors in R, this post shows how one can include robust standard errors in stargazer and create nice tables including robust standard errors.
Continue reading Robust Standard Errors in Stargazer