SlideShare una empresa de Scribd logo
1 de 35
Computing Transformations Transforming variables Transformations for normality Transformations for linearity
Transformations: Transforming variables to satisfy assumptions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transformations change the measurement scale In the diagram to the right, the values of 5 through 20 are plotted on the different scales used in the transformations.  These scales would be used in plotting the horizontal axis of the histogram depicting the distribution.  When comparing values measured on the decimal scale to which we are accustomed, we see that each transformation changes the distance between the benchmark measurements. All of the transformations increase the distance between small values and decrease the distance between large values.  This has the effect of moving the positively skewed values to the left, reducing the effect of the skewing and producing a distribution that more closely resembles a normal distribution.
Transformations: Computing transformations in SPSS ,[object Object],[object Object]
Transformations: Two forms for computing transformations ,[object Object],[object Object],[object Object]
Transformations: Functions and formulas for transformations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transformations: Transformation of positively skewed variables ,[object Object],[object Object],[object Object]
Transformations: Example of positively skewed variable ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transformations: Transformation of negatively skewed variables ,[object Object],[object Object],[object Object]
Transformations: Example of negatively skewed variable ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transformations: The Square Transformation for Linearity ,[object Object],[object Object],[object Object]
Transformations: Example of the square transformation ,[object Object],[object Object],[object Object],[object Object]
Transformations: Transformations for normality Both the histogram and the normality plot for  Total Time Spent on the Internet  (netime) indicate that the variable is not normally distributed.
Transformations: Determine whether reflection is required Skewness, in the table of Descriptive Statistics, indicates whether or not reflection (reversing the values) is required in the transformation. If Skewness is positive, as it is in this problem, reflection is not required.  If Skewness is negative, reflection is required.
Transformations: Compute the adjustment to the argument In this problem, the minimum value is 0, so 1 will be added to each value in the formula, i.e. the argument to the SPSS functions and formula for the inverse will be:  netime + 1.
Transformations: Computing the logarithmic transformation To compute the transformation, select the  Compute … command from the  Transform  menu.
Transformations: Specifying the transform variable name and function First , in the  Target Variable  text box, type a name for the log transformation variable, e.g.  “lgnetime“.  Second , scroll down the list of functions to find LG10, which calculates logarithmic values use a base of 10.  (The logarithmic values are the power to which 10 is raised to produce the original number.) Third , click on the up arrow button to move the highlighted function to the Numeric Expression text box.
Transformations: Adding the variable name to the function First , scroll down the list of variables to locate the variable we want to transform.  Click on its name so that it is highlighted. Second , click on the right arrow button.  SPSS will replace the highlighted text in the function (?) with the name of the variable.
Transformations: Adding the constant to the function Following the rules stated for determining the constant that needs to be included in the function either to prevent mathematical errors, or to do reflection, we include the constant in the function argument.  In this case, we add 1 to the netime variable. Click on the OK button to complete the compute request.
Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
Transformations: Computing the square root transformation To compute the transformation, select the  Compute … command from the  Transform  menu.
Transformations: Specifying the transform variable name and function First , in the  Target Variable  text box, type a name for the square root transformation variable, e.g.  “sqnetime“.  Second , scroll down the list of functions to find SQRT, which calculates the square root of a variable.  Third , click on the up arrow button to move the highlighted function to the Numeric Expression text box.
Transformations: Adding the variable name to the function Second , click on the right arrow button.  SPSS will replace the highlighted text in the function (?) with the name of the variable. First , scroll down the list of variables to locate the variable we want to transform.  Click on its name so that it is highlighted.
Transformations: Adding the constant to the function Following the rules stated for determining the constant that needs to be included in the function either to prevent mathematical errors, or to do reflection, we include the constant in the function argument.  In this case, we add 1 to the netime variable. Click on the OK button to complete the compute request.
Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
Transformations: Computing the inverse transformation To compute the transformation, select the  Compute … command from the  Transform  menu.
Transformations: Specifying the transform variable name and formula First , in the  Target Variable  text box, type a name for the inverse transformation variable, e.g.  “innetime“.  Second , there is not a function for computing the inverse, so we type the formula directly into the  Numeric Expression  text box. Third , click on the  OK  button to complete the compute request.
Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
Transformations: Adjustment to the argument for the square transformation In this problem, the minimum value is 0, no adjustment is needed for computing the square.  If the minimum was a number less than zero, we would add the absolute value of the minimum (dropping the sign) as an adjustment to the variable. It is mathematically correct to square a value of zero, so the adjustment to the argument for the square transformation is different.  What we need to avoid are negative numbers, since the square of a negative number produces the same value as the square of a positive number.
Transformations: Computing the square transformation To compute the transformation, select the  Compute … command from the  Transform  menu.
Transformations: Specifying the transform variable name and formula First , in the  Target Variable  text box, type a name for the inverse transformation variable, e.g.  “s2netime“.  Second , there is not a function for computing the square, so we type the formula directly into the  Numeric Expression  text box. Third , click on the  OK  button to complete the compute request.
Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
Using the script to compute transformations When the script tests assumptions, it will create the transformations that are checked. If you want to retain the transformed variable to use in an analysis, clear the checkbox that tells the script to delete the transformed variables it created.
The transformed variables The transformed variables are added to the data editor. The variable names attempt to identify the transformation in the variable name. The variable labels fully identify the transformation, including the function and formula used to compute it.
Which transformation to use The recommendation of which transform to use is often summarized in a pictorial chart like the above.  In practice, it is difficult to determine which distribution is most like your variable. It is often more efficient to compute all transformations and examine the statistical properties of each.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (18)

