Learning the TSP2: a guide for students at the 国際総合学類筑波大学 RUNNING REGRESSIONS FROM A SPREADSHEET FILE If you are using a network browser to view this program,

Slides:



Advertisements
Similar presentations
How to Import an Excel File Using the SAS Import Wizard SAS 9 for Windows.
Advertisements

EViews Student Version. Today’s Workshop Basic grasp of how EViews manages data Creating Workfiles Importing data Running regressions Performing basic.
An introduction to data entry, data analysis, and graphing using SPSS
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Applied Econometrics Second edition
An End-User Perspective On Using NatQuery Extraction From two Files T
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
Understanding Microsoft Excel
1 Using Excel for Statistics Office 2010 and 2013.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
1 Chapter 7 Linear Programming Models Continued – file 7c.
Descriptive Statistics In SAS Exploring Your Data.
A Simple Guide to Using SPSS© for Windows
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
SPSS 1: An Introduction to the Statistical Package SPSS Suzie Cro MRC Clinical Trials Unit.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
E XCEL P ROJECT T UTORIAL. G ETTING YOUR UNIQUE DATA SET … Go to the stat 216 homepage: and.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
RIMS II Online Order and Delivery System Tutorial on Downloading and Viewing Multipliers.
1 Introduction to Spreadsheets Bent Thomsen. 2 What is an electronic spreadsheet? It is the electronic equivalent of an accounting worksheet, comprised.
Guide to Using Excel For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 6th Ed. Chapter 14: Multiple Regression.
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Scoring Program Updates & XML upload to the NSRCA web site July 2013.
Basic Excel Tutorial Session. Agenda 1. Basics 3. Formula & Functions4. Charts 2. Format.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Learning the TSP: a guide for students at the 国際総合学類筑波大学 For the following classes of Professor Tadashi Yamada: MicroeconomicsStatistics Human Resources.
· Adding and Renaming Worksheets
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 1- Spreadsheet Software.
CONSTRUCTING RELATIVE & CUMULATIVE FREQUENCY DISTRIBUTIONS using EXCEL & WORD.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Colleague, Excel & Word Best of Friends Presented by: Joan Kaun & Yvonne Nelson College of the Rockies.
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
What is SPSS  SPSS is a program software used for statistical analysis.  Statistical Package for Social Sciences.
Microeconomics Report: Using the TSP a guide for students at the 国際総合学類筑波大学 If you are using a network browser to view this program, please use the “back”
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
This eCPIC Quick Guide has been developed to assist System Administrators with creating Hierarchy Grids in eCPIC. The Hierarchy Grid functionality allows.
VIDEO: INTRODUCTION TO STATA EMBA Data Analysis Professor Timothy Simcoe Boston University School of Management.
Laboratory 1. Introduction to SAS u Statistical Analysis System u Package for –data entry –data manipulation –data storage –data analysis –reporting.
Graphical Analysis in Excel EGN 1006 – Introduction to Engineering.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
ICT 111 – PART 2 APPLICATIONS SOFTWARE /11: APPLICATIONS SOFTWARE Remember: Computer hardware VS human body Computer operating systems VS human.
Analysis Introduction Data files, SPSS, and Survey Statistics.
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
Understanding Microsoft Excel Lesson 1 – Microsoft Excel 2013.
1 Using Excel for Statistics in Gateway Cases Office 2007 & 2010.
Chapter 4 Minitab Recipe Cards. Correlation coefficients Enter the data from Example 4.1 in columns C1 and C2 of the worksheet.
How to Grade with Excel Basics and Formulas. How to Grade with Excel  A cell is the cross-section of row and column  Whatever cell is selected is shown.
Introduction to Eviews Eviews Workshop September 6, :30 p.m.-3:30 p.m.
1 Word Processing Intermediate Using Microsoft Office 2000.
Instructions for using this template. Remember this is Jeopardy, so where I have written “Answer” this is the prompt the students will see, and where.
Understanding Microsoft Excel
Understanding Microsoft Excel
Understanding Microsoft Excel
*Bring Money for Yearbook!
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
DEPARTMENT OF COMPUTER SCIENCE
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
How to Import an Excel File
Understanding Microsoft Excel
STEM Fair Graphs.
Eviews Tutorial for Labor Economics Lei Lei
Stata Basic Course Lab 2.
Understanding Microsoft Excel
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
Presentation transcript:

Learning the TSP2: a guide for students at the 国際総合学類筑波大学 RUNNING REGRESSIONS FROM A SPREADSHEET FILE If you are using a network browser to view this program, please use the “back” button to go to the previous page. Download the entire file to a disk and run the program from there. It will keep your machines from “hanging” as running PowerPoint on the net takes up a large amount of memory. Downloading: point mouse to filename, right click and choose “Save file”. If you are using a network browser to view this program, please use the “back” button to go to the previous page. Download the entire file to a disk and run the program from there. It will keep your machines from “hanging” as running PowerPoint on the net takes up a large amount of memory. Downloading: point mouse to filename, right click and choose “Save file”.

Learning the TSP2: running regressions from a spreadsheet file Check Points: Check Points: - Do you have your data file with you? This file is “ saved as ” Excel version 4/Lotus worksheet v.3 or less. The filename must end with *.wks and/or *.xls - Did you make this data file a working file format? First row contains variable names of 8 alphanumeric characters. Unnecessary information has been deleted from the worksheet. Rows and columns contains numerical data. Blank columns and rows in between have been deleted. Missing values or no data columns have periods ( “. ” ). - Do you remember what your variable names mean? Variables are all numbers for categories or amounts. Creating a variable list would be helpful if regressions will be of more than three variables. - Can you log on to the terminals at the College? TSP is a copyrighted software, it cannot be copied on to your PCs. Our college has a site license.

