AGB 260: Agribusiness Data Literacy

Slides:



Advertisements
Similar presentations
Excel Features That Would Help You Prepare Class Result.
Advertisements

Tier 2: Case Studies. Table of Contents Chapter 1 Introduction Useful Computer Tools for Data Reconciliation Chapter 2 Case Study #1 Steady-State Nonlinear.
Appendix D Example n The procedure described in Appendix D is meant to determine a battery’s performance parameters from the data taken during a HPPC test.
Matrices & Systems of Linear Equations
MF-852 Financial Econometrics
Chapter 2 Basic Linear Algebra
Hilton Maher Selto. 11 Cost Estimation McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc., All Rights Reserved.
1 MF-852 Financial Econometrics Lecture 2 Matrix Operations in Econometrics, Optimization with Excel Roy J. Epstein Fall 2003.
Matrix Commands in Excel Anthony Murphy Nuffield College
Basic Mathematics for Portfolio Management. Statistics Variables x, y, z Constants a, b Observations {x n, y n |n=1,…N} Mean.
Pam Perlich Urban Planning 5/6020
Matrix Mathematics in MATLAB and Excel
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
Finding the Inverse of a Matrix
Solving Simultaneous Equations by Matrix Inverse Problem 2.5 # 37 Presented by E. G. Gascon.
1 Chapter 10 Correlation and Regression We deal with two variables, x and y. Main goal: Investigate how x and y are related, or correlated; how much they.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Portfolio Statistics  Portfolio Expected Return: E(r p ) = w T r  Portfolio Variance:  2 p = w T  w  Sum of portfolio weights: = w T 1 –where w is.
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
ECON 1150 Matrix Operations Special Matrices
Presentation by: H. Sarper
AGB 260: Agribusiness Information Technology Arrays and Array Formulas.
Notes on Data Collection and Analysis Dale Weber PLTW EDD Fall 2009.
CHAPTER 3 THE CONCEPTUAL PAPER WORKSHEET To solve the Break-Even Model Through a table of relevant data, finding the answer where PROFIT is exactly zero.
The Theory of the Simplex Method
PHY 202 (Blum)1 Use’s Excel Array Formulas to Solve Simultaneous Equations.
AGB 260: Agribusiness Information Technology Tables.
Section 4.2 Least Squares Regression. Finding Linear Equation that Relates x and y values together Based on Two Points (Algebra) 1.Pick two data points.
259 Lecture 13 Spring 2013 Advanced Excel Topics – Arrays.
13.1 Matrices and Their Sums
AGB 260: Agribusiness Information Technology Arrays and Array Formulas.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Excel Workshop CHEM 2001, FALL Make some calculations Always begin a function with ‘=‘ Multiply X and Y Multiply X by 50 (2 methods) – Absolute.
Using Microsoft Excel Built-in Functions and Matrix Operations.
Simple & Multiple Regression 1: Simple Regression - Prediction models 1.
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
ME 142 Engineering Computation I Matrix Operations in Excel.
AGB 260: Agribusiness Information Technology Importing Data, Managing and Transforming Data, Data Validation, and Handling Errors.
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
1 CHEM-E7130 Process Modeling Exercise Matrices. 2 Matrices in case math basic course learnings have been lost... Matrices are ”table of numbers” with.
Section 1.7 Linear Independence and Nonsingular Matrices
2.5 – Determinants and Multiplicative Inverses of Matrices.
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
Matrix Algebra Basics Chapter 3 Section 5. Algebra.
AGB 260: Agribusiness Information Technology Business Modeling and Analysis.
BUSINESS MATHEMATICS & STATISTICS.
AGB 260: Agribusiness Data Literacy
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
AGB 260: Agribusiness Data Literacy
Advanced Excel Topics – Arrays
AGB 260: Agribusiness Data Literacy
CGN 2420 Matrix Operations in Excel
Macros Data Tables Arrays
Chapter 7 Matrix Mathematics
Matrices and Matrix Solutions
Solving For “Y” 1. Circle Y 2. What is the inverse operation of X
BUSINESS MATHEMATICS & STATISTICS.
The Inverse of a Square Matrix
حــزمة ادوات التحليل Analysis ToolPak
Chapter 4 Systems of Linear Equations; Matrices
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Method 1: Substitution methods
Matrices.
Calculating the Least Squares Regression Line
BUSINESS MATHEMATICS & STATISTICS.
Matlab Training Session 2: Matrix Operations and Relational Operators
Chapter 4 Systems of Linear Equations; Matrices
Matrices.
Calculating the Least Squares Regression Line
Presentation transcript:

AGB 260: Agribusiness Data Literacy Arrays and Array Formulas

Useful Chapters in the Textbook Regarding this Lecture

Arrays An array is a collection of items which can easily be represented as cells in Excel spreadsheet. Arrays in Excel can be one or two dimensional which correspond to the rows and columns of the worksheet. A one dimensional array can either be one column or one row.

Arrays Cont. A two dimensional array must have both rows and columns. An example of a one dimensional row array: {1,2,3,4,5} Put this in a cell with an equal sign at the beginning, highlight 5 cells in a single row, press F2 and then CTRL-Shift-Enter

Arrays Cont. An example of a one dimensional column array: {1;2;3;4;5} An example of a 3x2 two dimensional array: {1,2;3,4;5,6}

Single-Cell Array Formulas These formulas give a result in one cell, e.g., ={Sum(A1:A4*B1:B4)}. When entering an array formula, you must activate the cell and press Ctrl+Shift+Enter

Single-Cell Array Formulas Cont. Suppose you have the names Bob, Sean, and Stuart in cells A1:A3 If we want to calculate the average length of individuals’ names, we can do it in a single formula using the idea of an array =AVERAGE(LEN(A1:A3))

Multi-Cell Array Formulas These formulas give a result that spans multiple cells. In these formulas, you need to select the cells for where the results will be and press F2 to select the cells.

Transposing an Array A useful array formula is the Transpose function. This function will take a column array and make it a row array, a row array into a column array, and it will transpose a matrix array.

Frequency Function The frequency() function calculates the number of times a value occurs in an array, i.e., it helps you create a histogram. It has two main arguments: The data_array argument is the array of values your interested in The Bins_array is the array that has the numbers to be tallied.

Linest Function The Linest() function returns the results of doing a linear regression on a column array of known Y’s regressed against an array of known X’s. Linear regression is based on the concept Y = mx + b

Linest Function Cont. There are four arguments to the function: Known_y’s – this is the set of numbers for the dependent variable Known_x’s – this is the set of numbers for the independent variable(s) Const – If you set this to True, it will estimate a nonzero intercept b; false implies set b to zero Stats – True gives you a set of regression statistics, while false returns no statistics

Matrix Functions Excel has three useful matrix functions: Mmult() which does matrix multiplication of two arrays Mdeterm() which gives you the determinant of a square matrix Minverse() which gives the inverse of a square matrix

Matrix Functions Cont. The functions can be useful when doing matrix algebra, i.e., solving a set of linear equations, but they can have rounding issues For example: x+y= 80 x-y=20