UNC-Wilmington
ECN 422
Department of Economics and Finance
Dr. Chris Dumas
Testing Hypothesis about Means using t-Tests and the t-Table
(with a guest appearance by Confidence Intervals)
t-Tests are used to conduct hypothesis tests involving means when you
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Correlation Analysis
Correlation Analysis measures the strength/degree of linear relationship (if any) between two quantitative
measurement variables. Correlation analysis is not a
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Homework 3
As described below, put your answers in your Research Paper, and turn in your Research Paper draft (not
all sections of the Research Paper will be complete) as your Home
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Frequency Distributions / Bar Graphs, Histograms, and Tables
Frequency Distributions /Bar Graphs (Proc Chart)
The purpose of a Frequency Distribution is to show the numbers of item
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Model Specification
in Regression Analysis
In Regression Analysis, Model Specification is the study of (1) which variables should be included in a
regression model and (2) which Fu
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Simultaneous Equations Models in SAS
Indirect Least Squares (ILS) and 2-Stage Least Squares (2SLS)
Simultaneous Equations Models (SEMs) are models in which two or more equations sh
/*
SOFTWARE: SAS Statistical Software program, version 9.2
AUTHOR: Dr. Chris Dumas, UNC-Wilmington, Spring, 2013.
TITLE: Program to correct autocorrelation in regression analysis.
*/
proc import datafile="v:\ECN422\timeseriesdata.xls" dbms=xls out=dataset
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
The Multicollinearity Problem in Regression Analysis
(When X Variables are Linearly Correlated with Other X Variables)
Multicollinearity exists among the X variables in your regres
Table 1
Variable Name
PopCens
GeoRegion
Definition
Measurement Units
Persons residing in the given geographic area in
year 2000.
Geographic region of North Carolina in which a
county is located in.
Number of people.
LandArea
Geographic area of county in y
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Homework 4
In Homework 3, you began your Research Paper. In Homework 4 we add a regression analysis to the Research
Paper.
Background
Policy makers in North Carolina want to attrac
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Homework 2 Solutions
The Dataset and Variable Key
(Download and clean data set . . .)
Using Proc Contents and a Variable Key to Explore the Data Set
1. Write a SAS program to impor
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Homework 1 Solutions
The purpose of Homework 1 was simply to have the student become familiar with TealWare, SAS, the 4
basic elements of a SAS program, and importing and exporting
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Functional Form
in Regression Analysis
The basic OLS Regression method requires that the regression equation be linear in the parameters. However, the
equation may be either linear
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Estimating Growth Rates Using Time Series Data
Professionals in Economics and Finance often need to estimate the growth rates of economic and business
variables. The growth rate of
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Taking Screen Shots
Taking Screen Shots in Windows 7
To learn how to use the Snipping Tool to take a screen shot using Windows 7, go here:
http:/windows.microsoft.com/en-us/windows
UNC-Wilmington
Department of Economics and Finance
Dumas
ECN 422
Dr. Chris
Apple/Mac Computer Interface with TealWare
For those of you who use Apple/Mac computers, fellow student Kenny Rich created the
following tutorial to help you set up your ECN422 fol
UNC-Wilmington
ECN 422
Department of Economics and Finance
Dr. Chris Dumas
Hypothesis Testing Terminology, Z-tests of Means
"A statistical hypothesis is simply a claim about a population that can be put to the test using
information from a random sample d
UNC-Wilmington
Department of Economics and Finance
Hypothesis Tests for Variances
ECN 422
Dr. Chris Dumas
Sometimes we need to test hypotheses about the variance of a variable instead of testing hypotheses about its
mean or proportion. In this handout we
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Introduction to SAS Computer Software
Background on the SAS company and SAS statistical software
SAS (pronounced "sass") stands for "statistical analysis system." SAS is a computer
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
The Autocorrelation Problem
Recall that one of the assumptions of the OLS method is that the errors for the individuals in the
population (and therefore, in the sample) are indepen
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Dataset Types
Previously we have discussed variable types and data files types. In this handout we discuss Dataset Types. The
Dataset Type is important because (1) some kinds of an
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
The Heteroskedasticity Problem
in Regression Analysis
Recall that one of the assumptions of the OLS method is that the variance of the error term is the same for all
individuals in
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Variables, Data Sets, Data Files, Importing and Exporting Data in SAS
In the last handout, we learned about TealWare, accessing the SAS statistics program within TealWare, the
Edit
/*
SOFTWARE: SAS Statistical Software program, version 9.2
AUTHOR: Dr. Chris Dumas, UNC-Wilmington, January 2011.
TITLE: "ImportExport.sas" program.
This program demonstrates:
Proc Import
Proc Export
Proc Contents
The "Data Step" -
*/
(1) creating a new d
UNC-Wilmington
ECN 422
Department of Economics and Finance
Dr. Chris Dumas
Hypothesis Tests Involving Proportions
Suppose we have data on a nominal variable (either text or numerical) that can take only two possible values, say
male/female, 0/1, yes/no, D
/*
/*
/*
/*
ECN 422 SAS program */
Chris Dumas */
February 4, 2012 */
Example: Comparing a sample proportion against a given value */
proc import datafile="v:\ecn422\PropTestData.xls" dbms=xls out=dataset01
replace;
/* Below, p=0.75 specifies the null hyp
UNC-Wilmington
Department of Economics and Finance
ECN 422
Dr. Chris Dumas
Contingency Table Analysis
Contingency Table Analysis (also called Crosstabulation Analysis) provides a method for determining whether
two categorical variables are independent or
UNC-Wilmington
Department of Economics and Finance
Hypothesis Tests for Variances
ECN 422
Dr. Chris Dumas
Sometimes we need to test hypotheses about the variance of a variable instead of testing hypotheses about its
mean or proportion. In this handout we