Simple correlation
Simple correlationSimple correlation
Simple correlation
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Linear Correlation
Linear Correlation Linear Correlation
Linear Correlation
 
Covariance and correlation
Covariance and correlationCovariance and correlation
Covariance and correlation
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Linear regression
Linear regressionLinear regression
Linear regression
 
9. parametric regression
9. parametric regression9. parametric regression
9. parametric regression
 
Correlation
CorrelationCorrelation
Correlation
 
Topic 15 correlation spss
Topic 15 correlation spssTopic 15 correlation spss
Topic 15 correlation spss
 
R linear regression
R   linear regressionR   linear regression
R linear regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
S1 pb
S1 pbS1 pb
S1 pb
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation
CorrelationCorrelation
Correlation
 
Ch14 multiple regression
Ch14 multiple regressionCh14 multiple regression
Ch14 multiple regression
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
 

Destacado

Ted Open Translation Explained Chinese 20090517
Ted Open Translation Explained Chinese 20090517Ted Open Translation Explained Chinese 20090517
Ted Open Translation Explained Chinese 20090517TEDtoChina
 
Large renovations and what you need to know 2010
Large renovations and what you need to know 2010Large renovations and what you need to know 2010
Large renovations and what you need to know 2010Wo Built
 
Large Renovations And What You Need To Know
Large Renovations And What You Need To KnowLarge Renovations And What You Need To Know
Large Renovations And What You Need To KnowWo Built
 
Overview of the Implementing Innovation Course
Overview of the Implementing Innovation CourseOverview of the Implementing Innovation Course
Overview of the Implementing Innovation CourseBrad Power
 
Pc Ware Datasenter Løsninger 2009
Pc Ware   Datasenter Løsninger 2009Pc Ware   Datasenter Løsninger 2009
Pc Ware Datasenter Løsninger 2009siggen64
 
Delfinki Lato 2009
Delfinki Lato 2009Delfinki Lato 2009
Delfinki Lato 2009JacekKupras
 
Globeatnightpakiet
GlobeatnightpakietGlobeatnightpakiet
GlobeatnightpakietJacekKupras
 
Lawrence Wang: social media and TEDx
Lawrence Wang: social media and TEDxLawrence Wang: social media and TEDx
Lawrence Wang: social media and TEDxTEDtoChina
 
