Processing & Data Analysis Lecture PPTs Unit IV
Processing & Data Analysis Lecture PPTs Unit IV
Unit IV
Data
Data The word data is derived from Latin language. It is plural of Datum (But Data is usually used as a singular term.) Datum (singular) Data (plural). Data is any collection of facts of figures. The data is the raw material to be processed by a computer. Example Names of students, marks obtained in the examination, designation of employees, addresses, quantity, rate, sales figures or anything that is input to the computer is data. Even pictures, photographs, drawings, charts and maps can be treated as data. Computer processes the data and produces the output or result
Types of Data
Mainly Data is divided into two types: 1. Numeric Data 2. Character Data 1. Numeric Data The data which is represented in the form of numbers is known as Numeric Data. This includes 0-9 digits, a decimal point (.), +, /, sign and the letters E or D. 2. Character Data Character data falls into two groups. i. String Data ii. Graphical Data String Data String data consists of the sequence of characters. Characters may be English alphabets, numbers or space. The space, which separates two words, is also a character. The string data is further divided into two types. a. Alphabetic Data b. Alphanumeric Data Graphical Data It is possible that pictures, charts and maps can be treated as data. The scanner is normally used to enter this type of data. The common use of this data is found in the National Identity Card.
Information
A collection of data which conveys some meaningful idea is information. It may provide answers to questions like who, which, when, why, what, and how. or The raw input is data and it has no significance when it exists in that form. When data is collated or organized into something meaningful, it gains significance. This meaningful organization is information or Observations and recordings are done to obtain data, while analysis is done to obtain information
Data Processing
Data processing: Any operation or set of operations performed upon data, whether or not by automatic means, such as collection, recording, organization, storage, adaptation or alteration to convert it into useful information.
1. Input
It is the process through which collected data is transformed into a form that computer can understand. It is very important step because correct output result totally depends on the input data. In input step, following activities can be performed. i) Verification The collected data is verified to determine whether it is correct as required. For example, the collected data of all B.Sc. students that appeared in final examination of the university is verified. If errors occur in collected data, data is corrected or it is collected again. ii) Coding The verified data is coded or converted into machine readable form so that it can be processed through computer. iii) Storing The data is stored on the secondary storage into a file. The stored data on the storage media will be given to the program as input for processing.
3. Output
After completing the processing step, output is generated. The main purpose of data processing is to get the required result. Mostly, the output is stored on the storage media for later user. In output step, following activities can be performed. i) Retrieval Output stored on the storage media can be retrieved at any time. For example, result of students is prepared and stored on the disk. This result can be retrieved when required for different purposes. ii) Conversion The generated output can be converted into different forms. For example, it can be represented into graphical form. iii) Communication The generated output is sent to different places. For example, weather forecast is prepared and. sent to different agencies and newspapers etc. where it is required.
Hypothesis Testing
Hypothesis Testing
Decision-making process Statistics used as a tool to assist with decision-making Scientific hypothesis is a statement of the predicted relationship amongst the variables Null hypothesis is a statement of no relationship amongst the variables
Your research design determines the kind of statistical test you will use. Experimental studies test hypotheses while quasi-experimental studies tend to focus more on generating hypotheses.
Research Designs/Approaches
Type Purpose Time frame Degree of control
High
Examples
Experimental
Test for cause/ current effect relationships Test for cause/ Current or past effect relationships without full control
Quasiexperimental
Comparing two types of treatments for anxiety. Moderate Gender to high differences in visual/spatial abilities
Research Designs/Approaches
Type Purpose Time frame
Current (crosssectional) or past Past & current
Degree of control
Low to medium
Examples
Examine relationship between two variables Examine the effect of past event on current functioning.
Low to medium
Relationship between studying style and grade point average. Relationship between history of child abuse & depression.
Research Designs/Approaches
Type Purpose Time frame Degree of control
Low to moderate
Examples
Examine relat. Future betw. 2 var. predictive where 1 is measured later. Examine Future change in a var. over time in overlapping groups.
Low to moderate
Relat. betw. history of depression & development of cancer. How motherchild negativity changed over adolescence.
Research Designs/Approaches
Type Purpose Time frame
Current
Degree of control
None or low
Examples
Survey
Qualitative
Assess opinions or characteristics that exist at a given time. Discover potential relationships; descriptive.
Past or current
None or Low
Tests of Significance
The Question
Group Difference between means of 2 diff. groups Diff. betw. 2 means of related groups Diff. betw. means of 3 groups Group Relationships: betw. 2 variables Group Relationships: betw. 2 correlations
t-dependent
H0: g1 = g2 = g3 ANOVA
H0: xy = 0
H0: ab = cd
t-test for sig. Of correlation t-test for sig. Of diff. betw. 2 corr.
Experimental Designs
Examines differences between experimentally manipulated groups or variables (e.g., one group gets a certain drug and the other gets a placebo). At minimum, experimental (independent) variable has two levels (e.g., drug vs. placebo).
Advantage is that you can determine causality. Disadvantage is cost and many variables cannot
Null hypothesis
Results are due to chance H0
Null hypothesis
Results are due to chance (H0)
Assess
Assuming H0 is true, what is the probability or
Null hypothesis
Results are due to chance (H0)
Assess
Assuming H0 is true, what is the probability or
Decide
If the chance is small enough, reject H0 and infer
More than two groups or more then two levels of the independent variable
Two groups
Two-way ANOVA
Correlated t-tests
One-way ANOVA
Independent Samples
Fisher
test
exact
X2
Sign
test
Interval
Median
Independent Samples
X2
test one-
Friedman
Kruskal-Wallis
ANOVA
Repeated
way ANOVA
ANOVA
ANOVA
Correlation
Contingency
coefficient
Spearman
Correlation
Coefficient
Critical Values of T
Need to determine the p value for rejecting the null hypothesis (alpha) Need to determine if this is a 1-tailed or 2tailed level of significance.
T-Values
What is one of the major criticisms of employing statistical tests of the null hypothesis to determine if effects are true?
Does not take into account the size of the difference between means (effect size)
F-ratio = MSbet MSwithin Essentially is the between group variance divided by the within group variance. If the groups come from similar populations, the variances between the groups will be similar to the variance within groups (null hypothesis is not rejected).
ANOVA
is due to chance since if treatment effect was consistent, all subjects within a treatment group would experience similar magnitude of effect.
F-ratio = MSbet MSwithin The MS refers to the mean square and is the sums of squares divided by the appropriate degrees of freedom. Df for MSbet is the number of groups minus 1. Df for MSwithin is the total number of scores in the experiment minus the number of groups.
ANOVA
MSbet = treatment effect + chance variability MSwithin = chance variability
Two-Way ANOVA
Where you have 2 independent variables, each having at least 2 levels. For example,
Drug dose (none vs. 5 mg)
Factorial design so you can test both main effects and interaction effects
Where you have 2 independent variables, each having at least 2 levels. For example,
Drug dose (none vs. 5 mg) Delivery mood (intravenous vs. oral)
Factorial design so you can test both main effects and interaction effects (3-way interaction effects)
Null hypothesis can be rejected but not accepted Arguments made for allowing some flexibility in being able to conclude the null hypothesis is true;
No other studies of the phenomenon have
rejected the null hypothesis P value for the test of the null hypothesis is large (e.g., > .20 or .40). Research design is sufficiently powerful
External Validity
Chapter 14
Goal is to understand the underlying laws governing the behaviour of organisms. The extent to which the results of your study help inform one about these underlying laws, the more valuable the findings. Limits to the importance of the findings are the internal/external validity.
External Validity
Extent to which the results of the study can be generalized across different persons, settings, and times. Typically think of generalizing to specific populations (e.g., North American elementary school students) than world at large. Best safeguard is random selection but not usually feasible.
Population Validity
Generalizing to the defined population (i.e., target population) from which the sample was drawn. Sample is the experimentally accessible population.
Population Validity
Target Population
Sample
Population Validity
Even willingness to volunteer for studies have been shown to result in a selection by treatment interaction effect.
Ecological Validity
Extent to which the results can be generalized across settings or environmental conditions.
E.g., Would the treatment effect observed in
patients recruited from a 1st class medical centre be the same as the the treatment effect observed in patients recruited from a local community hospital?
Ecological Validity
Multiple-Treatment Interference
Sequencing effect whereby exposure to one
treatment influences responses to another treatment; or Exposure to one experiment influences response in another experiment (e.g., sophisticated participants).
Ecological Validity
Hawthorne Effect
Knowing one is in a study can affect ones
Ecological Validity
Experimenter Effect
Enthusiastic experimenter/clinician may get
different effects than a clinician who is implementing the treatment in routine care.
Pre-testing Effect
Administering a pre-test may sensitive the
participant in such a way that he/she may respond differently to the experiment than what would have occurred without a pre-test.
Temporal Validity
elapsed between presentation of the independent variable and the measurement of the dependent variable.
Temporal Validity
Seasonal Variation
Variation that appears regularly over time (e.g.,
change in traffic accident rates between daylight savings time and non-daylight savings time). Fixed-time variation variation at specific, predictable time points Variable-time variation dont know when variation will occur but when it occurs, there are predictable responses.
Temporal Validity
Cyclical Variation
Predictable variation within people or other
organisms
Personological Variation
Variation in the characteristics of the individual
over time
In testing for between group differences, you want to minimize within group variability and maximize between group differences To do so you want to ensure high control over factors that could confound the results but this often results in increasingly artificial experimental conditions.