Explain the concepts for data modelling

Assignment Help PL-SQL Programming
Reference no: EM132536205 , Length: 4 pages

ISYS1055 Database Concepts - RMIT University

Overview

Database systems are a key technology for the storage, management, manipulation, and retrieval of structured data. In this assignment you will apply the skills and concepts that you have learned about database systems in the course so far to analyse data, and then write a report based on your findings.

Learning Outcome 1: Describe various data modelling and database system technologies.
Learning Outcome 2: Explain the main concepts for data modelling and characteristics of database systems.
Learning Outcome 3: Identify issues with and compare, justify relational database design using the functional dependency concepts.
Learning Outcome 4: Apply SQL as a programming language to define database schemas and update database contents.
Learning Outcome 5: Apply SQL as a programming language to extract data from databases for specific users' information needs

Assignment Overview

For this assignment, you will be applying your SQL skills to analyse research data, and write a report that details your investigations into the question of whether particular variables such as class size and the perceived attractiveness of teaching staff influence course evaluations.

As part of this assignment, you are likely to need to carry out some research and refer to additional information beyond what was covered in the course. This is an important skill. Keep a note of any external references that you use, as these will need to be detailed in your report.

Analysing Variables That Influence University Course Evaluations

At most universities, teaching is evaluated through a process whereby students complete course experience surveys, rating courses in response to questions regarding the content, clarity of material, presentation, and other factors. These questions are typically distilled into a single score that is supposed to reflect overall teaching quality. In most Australian universities including RMIT, this is the Good Teaching Score (or GTS).

Prior research has indicated that many factors can influence student feedback, and these may include things that are directly asked as part of the surveys (Were the teaching staff good at explaining things? Did the staff work hard to make the course interesting?) and other factors that are not explicitly asked (Was the lecture room too crowded and noisy? Did an unexpected event occur part-way through the semester that required fundamental changes in teaching delivery? Are the teaching staff attractive?).

Daniel Hamermesh and Amy Parker, two researchers form the USA, collected data to investigate the question of whether teaching evaluations are influenced by the attractiveness of teaching staff [1]. In this assignment, you will be analysing their data to carry out a preliminary investigation into answering this question. The data was collected at the University of Texas at Austin, USA, and includes information about 455 courses, taught by teaching staff in various departments (note that some staff taught multiple courses included in the data set). Courses were of various sizes in terms of the number of enrolled students. Each course was evaluated using student surveys, with responses to the question "Overall, this course was...?" being collected on a 5-level ordinal scale with a minimum score of (1) "very unsatisfactory" and a maximum score of (5) "excellent".

Information was obtained on each faculty member, based on characteristics including their gender, whether they are on a tenure track (roughly speaking, working towards being offered a permanent position at their university), whether they are part of a minority group, and whether they received their education in an English-speaking country.

