Questions tagged [functional-dependencies]

A functional dependency is a constraint between two sets of attributes in a relation, in relational algebra, databases and type systems.

Functional dependencies (FD) are fundamental to the process of normalization.

Given a relation R, a set of attributes X in R is said to functionally determine a set of attributes Y, also in R, (written X → Y) if, and only if, whenever two tuples coincide on all attributes of X, they also coincide on all attributes of Y. Sound, complete and non-redundant axiomatisation of functional dependencies is given by Armstrong rules. Functional dependencies are also used in the Haskell programming language to describe relations between types, to support type level relational programming.

In other words, a dependency FD: X → Y means that the values of Y are determined by the values of X. Two tuples sharing the same values of X will necessarily have the same values of Y.

Enter image description here

544 questions
-3
votes
1 answer

Calculate phase lag index between two time series

I want to calculate phase lag index as defined in this paper using Matlab: http://kurage.nimh.nih.gov/tomh/PLI.pdf I have two equal-length time-series a and b. I am not sure how to do so. What I have done so far is: PLI = abs(mean(sign(phaseLag(a,…
Sida
  • 160
  • 8
-3
votes
1 answer

consider the following atttributes, which for clarity have been mapped to letter as

A - flight_date B - plane ticket price C - source_airport_country D - ticket holder names E - address F - source airport G - Pilot_name H - Pilot_grade I - Plane_id There is a functional dependency between the plane_id, the flight date and the…
-3
votes
2 answers

prime to prime transitivity in 3nf normal form

I am stuck in this question. What should be the answer to this: The relation scheme Student Performance (name, courseNo, rolINo, grade) has the following functional dependencies: name, courseNo, -> grade rolINo, courseNo -> grade …
-3
votes
1 answer

Find the functional dependencies and candidate key

In the relation X below P, Q, R, S, T and U are the attributes of the relation. Find the functional dependencies and candidate keys. Relation X +---+---+---+---+---+---+ | P | Q | R | S | T | U | +---+---+---+---+---+---+ | p | c | e | i | k | v…
1 2 3
36
37