Redesign Brand Identity Of TEDtoChina
Redesign Brand Identity Of TEDtoChinaRedesign Brand Identity Of TEDtoChina
Redesign Brand Identity Of TEDtoChinaTEDtoChina
 
Obliterate your Customer Processes
Obliterate your Customer ProcessesObliterate your Customer Processes
Obliterate your Customer ProcessesBrad Power
 
McNessie Agile Delivery based supply chain
McNessie   Agile Delivery based supply chainMcNessie   Agile Delivery based supply chain
McNessie Agile Delivery based supply chainTheHolloway
 
Virtual Astronaut Muscleinonmuscles
Virtual Astronaut   MuscleinonmusclesVirtual Astronaut   Muscleinonmuscles
Virtual Astronaut MuscleinonmusclesJacekKupras
 
Informatyka: Gimnazjum i liceum.
Informatyka: Gimnazjum i liceum.Informatyka: Gimnazjum i liceum.
Informatyka: Gimnazjum i liceum.JacekKupras
 
I can haz ads: kitteh's guide tu fazebuk advertizing
I can haz ads: kitteh's guide tu fazebuk advertizingI can haz ads: kitteh's guide tu fazebuk advertizing
I can haz ads: kitteh's guide tu fazebuk advertizingJeff Ebbing
 
程乐华 心理学艺术化
程乐华 心理学艺术化程乐华 心理学艺术化
程乐华 心理学艺术化TEDtoChina
 

Destacado (20)

Ted Open Translation Explained Chinese 20090517
Ted Open Translation Explained Chinese 20090517Ted Open Translation Explained Chinese 20090517
Ted Open Translation Explained Chinese 20090517
 
Large renovations and what you need to know 2010
Large renovations and what you need to know 2010Large renovations and what you need to know 2010
Large renovations and what you need to know 2010
 
Large Renovations And What You Need To Know
Large Renovations And What You Need To KnowLarge Renovations And What You Need To Know
Large Renovations And What You Need To Know
 
Aviation Business 2.0
Aviation Business 2.0Aviation Business 2.0
Aviation Business 2.0
 
Most idola
Most idolaMost idola
Most idola
 
Overview of the Implementing Innovation Course
Overview of the Implementing Innovation CourseOverview of the Implementing Innovation Course
Overview of the Implementing Innovation Course
 
Atlantislaunch
AtlantislaunchAtlantislaunch
Atlantislaunch
 
Pc Ware Datasenter Løsninger 2009
Pc Ware   Datasenter Løsninger 2009Pc Ware   Datasenter Løsninger 2009
Pc Ware Datasenter Løsninger 2009
 
Wolce 2012 role
Wolce 2012 role Wolce 2012 role
Wolce 2012 role
 
Delfinki Lato 2009
Delfinki Lato 2009Delfinki Lato 2009
Delfinki Lato 2009
 
Globeatnightpakiet
GlobeatnightpakietGlobeatnightpakiet
Globeatnightpakiet
 
Lawrence Wang: social media and TEDx
Lawrence Wang: social media and TEDxLawrence Wang: social media and TEDx
Lawrence Wang: social media and TEDx
 
Redesign Brand Identity Of TEDtoChina
Redesign Brand Identity Of TEDtoChinaRedesign Brand Identity Of TEDtoChina
Redesign Brand Identity Of TEDtoChina
 
Obliterate your Customer Processes
Obliterate your Customer ProcessesObliterate your Customer Processes
Obliterate your Customer Processes
 
McNessie Agile Delivery based supply chain
McNessie   Agile Delivery based supply chainMcNessie   Agile Delivery based supply chain
McNessie Agile Delivery based supply chain
 
Virtual Astronaut Muscleinonmuscles
Virtual Astronaut   MuscleinonmusclesVirtual Astronaut   Muscleinonmuscles
Virtual Astronaut Muscleinonmuscles
 
Who am i?
Who am i?Who am i?
Who am i?
 
