AGB 260: Agribusiness Information Technology Arrays and Array Formulas.

Slides:



Advertisements
Similar presentations
Lecture 3: A brief background to multivariate statistics
Advertisements

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.
Review of Matrix Algebra
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
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
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.
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.
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
Algebra 2: Lesson 5 Using Matrices to Organize Data and Solve Problems.
ECON 1150 Matrix Operations Special Matrices
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Syntax MROUND(number,multiple) Number is the value to round. Multiple is the multiple to which you want to round number. Remark MROUND rounds up, away.
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.
AGB 260: AGRIBUSINESS INFORMATION TECHNOLOGY BASIC OPERATORS AND FUNCTIONS.
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
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
Using Microsoft Excel Built-in Functions and Matrix Operations.
AGB 260: AGRIBUSINESS INFORMATION TECHNOLOGY BASIC OPERATORS AND FUNCTIONS.
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.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
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.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
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.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
AGB 260: Agribusiness Information Technology Business Modeling and Analysis.
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
AGB 260: Agribusiness Data Literacy
Advanced Excel Topics – Arrays
AGB 260: Agribusiness Data Literacy
CGN 2420 Matrix Operations in Excel
Chapter 7 Matrix Mathematics
Matrices and Matrix Solutions
The Inverse of a Square Matrix
حــزمة ادوات التحليل Analysis ToolPak
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Method 1: Substitution methods
Matrices.
Calculating the Least Squares Regression Line
Calculating the Least Squares Regression Line
Presentation transcript:

AGB 260: Agribusiness Information Technology Arrays and Array Formulas

Useful Chapters in the Textbook Regarding this Lecture  Chapter 17  Chapter 18

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  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  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