Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: Stata Commands
Description: This notes describe the commands for Stata (data analysis) Software.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


Stata Commands
1
...

2
...
sum y x1 x2, detail: summarize in the detail, show the summary, and also the percentiles, kurtosis,
skewness, and variance of the data
...
gen lny=log(y): this command is used to make values small, by taking log, and then again summarize
them
...


5
...
corr y x1 x2: to see the correlation of the variables
...


7
...


8
...


9
...


Interpretation of y variable for β2X1
Our regression analyses explaining that, independent variable x1 is showing significant positive impact on
dependent variable
...
By assuming other things constant,
a one unit increase in X1 will lead to increase 92741
...


Interpretation of y variable for β2X2
Our regression analysis explain that, the independent variable x2 is showing significant negative impact

on dependent variable
...
002 which is less than 0
...
A one unit increase in x2 will lead to decrease -46359
...

Rule of Thumb
Rule of thumb of t statistics is when t value is 2 or more than 2 then we can say that it is significant at 5%
level
...
It also explain that total variation in dependent
variable Y explained by the regression model
...
90, 0
...

Adjusted R square value is always less than R square value
...

As increase in the variables of model the value of R square increases
...
dufller y: this command is used for to take dicky-fuller test
...
It is one of the most commonly used statistical test when it comes to
analyzing the stationary of a series
...
00 compare with the significance level
at 1%=0
...
05, and 10%=0
...

Make the hypothesis, null hypothesis is that variable is not stationary, If p-value is less than the
significance level of 1,5,10 percent, then we will reject the null the null hypothesis which means variable
is stationary
...
But in Y variable p-value is greater than
the significance level, which means it is not stationary
...
dfuller D
...


As we can see that the p-value is now smaller than the significance level 10%
...
0944<0
...
If p-value is stationary without difference then
we will say that order of Integration is zero I(0)
...

12
...
1 If there is no difference taken in the model so we will use the simple OLS model for the variables

(reg y x1 x2)
...
2 If all variables are starting at I(1), then we will use the Johanson cointegration approach
...
If cointegration exists than we use the VECM model/approach, and cointegration do not exist than
we use the VAR model/approach
...
If order of integration is mixed then we use the ARDL model
...
predict resid: command is used for the assume residual
Title: Stata Commands
Description: This notes describe the commands for Stata (data analysis) Software.