Informatyka: Gimnazjum i liceum.
Informatyka: Gimnazjum i liceum.Informatyka: Gimnazjum i liceum.
Informatyka: Gimnazjum i liceum.
 
I can haz ads: kitteh's guide tu fazebuk advertizing
I can haz ads: kitteh's guide tu fazebuk advertizingI can haz ads: kitteh's guide tu fazebuk advertizing
I can haz ads: kitteh's guide tu fazebuk advertizing
 
程乐华 心理学艺术化
程乐华 心理学艺术化程乐华 心理学艺术化
程乐华 心理学艺术化
 

Similar a Computingtransformations Spring2005

BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx
  BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx  BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx
BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docxShiraPrater50
 
Week 4 Lecture 12 Significance Earlier we discussed co.docx
Week 4 Lecture 12 Significance Earlier we discussed co.docxWeek 4 Lecture 12 Significance Earlier we discussed co.docx
Week 4 Lecture 12 Significance Earlier we discussed co.docxcockekeshia
 
Bootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslyBootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslykhaled125087
 
Machine learning session4(linear regression)
Machine learning   session4(linear regression)Machine learning   session4(linear regression)
Machine learning session4(linear regression)Abhimanyu Dwivedi
 
Predicting US house prices using Multiple Linear Regression in R
Predicting US house prices using Multiple Linear Regression in RPredicting US house prices using Multiple Linear Regression in R
Predicting US house prices using Multiple Linear Regression in RSotiris Baratsas
 
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docxFSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docxbudbarber38650
 
A Systematic Approach To Probabilistic Pointer Analysis
A Systematic Approach To Probabilistic Pointer AnalysisA Systematic Approach To Probabilistic Pointer Analysis
A Systematic Approach To Probabilistic Pointer AnalysisMonica Franklin
 
Machine learning
Machine learningMachine learning
Machine learningShreyas G S
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsDerek Kane
 
Computing transformations
Computing transformationsComputing transformations
Computing transformationsTarun Gehlot
 
Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregressionkongara
 
chapter 2 post optimality.pptx
chapter 2 post optimality.pptxchapter 2 post optimality.pptx
chapter 2 post optimality.pptxDejeneDay
 
Building a Regression Model using SPSS
Building a Regression Model using SPSSBuilding a Regression Model using SPSS
Building a Regression Model using SPSSZac Bodner
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex AlgorithmAizaz Ahmad
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! EdholeEdhole.com
 

Similar a Computingtransformations Spring2005 (20)

Transformation of variables
Transformation of variablesTransformation of variables
Transformation of variables
 
Data Transformation
Data TransformationData Transformation
Data Transformation
 
BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx
  BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx  BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx
BUS 308 Week 4 Lecture 3 Developing Relationships in Exc.docx
 
Week 4 Lecture 12 Significance Earlier we discussed co.docx
Week 4 Lecture 12 Significance Earlier we discussed co.docxWeek 4 Lecture 12 Significance Earlier we discussed co.docx
Week 4 Lecture 12 Significance Earlier we discussed co.docx
 
Bootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslyBootcamp of new world to taken seriously
Bootcamp of new world to taken seriously
 
Machine learning session4(linear regression)
Machine learning   session4(linear regression)Machine learning   session4(linear regression)
Machine learning session4(linear regression)
 
Predicting US house prices using Multiple Linear Regression in R
Predicting US house prices using Multiple Linear Regression in RPredicting US house prices using Multiple Linear Regression in R
Predicting US house prices using Multiple Linear Regression in R
 
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docxFSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
 
A Systematic Approach To Probabilistic Pointer Analysis
A Systematic Approach To Probabilistic Pointer AnalysisA Systematic Approach To Probabilistic Pointer Analysis
A Systematic Approach To Probabilistic Pointer Analysis
 
Assignment 01
Assignment 01Assignment 01
Assignment 01
 
Machine learning
Machine learningMachine learning
Machine learning
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
 
