Beruflich Dokumente
Kultur Dokumente
Research
Agenda
Validation
Data validation definitions & concepts
Data Validation in Excel
Research
Limitations
Validation
Checking the reasonableness of the data before it
is processed
GIGO: garbage in, garbage out.
Processing rubbish data gives rubbish information
◦ Eg: If all the foremen in the factory just made up the
numbers on the workers' time cards, working on the pay
cheques would be totally pointless
Validation is ensuring inputted data is of the
right type (e.g. numeric) and within
reasonable limits (e.g. ages between 1 and 130)
Databases and spreadsheets can have validation
rules built into data fields to reject impossible
entries
Validation can include
Existence:
is some essential data simply missing, such as a name?
Reasonableness: does it seem logical?
◦ Checking hours are within reasonable limits (e.g. anything over say 50
hours a week may be questioned)
Consistency: Checking for inconsistencies in surveys (e.g. a
person claims to be unemployed but earns $80,000 a year.) Some
surveys ask similar questions in different parts of the survey to
check whether people are lying when they answer.
Type check: e.g. have letters been entered instead of digits?
Format check: e.g. an ID must be three letters followed by 4
digits. Is date entered as dd/mm/yy?
Range check: is a date in August between 1 and 31?
◦ Sending data back to its source for confirmation before it is entered into a
system (e.g. people joining a club might be sent back the data they put on
their application forms: they have to confirm it is correct before the data is
entered into the club database)
Using a check digit to validate a credit card number
A set of rules you can apply to form fields to restrict the type of
information site visitors enter into forms
◦ For example, you can set rules so that only letters, and not numbers
Validation
is not the same as testing. Testing ensures
the output is accurate
Efficient processing
means manipulating data in a way that is
not wasting time, money or effort
◦ Database driven applications or even just a game screen for the settings
Manual validation
Note
◦ Using drop-down limited lists to prevent erroneous data entry is not really
a validation technique which checks for invalid data : it is a tool
to prevent invalid data being entered
◦ Do not use electronic validation for data that must be checked
with human judgment (e.g. people's surnames, dates of events). For that
you need manual validation...
Manual validation
Proof-reading a document to see if it makes sense
page/screen
valid or not
user to enter
More than one thing you can do, at the field level
by human interaction
information is needed
validation
Used in option screens or multiple data entry forms that all need
The user can go to any and all of these tabs, change the
values that are needed to be changed and the data gets saved
Different techniques
◦ Range Validation
◦ Lookup Validation
choices are A, B, C, D or E
mandatory
◦ Another example is say you have a field that expects a numeric entry.
◦ You could code to only accept numeric keys, the decimal point and the
Entering the expected data properly will help your application work
Effectively
Data Validation in Excel
RejectInvalid Dates
Budget Limit
Prevent Duplicate Entries
Product Codes
Drop-down List
Dependent Drop-down Lists
Basic Steps
To make sure that users enter certain
values into a cell
Data Validation Example
Create Data Validation Rule
Input Message
Error Alert
Data Validation Result
Select cell C2
Result
Reject Invalid Dates
Data validation to reject invalid
dates
On the Data tab, in the Data Tools
group, click Data Validation
Outside a Date Range
In the Allow list, click Date.
In the Data list, click between.
Enter the Start date and End date shown below and click
OK
Result. Excel shows an error alert. You cannot exceed your budget limit of $100.
Prevent Duplicate Entries
To prevent users from entering duplicate values
Select the range A2:A20
Result: Excel shows an error alert. You've already entered that invoice
number
Product Codes
To prevent users from entering
incorrect product codes
Select the range A2:A7
Enter an incorrect product code
You can also type the items directly into the text box, without using Sheet2. This gives the
exact same result.
Dependent Drop-down Lists
The user selects Pizza from a drop-down list
Benefits
◦ Reinforcing open scientific inquiry
Non-experimental Research
Experimental Research
Non-experimental Research
Non-manipulative, correlation or observational
research
Response variable
Outcome variable or criterion variable
Predict from one or more predictor variables
Focus of a study because it is mentioned in the statement of the research
problem
Predictor variable
Variable used to predict values of the response
Even believe that the predictor variable has a causal effect on the
response
Predictor variable is also known as the independent variable
Experimental Research
Three Major characteristics
◦ Subjects are randomly assigned to experimental conditions
◦ The researcher manipulates an independent predictor variable
◦ Subjects in different experimental conditions are treated similarly with
regard to all variables except the independent variable
Independent variable
Variable whose values (or levels) the experimenter selects to
determine what effect this independent variable has on the
dependent variable
Experimental counterpart to a predictor variable
Dependent variable
Subject’s behavior assessed to reflect the effects of the
independent variable
Experimental counterpart to a response variable
Limitation of Research
Some of the researchers can hide
the real information
A sample size cannot always
represent the whole population
Time and money was one of the
constraints while conducting the
research