The document discusses four data management techniques in SPSS:
1) Merge files allows combining two datasets together by either adding cases/rows or adding variables/columns. Variables must match in name, type, and other characteristics.
2) Sort cases arranges the data in ascending or descending order based on a selected variable for cleaning or merging.
3) Split file stratifies the data analysis based on values of a splitting variable to display results separately for each stratum.
4) Select cases filters the dataset to a subset that meets user-defined criteria or draws a simple random sample of a specified size.
From this power point you can get the details about Advanced Filter, Use of Macros with Advanced Filter, Data Validation, Creation of data validation Drop-Down List, Handling of External Data, Goal Seek, What-if analysis,
From this power point you can get the details about Advanced Filter, Use of Macros with Advanced Filter, Data Validation, Creation of data validation Drop-Down List, Handling of External Data, Goal Seek, What-if analysis,
MANAGEMENT OF DATABASE INFORMATION SYSTEM
Quering database
Queries are the fastest way to search for information in a database. A query is a database feature that enables the user to display records as well to perform calculations on fields from one or multiple tables.
You can analyze a table or tables by using:-
1. Select query or
2. An action query
Action query:-These are queries that are used to make changes in many records at once. They are mostly used to delete, update, add a group of records from one table to another, or create a new table from another table.
Types of action query in Microsoft Access are:-
1. Update-update data in a table.
2. Append query-add data in a table from one or more tables.
3. Make table Query-Creates a new table from a dynaset
4. Delete query-Delete specified records from one or more tables.
Select query
Is a type of query used for searching and analyzing data in one or more tables. It lets the user specify the search criteria and the records that meet those criteria displayed in a dynaset or analyzed depending on the user requirement.
Creating a selected query
1. Ensure that the database you want to create a query for is open
2. Click the query tab, then new
3. In the new query dialog box, choose either to create a query from in Designing view or using Wizard
4. To design from scratch, click design view. The show table dialo
1 Week 6 - What Well Be Working On This Week In th.docxdorishigh
1
Week 6 - What We'll Be Working On This Week
In this week's lessons we'll be looking at Select Queries in Access – creating them with the help
of the Wizard and from scratch in Design View, incorporating Sort conditions into queries, and
applying criteria as a means of filtering the data.
Queries can save you lots of time, and as a result there's a tremendous amount of information
that you need to be aware of.
Goals:
Using the Simple Query Wizard to Create a Select Query on the basis of a single table page 9
Resizing the areas of the Query Design window page 15
Basing a query on multiple related tables page 17
Adding, moving, and deleting fields on the QBE Design grid page 20
Sorting the dynaset (recordset) by a single field in Datasheet View page 25
Sorting the dynaset (recordset) by multiple fields in Datasheet View page 26
Specifying a Sort order in the QBE Design grid page 28
Hiding fields in the dynaset (recordset) page 31
Specifying different criteria page 33
Changing the dynaset (recordset) page 36
Adding a table to the Query Design window page 36
Using a query to find records with blank fields page 40
Using wild cards in criteria page 43
Creating a Select query without the wizard page 46
Converting filtered data in a table to a query page 49
So get comfortable, and let's get to it!
2
Overview of Queries
Queries are an essential tool in any database management system. A query is an Access object
that provides a custom view of data from one or more tables, or other queries. It is a set of
specifications that tells Access what information you want to see in the database, and how you
want that information to be organized. You can define queries to select, update, insert, or delete
data. You can also define queries that create new tables from data in one or more existing tables.
Up to now you have learned how to create tables, modify them, and link or import tables from
other data sources (Excel). When you define and run a select query, which selects information
from the tables and/or other queries in your database, Access creates a dynaset (recordset) of
the selected data. You can work with a dynaset (recordset) the same way that you work with a
table: you can browse through it, select information from it, print it and even update the data in it.
BUT unlike a real table, the recordset doesn't actually exist in your database. Access creates a
recordset from the data in the source tables of your query at the time you run the query. You will
see that queries are the best way to focus on the specific data you need for the task at hand.
To create a query, you must specify the following:
The record source
This refers to the object that contains the records that Access will use for the contents of the
query.
The fields to be included in the query
The fiel ...
Week 2 Project - STAT 3001Student Name Type your name here.docxcockekeshia
Week 2 Project - STAT 3001
Student Name: <Type your name here>
Date: <Enter the date on which you began working on this assignment.>
Instructions: To complete this project, you will need the following materials:
· STATDISK User Manual (found in the classroom in DocSharing)
· Access to the Internet to download the STATDISK program.
This assignment is worth a total of 60 points.
Part I. Histograms and Frequency Tables
Instructions
Answers
1. Open the file Diamonds using menu option Datasets and then Elementary Stats, 9th Edition. This file contains some information about diamonds. What are the names of the variables in this file?
2. Create a histogram for the depth of the diamonds using the Auto-fit option. Paste the chart here. Once your histogram displays, click Turn on Labels to get the height of the bars.
3. Using the information in the above histogram, complete this table. Be sure to include frequency, relative frequency, and cumulative frequency.
Depth
Frequency
Relative Frequency
Cumulative Frequency
57-58.9
59-60.9
61-62.9
63-64.9
a. Using the frequency table above, how many of the diamonds have a depth of 60.9 or less? How do you know?
b. Using the frequency table above, how many of the diamonds have a depth between 59 and 62.9? Show your work.
c. What percent of the diamonds have a depth of 61 or more?
Part II. Comparing Datasets
Instructions
Answers
1. Create a boxplot that compares the color and clarity of the diamonds. Paste it here.
2. Describe the similarities and differences in the data sets. Please be specific to the graph created.
Part III. Finding Descriptive Numbers
Instructions
Answers
3. Open the file named Stowaway (using Datasets and then Elementary Stats, 9th Edition). This gives information on the number of stowaways going west vs east.List all the variables in the dataset.
4. Find the Mean, median, and midrange for the Data in Column 1.
5. Find the Range, variance, and standard deviation for the first column.
6. List any values for the first column that you think may be outliers. Why do you think that?
[Hint: You may want to sort the data and look at the smallest and largest values.]
7. Find the Mean, median, and midrange for the data in Column 2.
8. Find the Range, variance, and standard deviation for the data in Column 2.
9. List any values for the second column that you think may be outliers. Why do you think that?
10. Find the five-number summary for the stowaways data in Columns 1 and 2. You will need to label each of the columns with an appropriate measure in the top row for clarity.
11. Compare number of stowaways going west and east using a boxplot of Columns 1 and 2. Paste your boxplot here
12. Create a histogram for the
Column 1 data and paste it here.
13. Create a histogram for the
Column 2 data and paste it here.
Part IV. Interpreting Statistical Information
The Stowaway data contains two columns, both of which are mea.
MANAGEMENT OF DATABASE INFORMATION SYSTEM
Quering database
Queries are the fastest way to search for information in a database. A query is a database feature that enables the user to display records as well to perform calculations on fields from one or multiple tables.
You can analyze a table or tables by using:-
1. Select query or
2. An action query
Action query:-These are queries that are used to make changes in many records at once. They are mostly used to delete, update, add a group of records from one table to another, or create a new table from another table.
Types of action query in Microsoft Access are:-
1. Update-update data in a table.
2. Append query-add data in a table from one or more tables.
3. Make table Query-Creates a new table from a dynaset
4. Delete query-Delete specified records from one or more tables.
Select query
Is a type of query used for searching and analyzing data in one or more tables. It lets the user specify the search criteria and the records that meet those criteria displayed in a dynaset or analyzed depending on the user requirement.
Creating a selected query
1. Ensure that the database you want to create a query for is open
2. Click the query tab, then new
3. In the new query dialog box, choose either to create a query from in Designing view or using Wizard
4. To design from scratch, click design view. The show table dialo
1 Week 6 - What Well Be Working On This Week In th.docxdorishigh
1
Week 6 - What We'll Be Working On This Week
In this week's lessons we'll be looking at Select Queries in Access – creating them with the help
of the Wizard and from scratch in Design View, incorporating Sort conditions into queries, and
applying criteria as a means of filtering the data.
Queries can save you lots of time, and as a result there's a tremendous amount of information
that you need to be aware of.
Goals:
Using the Simple Query Wizard to Create a Select Query on the basis of a single table page 9
Resizing the areas of the Query Design window page 15
Basing a query on multiple related tables page 17
Adding, moving, and deleting fields on the QBE Design grid page 20
Sorting the dynaset (recordset) by a single field in Datasheet View page 25
Sorting the dynaset (recordset) by multiple fields in Datasheet View page 26
Specifying a Sort order in the QBE Design grid page 28
Hiding fields in the dynaset (recordset) page 31
Specifying different criteria page 33
Changing the dynaset (recordset) page 36
Adding a table to the Query Design window page 36
Using a query to find records with blank fields page 40
Using wild cards in criteria page 43
Creating a Select query without the wizard page 46
Converting filtered data in a table to a query page 49
So get comfortable, and let's get to it!
2
Overview of Queries
Queries are an essential tool in any database management system. A query is an Access object
that provides a custom view of data from one or more tables, or other queries. It is a set of
specifications that tells Access what information you want to see in the database, and how you
want that information to be organized. You can define queries to select, update, insert, or delete
data. You can also define queries that create new tables from data in one or more existing tables.
Up to now you have learned how to create tables, modify them, and link or import tables from
other data sources (Excel). When you define and run a select query, which selects information
from the tables and/or other queries in your database, Access creates a dynaset (recordset) of
the selected data. You can work with a dynaset (recordset) the same way that you work with a
table: you can browse through it, select information from it, print it and even update the data in it.
BUT unlike a real table, the recordset doesn't actually exist in your database. Access creates a
recordset from the data in the source tables of your query at the time you run the query. You will
see that queries are the best way to focus on the specific data you need for the task at hand.
To create a query, you must specify the following:
The record source
This refers to the object that contains the records that Access will use for the contents of the
query.
The fields to be included in the query
The fiel ...
Week 2 Project - STAT 3001Student Name Type your name here.docxcockekeshia
Week 2 Project - STAT 3001
Student Name: <Type your name here>
Date: <Enter the date on which you began working on this assignment.>
Instructions: To complete this project, you will need the following materials:
· STATDISK User Manual (found in the classroom in DocSharing)
· Access to the Internet to download the STATDISK program.
This assignment is worth a total of 60 points.
Part I. Histograms and Frequency Tables
Instructions
Answers
1. Open the file Diamonds using menu option Datasets and then Elementary Stats, 9th Edition. This file contains some information about diamonds. What are the names of the variables in this file?
2. Create a histogram for the depth of the diamonds using the Auto-fit option. Paste the chart here. Once your histogram displays, click Turn on Labels to get the height of the bars.
3. Using the information in the above histogram, complete this table. Be sure to include frequency, relative frequency, and cumulative frequency.
Depth
Frequency
Relative Frequency
Cumulative Frequency
57-58.9
59-60.9
61-62.9
63-64.9
a. Using the frequency table above, how many of the diamonds have a depth of 60.9 or less? How do you know?
b. Using the frequency table above, how many of the diamonds have a depth between 59 and 62.9? Show your work.
c. What percent of the diamonds have a depth of 61 or more?
Part II. Comparing Datasets
Instructions
Answers
1. Create a boxplot that compares the color and clarity of the diamonds. Paste it here.
2. Describe the similarities and differences in the data sets. Please be specific to the graph created.
Part III. Finding Descriptive Numbers
Instructions
Answers
3. Open the file named Stowaway (using Datasets and then Elementary Stats, 9th Edition). This gives information on the number of stowaways going west vs east.List all the variables in the dataset.
4. Find the Mean, median, and midrange for the Data in Column 1.
5. Find the Range, variance, and standard deviation for the first column.
6. List any values for the first column that you think may be outliers. Why do you think that?
[Hint: You may want to sort the data and look at the smallest and largest values.]
7. Find the Mean, median, and midrange for the data in Column 2.
8. Find the Range, variance, and standard deviation for the data in Column 2.
9. List any values for the second column that you think may be outliers. Why do you think that?
10. Find the five-number summary for the stowaways data in Columns 1 and 2. You will need to label each of the columns with an appropriate measure in the top row for clarity.
11. Compare number of stowaways going west and east using a boxplot of Columns 1 and 2. Paste your boxplot here
12. Create a histogram for the
Column 1 data and paste it here.
13. Create a histogram for the
Column 2 data and paste it here.
Part IV. Interpreting Statistical Information
The Stowaway data contains two columns, both of which are mea.
Health Education on prevention of hypertensionRadhika kulvi
Hypertension is a chronic condition of concern due to its role in the causation of coronary heart diseases. Hypertension is a worldwide epidemic and important risk factor for coronary artery disease, stroke and renal diseases. Blood pressure is the force exerted by the blood against the walls of the blood vessels and is sufficient to maintain tissue perfusion during activity and rest. Hypertension is sustained elevation of BP. In adults, HTN exists when systolic blood pressure is equal to or greater than 140mmHg or diastolic BP is equal to or greater than 90mmHg. The
TOP AND BEST GLUTE BUILDER A 606 | Fitking FitnessFitking Fitness
"Feature:
• Intelligent Ergonomically Design Glute Builder Is A Must Have For Those Looking To Target Their Gluteal Muscles And Hamstrings With Precision.
• The Ability To Adjust The Starting Position, This Machine Allows For A More Targeted Workout That Is Tailored To Your Specific Needs.
• Spacious And Supportive Cushioned Seat Provide Added Comfort And Stability During Your Workout."
Get more information visit on:- www.fitking.in
Our mail I.D:-care@fitking.in, fitking.in@gmail.com
Call us at :- 9958880790, 9870336406, 8800695917
Letter to MREC - application to conduct studyAzreen Aj
Application to conduct study on research title 'Awareness and knowledge of oral cancer and precancer among dental outpatient in Klinik Pergigian Merlimau, Melaka'
Under Pressure : Kenneth Kruk's StrategyKenneth Kruk
Kenneth Kruk's story of transforming challenges into opportunities by leading successful medical record transitions and bridging scientific knowledge gaps during COVID-19.
Rate Controlled Drug Delivery Systems, Activation Modulated Drug Delivery Systems, Mechanically activated, pH activated, Enzyme activated, Osmotic activated Drug Delivery Systems, Feedback regulated Drug Delivery Systems systems are discussed here.
LGBTQ+ Adults: Unique Opportunities and Inclusive Approaches to CareVITASAuthor
This webinar helps clinicians understand the unique healthcare needs of the LGBTQ+ community, primarily in relation to end-of-life care. Topics include social and cultural background and challenges, healthcare disparities, advanced care planning, and strategies for reaching the community and improving quality of care.
1. Data menu
• Merge files
• Sort cases
• Split files
• Select cases
May 15, 2023 1
SPSS Data Management and Interpretations part-1
2. 1. Merge files
• Two data files can be merged (mixed) together.
May 15, 2023 2
• It is the process of combining the various versions of a file.
3. A. Merging to add cases (rows)
• Here two different data files will be merged
• To merge data the two files should have variables of the same
characteristics on:
• Name of variable
• Type of variable
• Width and decimals the variable has
• Usually such merging is possible if we use similar template
during data entry.
• If there is slight difference in characteristics of a variable then
merging for that variable will be difficult.
May 15, 2023 3
4. How to merge cases……
Steps
1. Open one of the two files (the file that you assume
will be the first file)
2. From the pull down menu click “Data” and go down to
select “Merge files”
3. From the “Merge files” select “add cases”
Data Merge files Add cases
May 15, 2023 4
6. • Select the data file you wanted through the Browser to merge and click
the Continue button.
Select
here
2nd Click here,
to select file
May 15, 2023 6
7. You will find two windows
1. Unpaired variables
• list of variables that are not matched thus could not be included in
the new file
• If there is slight difference in the characteristics of variables it will
be categorized to this window
* for variables that come from the opened file
+ for variables that come from the new file
May 15, 2023 7
9. 2. Variables in New Active Data Set:
• Variables in the new working file
• List of variables that could be merged to the file
• If all variables are found in this window, we could click “Ok” and we could have a
new file that needs saving, and we should save it for further analysis.
Con't …
May 15, 2023 9
11. B. Merging to add variables (columns)
• It is used when we want to add certain variables of a file from other
database.
• Usually useful in a place where there is database.
• It is also useful to take a variable from a master data.
• Here a variable having a common identity of cases is needed.
• One or more variables are added to each cases of the file.
May 15, 2023 11
12. Steps Data Merge files Add variables
1. Click browse, to select file
May 15, 2023 12
13. • A new dialogue box pops-up to browse and add file containing the variable that you
need to merge.
2. select “file name”,
then,
3. click “open”
4. click “continue”
5. click “OK”
May 15, 2023 13
Cont,…
14. You will find two windows
1. Excluded variables
• list of variables that would be excluded from the working file are included
• Variables found in common are also listed here, thus the common identity
also will be found here
* for variables that come from the opened file
+ for variables that come from the new file
2. Variables in the new working data file
• List of variables that would be found in the new file
• If all variables needed to the original file are included, process of merging will be
started.
May 15, 2023 14
15. 2. Sort
• Sorting is useful in cleaning data.
• When you sort ascending or descending, you can find ‘missing data’,
‘unknown (unexpected)’ data and ‘outliers’.
• If you find such cases, you can re-check with hard data for possible
correction.
• It is also useful during merging (especially when you are adding
variables).
May 15, 2023 15
• It is arranging data in an ordered sequence.
16. Two methods to sort data
A. Using menu bar
Data Sort cases
1st select the variable
3rd select ascending or descending sorting
2nd click
here to
pass into
sort by
May 15, 2023 16
17. B. Right clicking
• Open “data view” format of the SPSS.
• Go to the variable name and do a right
click.
• And select ascending or descending
sorting as you wish.
• The outcome is then displayed in the
Data editor, on “data view”.
May 15, 2023 17
18. 3. Split file
• It is used to do analysis by stratification
• Data is stratified by the variable selected for splitting.
• Outcome (result) of the planned analysis is displayed by stratification
(i.e. result for each value stratified is given separately)
• Eg: if data is split by sex, then any analysis done will be displayed for males and
for females
May 15, 2023 18
• It is a command for having separate output for subsets of cases.
19. Steps
1. From the menu bar click “Data” and go down to select “Split file”
Data Split file
May 15, 2023 19
20. 1st Select “Organize output by
groups” or “compare groups”
2nd Select the variable you wanted to split your
file
May 15, 2023 20
21. 3rd Click the arrow to pass
To “Groups based on:”
Finally, click Ok
• Then do any analysis you wanted to perform
May 15, 2023 21
• Notice: Do not forget to deactivate the split file option
if returning to the unsplit file is required.
22. 4. Select cases
• It is useful when you want to analyze data among certain category of a
variable (conditionally selected data).
• E.g.: You can analyze data only among female population.
• It can also be used to select study subjects from sample frame (Simple
random sampling).
• It can also used to select certain range of a population in sequence, etc
May 15, 2023 22
• It is a process of selecting a subgroup of cases based on criteria
23. Steps
I) Conditional selection
• From the menu bar click “Data” and go down to select “Select cases”
Data Select cases
May 15, 2023 23
24. 1st Select “If condition is satisfied”
2nd Click “if”
May 15, 2023 24
25. 3rd. 1st Select the variable
you wanted to select
4th. 2nd Click the arrow to
pass the variable”
Do the function you wanted to select
May 15, 2023 25
27. You can choose the
output option here
Finally, click “OK”
• Any analysis done will be on the selected category fulfilling the criteria of selection
May 15, 2023 27
• Notice: Do not forget to deactivate the select cases option if returning
to the all data set is required for the ’filter out selected cases’ output.
28. II) Simple random sample selection
• There is a need of a list of the population (Sampling frame)
• From the pull down menu click “Data” and go down to select
“Select cases”
Data Select cases
May 15, 2023 28
30. 1st Click “Exactly”
2nd write the desired sample size
3rd write the total population in the list
Finally, click continue
May 15, 2023 30
31. Output options
Finally, click “OK”
• List of the sample is finally created.
May 15, 2023 31
• Notice: Do not forget to deactivate the select cases option if returning
to the all data set is required for the ’filter out selected cases’ output.