Computing transformations
Computing transformationsComputing transformations
Computing transformations
 
Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregression
 
chapter 2 post optimality.pptx
chapter 2 post optimality.pptxchapter 2 post optimality.pptx
chapter 2 post optimality.pptx
 
01 algebra
01 algebra01 algebra
01 algebra
 
working with python
working with pythonworking with python
working with python
 
Building a Regression Model using SPSS
Building a Regression Model using SPSSBuilding a Regression Model using SPSS
Building a Regression Model using SPSS
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
 

Más de 1Leu

Vointa.Activitate.Insincte
Vointa.Activitate.InsincteVointa.Activitate.Insincte
Vointa.Activitate.Insincte1Leu
 
Tulburari De Atentie Si Memorie
Tulburari De Atentie Si MemorieTulburari De Atentie Si Memorie
Tulburari De Atentie Si Memorie1Leu
 
Tulburari Ale Somnului
Tulburari Ale SomnuluiTulburari Ale Somnului
Tulburari Ale Somnului1Leu
 
Tulburarea Bipolara
Tulburarea BipolaraTulburarea Bipolara
Tulburarea Bipolara1Leu
 
Sindromul Alcoolismului Fetal
Sindromul Alcoolismului FetalSindromul Alcoolismului Fetal
Sindromul Alcoolismului Fetal1Leu
 
Sindromul Prader Willi
Sindromul Prader WilliSindromul Prader Willi
Sindromul Prader Willi1Leu
 
Sindromul X Fragil
Sindromul X FragilSindromul X Fragil
Sindromul X Fragil1Leu
 
Sindromul Down
Sindromul DownSindromul Down
Sindromul Down1Leu
 
Reprezentarile Sociale
Reprezentarile SocialeReprezentarile Sociale
Reprezentarile Sociale1Leu
 
Psihologia Si Stiintele Cognitive
Psihologia Si Stiintele CognitivePsihologia Si Stiintele Cognitive
Psihologia Si Stiintele Cognitive1Leu
 
Persoana Cu Deficienta Usoara Si Moderata Caracteristici
Persoana Cu Deficienta Usoara Si Moderata   CaracteristiciPersoana Cu Deficienta Usoara Si Moderata   Caracteristici
Persoana Cu Deficienta Usoara Si Moderata Caracteristici1Leu
 
Prezentare Protocol Adhd
Prezentare Protocol AdhdPrezentare Protocol Adhd
Prezentare Protocol Adhd1Leu
 
Nativism
NativismNativism
Nativism1Leu
 
Metode De Cercetare îN Psihologia Socială
Metode De Cercetare îN Psihologia SocialăMetode De Cercetare îN Psihologia Socială
Metode De Cercetare îN Psihologia Socială1Leu
 
Leadership
LeadershipLeadership
Leadership1Leu
 
îNvăţArea
îNvăţAreaîNvăţArea
îNvăţArea1Leu
 
Istorie Neurostiinte
Istorie NeurostiinteIstorie Neurostiinte
Istorie Neurostiinte1Leu
 
Istoricul Psihologiei Sociale
Istoricul Psihologiei SocialeIstoricul Psihologiei Sociale
Istoricul Psihologiei Sociale1Leu
 
Introducere îN Psihologia EvoluţIonistă 2
Introducere îN Psihologia EvoluţIonistă 2Introducere îN Psihologia EvoluţIonistă 2
Introducere îN Psihologia EvoluţIonistă 21Leu
 
Introducere îN Psihologia EvoluţIonistă 1
Introducere îN Psihologia EvoluţIonistă 1Introducere îN Psihologia EvoluţIonistă 1
Introducere îN Psihologia EvoluţIonistă 11Leu
 

Más de 1Leu (20)

Vointa.Activitate.Insincte
Vointa.Activitate.InsincteVointa.Activitate.Insincte
Vointa.Activitate.Insincte
 
Tulburari De Atentie Si Memorie
Tulburari De Atentie Si MemorieTulburari De Atentie Si Memorie
Tulburari De Atentie Si Memorie
 
Tulburari Ale Somnului
Tulburari Ale SomnuluiTulburari Ale Somnului
Tulburari Ale Somnului
 
Tulburarea Bipolara
Tulburarea BipolaraTulburarea Bipolara
Tulburarea Bipolara
 
Sindromul Alcoolismului Fetal
Sindromul Alcoolismului FetalSindromul Alcoolismului Fetal
Sindromul Alcoolismului Fetal
 
Sindromul Prader Willi
Sindromul Prader WilliSindromul Prader Willi
Sindromul Prader Willi
 
Sindromul X Fragil
Sindromul X FragilSindromul X Fragil
Sindromul X Fragil
 
Sindromul Down
Sindromul DownSindromul Down
Sindromul Down
 
Reprezentarile Sociale
Reprezentarile SocialeReprezentarile Sociale
Reprezentarile Sociale
 
Psihologia Si Stiintele Cognitive
Psihologia Si Stiintele CognitivePsihologia Si Stiintele Cognitive
Psihologia Si Stiintele Cognitive
 
Persoana Cu Deficienta Usoara Si Moderata Caracteristici
Persoana Cu Deficienta Usoara Si Moderata   CaracteristiciPersoana Cu Deficienta Usoara Si Moderata   Caracteristici
Persoana Cu Deficienta Usoara Si Moderata Caracteristici
 
Prezentare Protocol Adhd
Prezentare Protocol AdhdPrezentare Protocol Adhd
Prezentare Protocol Adhd
 
Nativism
NativismNativism
Nativism
 
Metode De Cercetare îN Psihologia Socială
Metode De Cercetare îN Psihologia SocialăMetode De Cercetare îN Psihologia Socială
Metode De Cercetare îN Psihologia Socială
 
Leadership
LeadershipLeadership
Leadership
 
îNvăţArea
îNvăţAreaîNvăţArea
îNvăţArea
 
Istorie Neurostiinte
Istorie NeurostiinteIstorie Neurostiinte
Istorie Neurostiinte
 
Istoricul Psihologiei Sociale
Istoricul Psihologiei SocialeIstoricul Psihologiei Sociale
Istoricul Psihologiei Sociale
 
Introducere îN Psihologia EvoluţIonistă 2
Introducere îN Psihologia EvoluţIonistă 2Introducere îN Psihologia EvoluţIonistă 2
Introducere îN Psihologia EvoluţIonistă 2
 
Introducere îN Psihologia EvoluţIonistă 1
Introducere îN Psihologia EvoluţIonistă 1Introducere îN Psihologia EvoluţIonistă 1
Introducere îN Psihologia EvoluţIonistă 1
 