Separately, a picture of each teaching staff member was rated by 6 undergraduate students. Hamermesh and Parker describe the rating process as follows: "The raters were told to use a 1 (lowest) to 10 (highest) rating scale, to concentrate on the physiognomy of the instructor in the picture, to make their ratings independent of age, and to keep 5 in mind as an average" [1]. The ratings - subsequently referred to as "beauty" scores - were then normalised to have a mean score of zero. (This means that someone with a rating greater than zero was judged to be more "beautiful" than the average, while someone with a negative score was judged to be less "beautiful" than the average".)

Data File
The raw research data that you need to analyse is in the file profEvaluations.csv, available from the Course Canvas as part of the Assignment 3 specification.

The file is in comma-separated value or "CSV" format. This is a format for representing table data, where each row of the file corresponds to a single record (row, or tuple); and the individual data items (attributes/cells) are separated by the comma (",") symbol. The first row gives the column headings (schema). To explore the file, you can open it in a text editor, or in a spreadsheet program (e.g. MS Excel, Numbers).

Notice that each row of the original file corresponds to observations about a single course, and includes details such as number of students, and course evaluation score. It also includes information about the teaching staff member who taught the course, including a staffid, their age, and their educational background. Notice that a particular teaching staff member can teach more than one course - that is, their individual information may be repeated for each course that they teach.

The meaning of the variables is explained in the following table. Each variable can be for courses (C), or teaching staff (T), indicated in the third column.

Variable

Description

C/T

id

Course identifier. Each row gives the data for a particular

course instance.

C

staffid

Identifier for a particular member of teaching staff. One staff

member can teach multiple courses in the dataset.

T

age

The age of the staff member.

T

gender

Gander of staff member: female (f), male (m).

T

tenuretrack

Whether the staff member is on the tenure track (working

towards a permanent position): yes (1), no (0).

T

nonenglish

Did the staff member complete their undergraduate

education in a non-English speaking country: yes (1), no (0).

T

beauty

Rating of the staff member's appearance in a photo, averaged

across responses by 6 undergraduate students, and normalised to have a mean score of zero.

T

students

Total number of students in course

C

division

Is the course lower or upper division: lower (L) [usually first- or second-year courses], upper (U) [usually third- or fourth-

year courses].

C

courseevaluation

Mean student course evaluation score on a scale from 1

(lowest) to 5 (highest).

C

Note: The data you will be using is a subset of the original data collected by Hamermesh and Parker. Therefore, your results will not be identical to those reported in their paper. The identifier variables (id and staffid) are not necessarily a contiguous sequence. We thank Daniel Hamermesh for supplying the original data.

Data Preparation
Your first task is to load the raw CSV data into the Oracle database, so that you can analyse it.
• You need to design the relation schemas for two appropriate tables (to reflect that the data is at two levels of granularity). Note that there is data redundancy in the provided (starting) CSV data file.
• You can use the "import data" function from SQL Developer to import data from .CSV files to tables.

Analysis
Now that the data is loaded into a database, you can begin to analyse it. The broad goal is to investigate the effect that different variables such as age, gender, and beauty, have on course evaluation scores.

In the following subsections, you will be asked to carry out numerical analysis of a particular variable or variables. For each, you should format your numerical results and present them in a table in your report. You should also briefly comment on your findings, explaining what the numbers show about the variable(s) in question. This commentary should be brief, one or two sentences at most for each specific analysis below.

For each analysis, you should consider carefully whether it is at the course level, or at the teaching staff level. If the analysis is at the teaching staff level, each data point for a staff member may only be included once. If the analysis is at the course level, data points must be included for each course; this also applies if the analysis uses both course and teaching staff variables (unless noted otherwise below).

Note that the table layouts as shown in the following subsections indicate the formatting that should be used in your report document for presentation. You should write SQL queries to obtain data to complete the tables. Your queries do not need to generate tables in the exact format given, and you may sometimes need to write several SQL queries to complete one analysis table.

Course Sizes - Number of Students
Calculate the minimum, mean and maximum number of students in a course. Present the results in your report, in a table similar to the following:

 

Minimum

Mean

Maximum

Number of students

 

 

 

Course Sizes - Course Evaluation Score

Analyse the minimum, mean, and maximum course evaluation score for groups of courses, binned into size groups of 18 or less, 19-28, 29-60, 61 or more. (For example, a course size group of 19-28 includes all those courses that had from 19-28 students enrolled, inclusive).

Course size

18 or less

19-28

29-60

61 or more

Number of courses in

group

 

 

 

 

Minimum course

evaluation score

 

 

 

 

Mean course

evaluation score

 

 

 

 

Maximum course

evaluation score

 

 

 

 

Division
Analyse minimum, mean, and maximum course evaluation score by division (course level).

 

No. courses in group

Minimum

Mean

Maximum

Upper division

 

 

 

 

Lower division

 

 

 

 

Gender - Course Evaluation Score
Analyse minimum, mean and maximum course evaluation score by gender.

 

No. courses in

group

Minimum

Mean

Maximum

Female

 

 

 

 

Male

 

 

 

 

Gender - Beauty
Analyse minimum, mean and maximum beauty by gender.

 

No. academics in

group

Minimum

Mean

Maximum

Female

 

 

 

 

Male

 

 

 

 

Tenure track
Analyse minimum, mean and maximum course evaluation by tenure track status.

 

No. academics in

group

Minimum

Mean

Maximum

Tenure track

 

 

 

 

Not tenure track

 

 

 

 

Education Background
Analyse minimum, mean and maximum course evaluation by education background.

 

No. academics in

group

Minimum

Mean

Maximum

English education

 

 

 

 

Non-English education

 

 

 

 

Interactions between Tenure Track, Gender and Education Background

Analyse course evaluation by gender, tenure track, and education background. Present the results in your report, in a table similar to the following:

Tenure track

Gender

Education

No. academics in

group

Mean

Tenure track

Female

English

 

 

Tenure track

Female

Non-English

 

 

Tenure track

Male

English

 

 

Tenure track

Male

Non-English

 

 

Not tenure track

Female

English

 

 

Not tenure track

Female

Non-English

 

 

Not tenure track

Male

English

 

 

Not tenure track

Male

Non-English

 

 

Correlation Analysis
Age, course size, beauty and course evaluation score are variables that take on many different values (continuous), rather than defining groups (categorical). Therefore, it is useful to analyse the correlation between these variables. Correlation is a measure of association and gives a numerical value to quantify the degree of relationship between two variables. Here, you should use the Spearman rank correlation, which compares the rank ordering of two variables and the extent to which these agree.

Oracle has a built-in Spearman rank correlation aggregate function, CORR_S (Important: NOT the CORR_K function, or the CORR function):

There are two return values of interest that you need to consider from the CORR_S function:
• COEFFICIENT
• TWO_SIDED_SIG

Broadly speaking, COEFFICIENT measures the strength of the association between two variables, in a range from +1 to -1:
• A high positive value indicates that the observations for both variables have a similar rank (i.e. when one variable is high, the other also tends to be high)
• A high negative value indicates that the observations for both variables have an inverse rank (i.e. when one variable is high, the other tends to be low)
• A value close to zero indicates that there is not a strong relationship (i.e. when one variable is high, that doesn't tell us much about the other variable)

TWO_SIDED_SIG is a value returned by a statistical significance test that seeks to establish how confident we can be that our observed correlation coefficient value is different from zero (indicating no correlation, or no relationship between the variables). In other words, based on our data, does it seem reasonable to infer that the correlation coefficient value is showing an actual relationship, beyond random variation or noise in the data?
• As a broad rule of thumb, if this value is smaller than 0.05, you can conclude with some confidence that the relationship indicated by the Spearman rank correlation coefficient is not just due to chance.

Returning to the data of interest, calculate the Spearman rank correlation between the four pairs of variables, as follows:
• Course evaluation score and course size
• Staff age and beauty
• Staff age and mean course evaluation score
• Staff beauty and mean course evaluation score

Note that the first analysis is at the course level, whereas the remaining three should be carried out at the staff level. In particular, this means that for the third and fourth correlations, you should first calculate the mean course evaluation scores for each staff member, by aggregating the course level data. (Hint: you can create Views to complete analysis in several steps if needed.) Report your analysis results in a table similar to the following:

Variables

Correlation Coefficient

Two-sided Significance

Course evaluation score & course size

 

 

Staff age & beauty

 

 

Staff age and mean course evaluation

score

 

 

Staff beauty and mean course

evaluation score

 

 

Report

Report Structure
You should aim to make your report as clear and readable as possible. This involves using clear language that is easy to follow and understand. Your argument should be structured to effectively convey your message.
Include sufficient detail, but avoid adding irrelevant material.

Your report must include the following headings and sub-headings. Details of mark allocation are described in the marking rubric document.
• Data Preparation
o A brief opening paragraph that describes the analysis to be undertaken (what is the high-level question being studied?).
o Give the relation schemas (table definitions) with primary keys and any foreign keys annotated, and the sizes of tables.
o Description of the steps for importing data from the .CSV data file into tables in SQL Developer.
o You must submit all your SQL CREATE TABLE statements as an appendix.

• Analysis
o Include a sub-heading corresponding to each of the previously listed analysis sub-sections.
o For each, include your numerical results, following the given table layouts and a brief (1 to 2 sentences maximum) explanation of what the numbers show about the variable(s) being analysed
o You must submit all your SQL queries, including the queries you used to carry out your analysis and obtain your reported results in the appendix.
• Discussion and Conclusions
o Write a paragraph that brings together your overall findings.
o Write a paragraph that briefly mentions any limitations of the analysis

Attachment:- Database Concepts.rar

Reference no: EM132536205

Questions Cloud

Compute the contribution-margin ratio for the touring model : Compute the contribution-margin ratio for the touring model. (Round your final answer to 2 decimal places (i.e. .2457 as .25)).
Prenatal and postpartum scenario : Assume the role of a developmental psychologist that has been asked to provide advice to a 6-month pregnant woman and a postpartum woman.
What will be the company net income for the current year : Calculate Disk City's break-even point for the current year in number of video disks. (Round your final answer up to nearest whole number.)
Consult multiple concept : Consult Multiple Concept Example 10 in preparation for this problem. Traveling at a speed of 14.0 m/s, the driver of an automobile suddenly
Explain the concepts for data modelling : Describe various data modelling and database system technologies and Explain the main concepts for data modelling and characteristics
What is the expected tl : The TL of 10 mm thick sheet of plywood at 1000 Hz is 34 dB. Based on the Mass Law, what is the expected TL:
Company strategic planning : The Role of the Customer in the Company's Strategic Planning.
When it comes back to initial point it has velocity : When it comes back to initial point it has velocity 2.5 m/s. Find coefficient of friction between object and an incline.
Compute the firm break-even point in sales dollars : Compute the firm's break-even point in sales dollars for the coming year. (Do not round intermediate calculations. Round your final answer up)

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Write a select statement

Write a Select statement that determines whether the PaymentDate column of The Invoices table has any invalid values.

  Add a new parts record and delete an existing parts record

Add a new parts record, delete an existing parts record, and update an existing parts record.

  Sql statement which select names and owners of great danes

Write SQL statement which would select each of the following: names and owners of all Great Danes and all attributes of poodles whose balance is no greater than $50.

  Delete all takes tuples corresponding to any section of any

Delete all takes tuples corresponding to any section of any course with the word “database” as a part of the title; ignore case when matching the word with the title.

  Develop a logical database model for the company

Please use either Access notation (i.e., one-1, many-∞) or ER modeling notation (i.e., one- , many- )(see slide 3.28) to develop a logical database model for the company.

  Find the sum of the elements of a

A is an ArrayList of size N. The elements of A are integers, they are in sorted order increasing from the low end of the array, and no two integers are the same. Variable x is an integer. Which of the following operations takes time that is less t..

  Create and test a database in mysql using phpmyadmin

Create and test a database in MySQL using PhpMyAdmin. You are provided with a scenario and supporting documents, describing the requirements that Southern Cross

  Possible advantages of utilizing pl-sql

A good IT professional is able to be versatile in SQL programming styles. Identify at least two possible advantages of utilizing PL/SQL instead of standard SQL Syntax.

  Create a procedure that allows employee to update the status

Create a procedure named STATUS_SHIP_SP that allows a company to employee in the Shipping Department to update the status of an order to add shipping information

  Select statement to return one row

Write a SELECT statement that returns one row for each general ledger account number which contains three columns.

  Create a basic query that will extract information from book

Create a basic query that will extract the following information from the books, title id, title, publisher, pubdate, edition and cost. Order by publisher.

  Create a view named customer addresses

Create a view named CustomerAddresses that shows the shipping and billing

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd