













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Regression Analysis, Testing hypothesis, In depth analysis of line graph, In depth analysis of scatter graph, Simple regression, Multiple regression, Linear regression are key and learning points in this lecture of Econometric.
Typology: Slides
1 / 21
This page cannot be seen from the preview
Don't miss anything!
The regress command is used to run ‘Simple as well asMultiple regression’. regress depvar [indepvars] [if] [in] [weight] [, options] The mostly used options are given below:
noconstantvcerobusthc2hc3level(#)beta^
(gives standardized beta.)
Try other options in the dialogue as well.
the
‘ predicted/estimated’
values
,^ simply
use
the
‘predict command’.
predict newvar
Here ‘newvar’ is the name of new variable which storespredicted/estimate/Y-hat values.Suppose we want to save the ‘predicted values’ in variable‘estprice’.Then the command is:
predict estprice
10
15,000 10,000 5,000 0 0
20
40
60
80
sno Price Fitted values
Docsity.com
11
predict resids, residuals This will generate a new variable with the name resids whichcontains residuals.Use the list command to list residuals.
13
‘price’
as
the
Dependent variable.Select ‘mpg’ & ‘weight’ asthe independent variables.Click submit.
14
16
With the regression output in the Results window,We would like to test several hypotheses.To test whether a
weight
contributes as much as
foreign
to the
price,Type:
test weight = foreign
17
To test whether the variables “weight” and “foreign” are jointlysignificant in our model,Type:
test weight foreign
19
The result is given below:
20
Try the command.
ttest mpg = weight