Último

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Computingtransformations Spring2005

  • 1. Computing Transformations Transforming variables Transformations for normality Transformations for linearity
  • 2.
  • 3. Transformations change the measurement scale In the diagram to the right, the values of 5 through 20 are plotted on the different scales used in the transformations. These scales would be used in plotting the horizontal axis of the histogram depicting the distribution. When comparing values measured on the decimal scale to which we are accustomed, we see that each transformation changes the distance between the benchmark measurements. All of the transformations increase the distance between small values and decrease the distance between large values. This has the effect of moving the positively skewed values to the left, reducing the effect of the skewing and producing a distribution that more closely resembles a normal distribution.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. Transformations: Transformations for normality Both the histogram and the normality plot for Total Time Spent on the Internet (netime) indicate that the variable is not normally distributed.
  • 14. Transformations: Determine whether reflection is required Skewness, in the table of Descriptive Statistics, indicates whether or not reflection (reversing the values) is required in the transformation. If Skewness is positive, as it is in this problem, reflection is not required. If Skewness is negative, reflection is required.
  • 15. Transformations: Compute the adjustment to the argument In this problem, the minimum value is 0, so 1 will be added to each value in the formula, i.e. the argument to the SPSS functions and formula for the inverse will be: netime + 1.
  • 16. Transformations: Computing the logarithmic transformation To compute the transformation, select the Compute … command from the Transform menu.
  • 17. Transformations: Specifying the transform variable name and function First , in the Target Variable text box, type a name for the log transformation variable, e.g. “lgnetime“. Second , scroll down the list of functions to find LG10, which calculates logarithmic values use a base of 10. (The logarithmic values are the power to which 10 is raised to produce the original number.) Third , click on the up arrow button to move the highlighted function to the Numeric Expression text box.
  • 18. Transformations: Adding the variable name to the function First , scroll down the list of variables to locate the variable we want to transform. Click on its name so that it is highlighted. Second , click on the right arrow button. SPSS will replace the highlighted text in the function (?) with the name of the variable.
  • 19. Transformations: Adding the constant to the function Following the rules stated for determining the constant that needs to be included in the function either to prevent mathematical errors, or to do reflection, we include the constant in the function argument. In this case, we add 1 to the netime variable. Click on the OK button to complete the compute request.
  • 20. Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
  • 21. Transformations: Computing the square root transformation To compute the transformation, select the Compute … command from the Transform menu.
  • 22. Transformations: Specifying the transform variable name and function First , in the Target Variable text box, type a name for the square root transformation variable, e.g. “sqnetime“. Second , scroll down the list of functions to find SQRT, which calculates the square root of a variable. Third , click on the up arrow button to move the highlighted function to the Numeric Expression text box.
  • 23. Transformations: Adding the variable name to the function Second , click on the right arrow button. SPSS will replace the highlighted text in the function (?) with the name of the variable. First , scroll down the list of variables to locate the variable we want to transform. Click on its name so that it is highlighted.
  • 24. Transformations: Adding the constant to the function Following the rules stated for determining the constant that needs to be included in the function either to prevent mathematical errors, or to do reflection, we include the constant in the function argument. In this case, we add 1 to the netime variable. Click on the OK button to complete the compute request.
  • 25. Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
  • 26. Transformations: Computing the inverse transformation To compute the transformation, select the Compute … command from the Transform menu.
  • 27. Transformations: Specifying the transform variable name and formula First , in the Target Variable text box, type a name for the inverse transformation variable, e.g. “innetime“. Second , there is not a function for computing the inverse, so we type the formula directly into the Numeric Expression text box. Third , click on the OK button to complete the compute request.
  • 28. Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
  • 29. Transformations: Adjustment to the argument for the square transformation In this problem, the minimum value is 0, no adjustment is needed for computing the square. If the minimum was a number less than zero, we would add the absolute value of the minimum (dropping the sign) as an adjustment to the variable. It is mathematically correct to square a value of zero, so the adjustment to the argument for the square transformation is different. What we need to avoid are negative numbers, since the square of a negative number produces the same value as the square of a positive number.
  • 30. Transformations: Computing the square transformation To compute the transformation, select the Compute … command from the Transform menu.
  • 31. Transformations: Specifying the transform variable name and formula First , in the Target Variable text box, type a name for the inverse transformation variable, e.g. “s2netime“. Second , there is not a function for computing the square, so we type the formula directly into the Numeric Expression text box. Third , click on the OK button to complete the compute request.
  • 32. Transformations: The transformed variable The transformed variable which we requested SPSS compute is shown in the data editor in a column to the right of the other variables in the dataset.
  • 33. Using the script to compute transformations When the script tests assumptions, it will create the transformations that are checked. If you want to retain the transformed variable to use in an analysis, clear the checkbox that tells the script to delete the transformed variables it created.
  • 34. The transformed variables The transformed variables are added to the data editor. The variable names attempt to identify the transformation in the variable name. The variable labels fully identify the transformation, including the function and formula used to compute it.
  • 35. Which transformation to use The recommendation of which transform to use is often summarized in a pictorial chart like the above. In practice, it is difficult to determine which distribution is most like your variable. It is often more efficient to compute all transformations and examine the statistical properties of each.