Data Transformations COMPUTE and RECODE Commands.

Slides:



Advertisements
Similar presentations
TYPES OF DATA. Qualitative vs. Quantitative Data A qualitative variable is one in which the “true” or naturally occurring levels or categories taken by.
Advertisements

1 MATERI PENDUKUNG OPERATOR Matakuliah: M0074/PROGRAMMING II Tahun: 2005 Versi: 1/0.
 It is the numerical factor that contains a variable.  In other words, it is a number in a math sentence that has a letter right by it.
DEVELOPING A CODING SCHEME AND SETTING UP YOUR SPSS DATA FILE
Get out your notebooks! You will be able to multiply, divide, and simplify monomial expressions involving powers. You will be able to add, subtract, and.
Lesson 8-1 Multiplying Monomials. Mathematics Standards -Number, Number Sense and Operations: Explain the effects of operations such as multiplication.
Inverse Operations ExpressionInverse Operation How do you get the variable by itself? x + 5 x x x ÷ 20 x3x3.
Ch 1.3 – Order of Operations
Essential Question: Why is dividing the same as multiplying by the reciprocal of that number?
Properties of Exponents
Measurement Multiplying and Dividing Fractions.  We can add and subtract fractions with the same (common) denominator easily. Adding and Subtracting.
Write the following statement as a mathematical expression using parenthesis and brackets and then evaluate. 51. Multiply 5 by 3.From this product.
Notes October 8, 2012 Unit 3 Linear Expressions and Equations Expressions Linear Expressions and Equations.
Evaluating a Variable Expression To evaluate a variable expression:
Divide. Evaluate power – 3 = – 3 EXAMPLE – 3 = 3 2 – – 3 = 6 – 3 Multiply. Evaluate expressions Multiply and divide from.
Chapter 5.1 Exponent Properties #34 Mathematics is like love; a simple idea, but it can get complicated.” unknown.
PROPERTIES OF EXPONENTS

1-2 Order of Operations and Evaluating Expressions.
Significant Figure Rules RulesExamples The following are always significant Non zero digits Zeros between non zero digits Zero to the right of a non zero.
1.3 Solving Linear Equations
Writing Algebraic Expressions Mini Lesson. Objective: Write and evaluate an algebraic expression for a given situation, using up to three variables.
I’m Thinking of a Number
 Turn in pg 58  Signed Sheet  Quiz Friday, 2.1, 2.2, 2.4  Check Website if you are gone.
Equations Inequalities = > 3 5(8) - 4 Numerical
Simplifying Radical Expressions Objective: Add, subtract, multiply, divide, and simplify radical expressions.
* Collect the like terms 1. 2a = 2a x -2x + 9 = 6x z – – 5z = 2z - 6.
Notes 2.1 Order of Operations PEMDAS If an expression has only numbers and symbols, it is a numerical expression. If it has a variable it is a variable.
5.4 Elimination Using Multiplication Algebra 1 Objective: Each student will understand if addition and subtraction does not eliminate a variable – how.
1-2 Order of Operations Objective: Use the order of operations to evaluate expressions.
The Complex Number System. 1. Write each expression as a pure imaginary number. (similar to p.537 #26)
Monomials Chapter 5.1. Vocabulary Monomial: an expression that is a number, a variable, or the product of a number and one or more variables. – Can not.
Rational Expressions and Equations
Active Learning Lecture Slides
8 – Properties of Exponents No Calculator
Scientific Notation.
Solving Multi-Step Equations
So, to simplify an expression using order of operations, you should:
Multiply the following rational expressions. Show work!
Computing Transformations
Solving Linear Equations
Multiplying and Dividing Powers
Example 2 4 m 8 m 5m 12 m x y.
Solving Multi-Step Equations
Objective Solve equations in one variable that contain variable terms on both sides.
Solving Multi-Step Equations
Investigating associations between categorical variables
EQ: How do I solve an equation in one variable?
Divide the number in C by 10.
Solving Multi-Step Equations
THE COMPUTE STATEMENT Purpose: performs mathematical calculations
You replace it with its simplest name
Chapter 3: Lesson 3 Order of Operations
Making Equivalent Expressions By Combining Like Terms
Objective Solve equations in one variable that contain variable terms on both sides.
Solving Multi-Step Equations
Chapter 10 Review.
Section Solving Linear Systems Algebraically
Multiply and divide Expressions
7.4 Properties of Exponents
Solving Two Step Algebraic Equations
Warm-ups: Simplify the following
Solving Equations by 2-1 Adding or Subtracting Warm Up
Algebra with Whole Numbers
Like Terms.
Review of basic operations and vocabulary
Multiplying Up.
Evaluating Expressions
5.3 Multiplying Monomials
Python Creating a calculator.
Presentation transcript:

Data Transformations COMPUTE and RECODE Commands

We generally do data transformations when information is not collected in a format suitable for analysis using inferential statistics.

COMPUTE Use when you what to perform a mathematical operation on a continuous variable and assign the resulting value to a NEW continuous variable Add Subtract Multiply Divide Calculate a series of operations

COMPUTE

RECODE into the same variable Use when you want to change the VALUES of a categorical or continuous variable. For example, reverse code situations (i.e., change value “1” of variable QU2 into value “5” of variable QU2) IMPORTANT—Once values are changed, the change is PERMANENT. That is, the original values are lost.

RECODE into the same variable

RECODE into a different variable Use when you want to change the VALUES of a categorical or continuous variable and assign them to a NEW categorical or continuous variable. For example, collapse categories (i.e., change values “1-7” of variable QU2 into values “1-4” of variable NQU2)

RECODE into a different variable

RECODE a string variable to a numeric variable Use when you want to change categorical values expressed as WORDS into continuous values For example, changing “never” into “9.00” IMPORTANT—The word must be typed EXACTLY how it appears in the data editor

RECODE a string variable to a numeric variable

Tutorial Links COMPUTE RECODE into same variable RECODE into different variable RECODE string variable