Learning the TSP2: running regressions from a spreadsheet file  Go to “Start”, then to “Programs”, choose TSP45, click “tlg” or TSPWin.  The following will appear.  Click “cancel” ( キャンセール) Begin Running TSP “ cancel ”

Learning the TSP2: running regressions from a spreadsheet file 1 Begin Running TSP  When you click “ cancel ” the backbone of the TSP Program will appear.  Command Buttons will be on top.  Click on the second button from the left: “ New Input File ”. Open file Print re-doText cut copy paste colour scheme place Save file Undo TextRUN PROGRAM

Begin Running TSP  When you click “New Input File” the following will appear.  The one to your left is called the input file; the one on the right is the output file. The former is your workspace – where you type in a tsp program. The latter is where the results will be shown when you run your program. Learning the TSP2: running regressions from a spreadsheet file 2 Input Space Output Space

Begin Running TSP  USING SPREADSHEET FILES  Here we use a data file called “ TreasuryBill-US.xls ”, which is changed to the working file imaginatively named “ tbill-us.xls ” (saved as Excel v4) Learning the TSP2: running regressions from a spreadsheet file 3 TreasuryBill-US.xls will be used to present tables tbill-us.xls will be used as a working file for regressions

Begin Running TSP  WRITING OUT THE PROGRAM  The first two lines sets TSP to use (1) this much memory; and (2) not to bother to write out warnings. These may be safely ignored in small samples.  “smpl” means the sample size. Since the data is yearly data, the beginning value is the beginning year and the ending value is the last year. For numerical data, say n=25 observations, the appropriate entry would be: “smpl 1 25;”  ALL STATEMENTS IN TSP MUST END IN A SEMI-COLON (;). Please take note, otherwise your program will run into error.  The next line tells the gradient of each observation. “freq a” tells TSP it is a time-series yearly data, and “freq n” for normal samples.  These two lines loads the working file for use. This is the exact format to use. Learning the TSP2: running regressions from a spreadsheet file 4

Begin Running TSP  ENDING THE PROGRAM  The last two lines ends TSP. This have to be typed in.  This is the exact format to use.  In the middle, the specifications or body of the program is typed in. This will be discussed later. Learning the TSP2: running regressions from a spreadsheet file 5

Begin Running TSP  SAVING THE FILE  Save the file IN THE DIRECTORY WHERE THE WORKING FILE IS SAVED. For instance, this tsp program is named “tbill-us.tsp”. This is saved in where the working file “tbill-us.xls” is.  When you type in the filename, PLEASE COMPLETE BY TYPING IN “.tsp” [period, t s p] Learning the TSP2: running regressions from a spreadsheet file 6 Working file tbill-us.tsp

Begin Running TSP  PROGRAM PROPER  “ MSD [varname]; ” is the command to get the averages and standard deviation values for the sample.  “ msd(CORR) [varname]; ” and msd(COVA) [varname]; ” are the respective commands to get correlations and covariance coefficients. Learning the TSP2: running regressions from a spreadsheet file 7

Begin Running TSP  PROGRAM PROPER  To graph the relationship between two variables: “ plot [var1] [var2]; ”  To produce scatter plots: “ graph [var1] [var2}; ”  To get the histogram of a discrete variableX: “ hist X; ”  REMEMBER TO SAVE FILE FIRST! Click “ Save ” button then click TSP button. Learning the TSP2: running regressions from a spreadsheet file 8 Click TSP button to run regressions

Begin Running TSP  RESULTS  Mean & Standard Deviation  Correlation Coefficients  Covariance Coefficients Learning the TSP2: running regressions from a spreadsheet file 9

Begin Running TSP  RESULTS  PLOT y by x  GRAPH y by x  HISTogram of X Learning the TSP2: running regressions from a spreadsheet file 10

Begin Running TSP  TRANSFORMING VARIABLES  “ genr ” is used to generate new variables by applying mathematical operations on existing variables.  Example: T-Bill Rates are in percentages, to express them as decimals, the following is specified.  genr [new varname] = [operation] ;  genr tbill=TB/100 ;  CREATING NEW VARIABLES  “ select ” is used to choose the conditional variable, and then a new variable is created when that condition is satisfied.  Example: are oil shock years, and “ dummy ” variables are need to mark these.  Select [varname]=, condition; [new varname]=X; select 1;  Select year>1971 & year<1974; oildum=1; select 1; Learning the TSP2: running regressions from a spreadsheet file 11 REMEMBER TO SAVE FILE FIRST! Click “ Save ” button then click TSP button.

Begin Running TSP  RESULTS FOR TRANSFORMING VARIABLES  RESULTS FOR CREATING NEW VARIABLES Learning the TSP2: running regressions from a spreadsheet file 12

Begin Running TSP  SIMPLE LINEAR REGRESSION  “ OLSQ [dep var] c [var1] [var2]; ” is the command to regress dependent variable by some independent variable. Learning the TSP2: running regressions from a spreadsheet file 13 Results of the regression run. REMEMBER TO SAVE FILE FIRST! Click “ Save ” button then click TSP button.

Begin Running TSP  ENDING TSP SESSION  Be sure to save BOTH files, input and output files!  Close TSP windows.  The example used here can be downloaded from the homepage. Learning the TSP2: running regressions from a spreadsheet file 14